File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,13 @@ contains the document that will be used as query
10
10
to match with the stored queries.
11
11
12
12
[discrete]
13
- === Sample Usage
13
+ === Sample usage
14
+
15
+ TIP: To provide a simple example, this documentation uses one index,
16
+ `my-index-000001`, for both the percolate queries and documents. This setup can
17
+ work well when there are just a few percolate queries registered. For heavier
18
+ usage, we recommend you store queries and documents in separate indices. For
19
+ more details, refer to <<how-it-works>>.
14
20
15
21
Create an index with two fields:
16
22
@@ -118,10 +124,6 @@ The above request will yield the following response:
118
124
<2> The `_percolator_document_slot` field indicates which document has matched with this query.
119
125
Useful when percolating multiple document simultaneously.
120
126
121
- TIP: To provide a simple example, this documentation uses one index `my-index-000001` for both the percolate queries and documents.
122
- This set-up can work well when there are just a few percolate queries registered. However, with heavier usage it is recommended
123
- to store queries and documents in separate indices. Please see <<how-it-works, How it Works Under the Hood>> for more details.
124
-
125
127
[discrete]
126
128
==== Parameters
127
129
You can’t perform that action at this time.
0 commit comments