Elasticsearch provides two primary field types for storing strings: text and keyword. Text fields are analyzed and tokenized for full-text search but don't support sorting or aggregations. Keyword fields store exact values without analysis, enabling exact matching, sorting, and aggregations but lacking relevance scoring.
Table of contents
1. Overview2. text Field Type3. keyword Field Type4. Choosing Between text and keyword5. Multi-Fields Typing6. ConclusionSort: