原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/analysis.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/analysis.html

Text analysisedit

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 analysisedit

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 sectionedit