OpenSearch/docs/reference/mapping/fields.asciidoc
Adrien Grand 703dbff83d Index field names of documents.
The `exists` and `missing` filters need to merge postings lists of all existing
terms, which can be very costly, especially on high-cardinality fields. This
commit indexes the field names of a document under `_field_names` and reuses it
to speed up the `exists` and `missing` filters.

This is only enabled for indices that are created on or after Elasticsearch
1.3.0.

Close #5659
2014-06-19 11:50:06 +02:00

36 lines
746 B
Plaintext

[[mapping-fields]]
== Fields
Each mapping has a number of fields associated with it
which can be used to control how the document metadata
(eg <<mapping-all-field>>) is indexed.
include::fields/uid-field.asciidoc[]
include::fields/id-field.asciidoc[]
include::fields/type-field.asciidoc[]
include::fields/source-field.asciidoc[]
include::fields/all-field.asciidoc[]
include::fields/analyzer-field.asciidoc[]
include::fields/boost-field.asciidoc[]
include::fields/parent-field.asciidoc[]
include::fields/field-names-field.asciidoc[]
include::fields/routing-field.asciidoc[]
include::fields/index-field.asciidoc[]
include::fields/size-field.asciidoc[]
include::fields/timestamp-field.asciidoc[]
include::fields/ttl-field.asciidoc[]