Elasticsearch支持模糊搜索查询:https://www.elastic.co/guide/en/elasticsearch/guide/2.x/fuzzy-match-query.html

和术语聚合:https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html

它说“......桶是动态构建的 - 每个唯一值都有一个 . ”

是否可以通过模糊术语组合这两个特征和桶?那么例如“America”和“Amrica”会属于同一个桶吗? (使用“term”桶它们属于2个独立的桶,使用“模糊”搜索,返回两个记录 .

我正在尝试分组包括拼写错误在内的“关键字” - 也许有不同的方法可以解决这个问题? (暴力是对每个“关键字”运行“模糊”搜索并手动添加数字...)