Skip to content

Commit 72fd736

Browse files
committed
Added docs for optional arguments
1 parent 5120715 commit 72fd736

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/java-rest/high-level/search/multi-search-template.asciidoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ include-tagged::{doc-tests}/SearchDocumentationIT.java[multi-search-template-req
1919
would for a regular <<java-rest-high-search-template,`search template`>>.
2020
<3> Add the `SearchTemplateRequest` to the `MultiSearchTemplateRequest`.
2121

22+
===== Optional arguments
23+
24+
The multiSearchTemplate's `max_concurrent_searches` request parameter can be used to control
25+
the maximum number of concurrent searches the multi search api will execute.
26+
This default is based on the number of data nodes and the default search thread pool size.
27+
2228
[[java-rest-high-multi-search-template-sync]]
2329
==== Synchronous Execution
2430

0 commit comments

Comments
 (0)