Elastic Search 使用哪个默认分析器?
Which default Analyzer does Elastic Search use?
假设我有一个“文本”字段,其中包含诸如“嗨,你好吗”之类的聊天消息。
{
"text": "Hi how are you doing"
}
我没有定义索引,让elasticsearch动态定义索引。默认情况下,弹性搜索会在我的字段“文本”上使用任何分析器吗?
标准分析器 是 Elasticsearch 中所有文本字段的默认分析器,如 https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-standard-analyzer.html
中所述
根据同一文档
The standard analyzer is the default analyzer which is used if none is
specified. It provides grammar based tokenization (based on the
Unicode Text Segmentation algorithm, as specified in Unicode Standard
Annex #29) and works well for most languages.
假设我有一个“文本”字段,其中包含诸如“嗨,你好吗”之类的聊天消息。
{
"text": "Hi how are you doing"
}
我没有定义索引,让elasticsearch动态定义索引。默认情况下,弹性搜索会在我的字段“文本”上使用任何分析器吗?
标准分析器 是 Elasticsearch 中所有文本字段的默认分析器,如 https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-standard-analyzer.html
中所述根据同一文档
The standard analyzer is the default analyzer which is used if none is specified. It provides grammar based tokenization (based on the Unicode Text Segmentation algorithm, as specified in Unicode Standard Annex #29) and works well for most languages.