Text analysis
Text analysis is the process of converting unstructured text, like the body of an email or a product description, into a structured format that’s optimized for search.
When to configure text analysis
Elasticsearch performs text analysis when indexing or searching text fields.
If your index doesn’t contain text fields, no further setup is needed; you can skip the pages in this section.
However, if you use text fields or your text searches aren’t returning results as expected, configuring text analysis can often help. You should also look into analysis configuration if you’re using Elasticsearch to:
- Build a search engine
- Mine unstructured data
- Fine-tune search for a specific language
- Perform lexicographic or linguistic research
In this section
© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/8.17/analysis.html