infinilabs / analysis-pinyin

🛵 This Pinyin Analysis plugin is used to do conversion between Chinese characters and Pinyin.
Apache License 2.0
2.94k stars 547 forks source link

没有高亮 #279

Closed whu-lee closed 2 months ago

whu-lee commented 2 years ago

请问如何才能高亮,我用了highlight,返回结果并没有highlight字段。拼音搜索结果正常,但是就是没有高亮?请问如何解决

xinrun0928 commented 2 months ago

刚换成这个插件,试了下真的就没有高亮,真服了,又要换成ik,大佬还知道有哪个支持拼音搜索的插件吗

medcl commented 2 months ago

ignore_pinyin_offset 参数可以控制的