|
@@ -242,7 +242,7 @@ sr = new SearchTemplateRequestBuilder(client)
|
|
|
.get() <5>
|
|
.get() <5>
|
|
|
.getResponse(); <6>
|
|
.getResponse(); <6>
|
|
|
--------------------------------------------------
|
|
--------------------------------------------------
|
|
|
-<1> template name
|
|
|
|
|
|
|
+<1> template's body
|
|
|
<2> template is passed inline
|
|
<2> template is passed inline
|
|
|
<3> parameters
|
|
<3> parameters
|
|
|
<4> set the execution context (ie. define the index name here)
|
|
<4> set the execution context (ie. define the index name here)
|