Asciifolding无法正常工作Elastic Search Rails

Asciifolding无法正常工作Elastic Search Rails,第1张

Asciifolding无法正常工作Elastic Search Rails

在玩了之后,我解决了这个问题。我必须更改默认分析器的行为。

analyzer: {         default: {  tokenizer: "standard",  filter: ["standard", "lowercase", "asciifolding"]         },         text: {  tokenizer: "standard",  filter: ["standard", "lowercase"],  char_filter: 'html_strip'         },         sortable: {  tokenizer: "keyword",  filter: ["lowercase"],  char_filter: 'html_strip'         }     }


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5001312.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-11-14
下一篇 2022-11-14

发表评论

登录后才能评论

评论列表(0条)

保存