Metadata
- Author: elastic.co
- Full Title:: Data In: Documents and Indicesedit
- Category:: 🗞️Articles
- URL:: https://www.elastic.co/guide/en/elasticsearch/reference/master/documents-indices.html
- Finished date:: 2023-04-20
Highlights
By default, Elasticsearch indexes all data in every field and each indexed field has a dedicated, optimized data structure. For example, text fields are stored in inverted indices, and numeric and geo fields are stored in BKD trees. The ability to use the per-field data structures to assemble and return search results is what makes Elasticsearch so fast. (View Highlight)
you might want to index a string field as both a text field for full-text search and as a keyword field for sorting or aggregating your dat (View Highlight)