You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the above request no more than 10 matches will be returned. The count field will still return the total number of matches the document matched with.
The size option is not applicable for the count percolate api.
The text was updated successfully, but these errors were encountered:
…es being returned
The `size` option both applies for the percolate and the count percolate api. If `size` is used in the percolate count api, the percolate execution is short circuited if on the shard level enough matches have been found. This short circuit mechanism can also be used for the percolate api with the `short_circuit` option that is available only in the percolate api. The `short_circuit` options defaults to false.
By default all matching queries are returned / counted in both percolate apis, so this limiting isn't active
Closeselastic#3440
Add a
size
option to the percolate api in order to limit the number of matches being returned:In the above request no more than 10 matches will be returned. The
count
field will still return the total number of matches the document matched with.The
size
option is not applicable for the count percolate api.The text was updated successfully, but these errors were encountered: