parent
818d8951b8
commit
d59ec89726
|
@ -13,7 +13,7 @@ of hits after a certain threshold.
|
||||||
|
|
||||||
When set to `true` the search response will always track the number of hits that
|
When set to `true` the search response will always track the number of hits that
|
||||||
match the query accurately (e.g. `total.relation` will always be equal to `"eq"`
|
match the query accurately (e.g. `total.relation` will always be equal to `"eq"`
|
||||||
when `track_total_hits is set to true). Otherwise the `"total.relation"` returned
|
when `track_total_hits` is set to true). Otherwise the `"total.relation"` returned
|
||||||
in the `"total"` object in the search response determines how the `"total.value"`
|
in the `"total"` object in the search response determines how the `"total.value"`
|
||||||
should be interpreted. A value of `"gte"` means that the `"total.value"` is a
|
should be interpreted. A value of `"gte"` means that the `"total.value"` is a
|
||||||
lower bound of the total hits that match the query and a value of `"eq"` indicates
|
lower bound of the total hits that match the query and a value of `"eq"` indicates
|
||||||
|
@ -178,4 +178,4 @@ GET twitter/_search
|
||||||
<1> The total number of hits is unknown.
|
<1> The total number of hits is unknown.
|
||||||
|
|
||||||
Finally you can force an accurate count by setting `"track_total_hits"`
|
Finally you can force an accurate count by setting `"track_total_hits"`
|
||||||
to `true` in the request.
|
to `true` in the request.
|
||||||
|
|
Loading…
Reference in New Issue