OpenSearch/docs/reference/analysis/tokenizers
Jim Ferenczi 18866c4c0b
Make hits.total an object in the search response (#35849)
This commit changes the format of the `hits.total` in the search response to be an object with
a `value` and a `relation`. The `value` indicates the number of hits that match the query and the
`relation` indicates whether the number is accurate (in which case the relation is equals to `eq`)
or a lower bound of the total (in which case it is equals to `gte`).
This change also adds a parameter called `rest_total_hits_as_int` that can be used in the
search APIs to opt out from this change (retrieve the total hits as a number in the rest response).
Note that currently all search responses are accurate (`track_total_hits: true`) or they don't contain
`hits.total` (`track_total_hits: true`). We'll add a way to get a lower bound of the total hits in a
follow up (to allow numbers to be passed to `track_total_hits`).

Relates #33028
2018-12-05 19:49:06 +01:00
..
chargroup-tokenizer.asciidoc [Feature] Adding a char_group tokenizer (#24186) 2018-05-22 16:26:31 +02:00
classic-tokenizer.asciidoc Remove wait_for_status=yellow from the docs 2016-07-15 16:02:07 -04:00
edgengram-tokenizer.asciidoc Make hits.total an object in the search response (#35849) 2018-12-05 19:49:06 +01:00
keyword-tokenizer.asciidoc Docs: Improved tokenizer docs (#18356) 2016-05-19 19:42:23 +02:00
letter-tokenizer.asciidoc Docs: Improved tokenizer docs (#18356) 2016-05-19 19:42:23 +02:00
lowercase-tokenizer.asciidoc Update lowercase-tokenizer.asciidoc (#21896) 2016-12-02 10:49:51 -05:00
ngram-tokenizer.asciidoc Add limits for ngram and shingle settings (#27211) 2017-11-07 08:14:55 -05:00
pathhierarchy-tokenizer.asciidoc Remove wait_for_status=yellow from the docs 2016-07-15 16:02:07 -04:00
pattern-tokenizer.asciidoc [Docs] Fix typo in pattern-tokenizer.asciidoc (#25626) 2017-07-13 18:43:48 +02:00
simplepattern-tokenizer.asciidoc Update experimental labels in the docs (#25727) 2017-07-18 14:06:22 +02:00
simplepatternsplit-tokenizer.asciidoc Update experimental labels in the docs (#25727) 2017-07-18 14:06:22 +02:00
standard-tokenizer.asciidoc Remove wait_for_status=yellow from the docs 2016-07-15 16:02:07 -04:00
thai-tokenizer.asciidoc Docs: Improved tokenizer docs (#18356) 2016-05-19 19:42:23 +02:00
uaxurlemail-tokenizer.asciidoc Remove wait_for_status=yellow from the docs 2016-07-15 16:02:07 -04:00
whitespace-tokenizer.asciidoc Add configurable `maxTokenLength` parameter to whitespace tokenizer (#26749) 2017-09-25 17:21:19 +02:00