Introduction
We use text and keyword fields to store words differently so we can search and sort data easily.
When you want to search inside a sentence or paragraph, like searching words in a book.
When you want to filter or sort exact values, like filtering by country name or sorting by product code.
When you want to do full-text search with relevance scoring, like searching blog posts by keywords.
When you want to group data by exact matches, like grouping users by their exact email addresses.