Numeric field types | Elasticsearch Guide [7.16] | Elastic
www.elastic.co › guide › enMapping numeric identifiers. Not all numeric data should be mapped as a numeric field data type. Elasticsearch optimizes numeric fields, such as integer or long, for range queries. However, keyword fields are better for term and other term-level queries. Identifiers, such as an ISBN or a product ID, are rarely used in range queries. However ...
Mapping | Elasticsearch Guide [7.16] | Elastic
www.elastic.co › guide › enMapping. Mapping is the process of defining how a document, and the fields it contains, are stored and indexed. Each document is a collection of fields, which each have their own data type. When mapping your data, you create a mapping definition, which contains a list of fields that are pertinent to the document.