Skip to content

Commit 36c8958

Browse files
Malte Schirnacherjpountz
Malte Schirnacher
authored andcommitted
Fix typos in percolate.asciidoc
Close #5762 #5763 #5764
1 parent 69e4666 commit 36c8958

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/reference/search/percolate.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ index and then via the percolate api you define documents in order to retrieve t
99

1010
The reason that queries can be stored comes from the fact that in Elasticsearch both documents and queries are defined in
1111
JSON. This allows you to embed queries into documents via the index api. Elasticsearch can extract the query from a
12-
document and make it available to the percolate api. Since documents are also defines as json, you can define a document
12+
document and make it available to the percolate api. Since documents are also defined as json, you can define a document
1313
in a request to the percolate api.
1414

1515
The percolator and most of its features work in realtime, so once a percolate query is indexed it can immediately be used
@@ -179,7 +179,7 @@ comma separated string, in that case the request can be be executed on more than
179179
* `preference` - Controls which shard replicas are preferred to execute the request on. Works the same as in the search api.
180180
* `ignore_unavailable` - Controls if missing concrete indices should silently be ignored. Same as is in the search api.
181181
* `percolate_format` - If `ids` is specified then the matches array in the percolate response will contain a string
182-
array of the matching ids instead of an array of objects. This can be useful the reduce the amount of data being send
182+
array of the matching ids instead of an array of objects. This can be useful to reduce the amount of data being send
183183
back to the client. Obviously if there are to percolator queries with same id from different indices there is no way
184184
the find out which percolator query belongs to what index. Any other value to `percolate_format` will be ignored.
185185

@@ -266,7 +266,7 @@ Response:
266266
=== Percolating an existing document
267267

268268
In order to percolate in newly indexed document, the percolate existing document can be used. Based on the response
269-
from an index request the `_id` and other meta information can be used to the immediately percolate the newly added
269+
from an index request the `_id` and other meta information can be used to immediately percolate the newly added
270270
document.
271271

272272
.Supported options for percolating an existing document on top of existing percolator options:

0 commit comments

Comments
 (0)