我使用默认分析器“英语”来搜索文档,它非常好。但是,当搜索查询拼写错误或通过此类拼写错误的短语进行搜索时,我还需要“您的意思是”结果。
我需要什么分析器/过滤器/查询来实现这种行为?
源文本
Elasticsearch is a distributed, open source search and analytics engine for all types of data,
including textual, numerical, geospatial, structured, and unstructured. Elasticsearch is built
on Apache Lucene and was first released in 2010 by Elasticsearch N.V. (now known as Elastic).
Known for its simple REST APIs, distributed nature, speed, and scalability, Elasticsearch is
the central component of the Elastic Stack, a set of open source tools for data ingestion,
enrichment, storage, analysis, and visualization. Commonly referred to as the ELK Stack
(after Elasticsearch, Logstash, and Kibana), the Elastic Stack now includes a rich collection
of lightweight shipping agents known as Beats for sending data to Elasticsearch.
搜索词
搜索查询 => 你的意思是 XXX 吗?
遗漏的字母或类似
Elastisearch => Elasti c search
distrib a ted => 分布式
Apac j e => Apache
额外空间
弹性搜索 => 弹性搜索
没有空间
开源 => 开源
拼写错误的短语
serach engne => 搜索引擎