IK分词器 /plugins 目录下。 (3)重新启动elasticsearch,即可加载IK分词器IK分词器测试IK提供了两个分词算法ik_smart和ik_max_word其中ik_smart为最少切分,ik_max_word为最细粒度划分 (1)最小切分:在浏览器地址栏输入地址 http://127.0.0.1:9200/_analyze?analyzer=ik_smart&pretty ...
d127046952251 声望
res= es.search(index="test-index", doc_type='content-field',body={"query": {"match": {"text": {"query": "微观文明", "analyzer": "ik_smart"}}}) Hope this helps — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mut...