elasticsearch/docs/reference/mapping/params
Yannick Welsch e421477ac8
Allow docvalues-only search on number types (#82409)
Allows searching on number field types (long, short, int, float, double, byte, half_float) when those fields are not
indexed (index: false) but just doc values are enabled.

This enables searches on archive data, which has access to doc values but not index structures. When combined with
searchable snapshots, it allows downloading only data for a given (doc value) field to quickly filter down to a select set
of documents.

Note to reviewers:

I have split isSearchable into two separate methods isIndexed and isSearchable on MappedFieldType. The former one is
about whether actual indexing data structures have been used (postings or points), and the latter one on whether you
can run queries on the given field (e.g. used by field caps). For number field types, queries are now allowed whenever
points are available or when doc values are available (i.e. searchability is expanded).

Relates #81210 and #52728
2022-01-13 16:23:01 +01:00
..
analyzer.asciidoc [DOCS] Replace put with create or update in API names (#70330) 2021-03-15 14:49:44 -04:00
coerce.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
copy-to.asciidoc Enhance error message for copy-to (#72820) 2021-05-11 13:27:45 +02:00
doc-values.asciidoc Allow docvalues-only search on number types (#82409) 2022-01-13 16:23:01 +01:00
dynamic.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
eager-global-ordinals.asciidoc Revert 74559 (Avoid global ordinals in composite) (#78846) (#80498) 2021-11-08 17:11:46 +01:00
enabled.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
format.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
ignore-above.asciidoc [DOCS] Replace put with create or update in API names (#70330) 2021-03-15 14:49:44 -04:00
ignore-malformed.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
index-options.asciidoc Update dense_vector docs with kNN indexing options (#80306) 2021-11-04 11:44:13 -07:00
index-phrases.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
index-prefixes.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
index.asciidoc Allow docvalues-only search on number types (#82409) 2022-01-13 16:23:01 +01:00
meta.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
multi-fields.asciidoc [DOCS] Clarify multi-field relationship to parent field (#76244) 2021-08-09 11:43:06 -04:00
normalizer.asciidoc Add pre-configured “lowercase” normalizer (#53882) 2020-04-03 10:12:06 +01:00
norms.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
null-value.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
position-increment-gap.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
properties.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
search-analyzer.asciidoc [DOCS] Replace put with create or update in API names (#70330) 2021-03-15 14:49:44 -04:00
similarity.asciidoc Update dense_vector docs with kNN indexing options (#80306) 2021-11-04 11:44:13 -07:00
store.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
term-vector.asciidoc [DOCS] Update my-index examples (#60132) 2020-07-27 14:46:39 -04:00