请求路径:[url=http://192.168.5.51:9200/item_192_168_3_212/_analyze?analyzer=ik_smart_syno&text=%E8%93%84%E7%94%B5%E6%B1%A0]http://192.168.5.51:9200/item_ ... %25A0[/url]
响应结果1:
{tokens:
[
{token: "蓄电池",start_offset: 0,end_offset: 3,type: "CN_WORD",position: 0},
{token: "电池",start_offset: 0,end_offset: 3,type: "SYNONYM",position: 0},
{token: "电瓶",start_offset: 0,end_offset: 3,type: "SYNONYM",position: 0}
]
}
响应结果2:
{tokens:
[
{token: "蓄电池",start_offset: 0,end_offset: 3,type: "CN_WORD",position: 0}
]
}
同义词配置
响应结果1:
{tokens:
[
{token: "蓄电池",start_offset: 0,end_offset: 3,type: "CN_WORD",position: 0},
{token: "电池",start_offset: 0,end_offset: 3,type: "SYNONYM",position: 0},
{token: "电瓶",start_offset: 0,end_offset: 3,type: "SYNONYM",position: 0}
]
}
响应结果2:
{tokens:
[
{token: "蓄电池",start_offset: 0,end_offset: 3,type: "CN_WORD",position: 0}
]
}
同义词配置
1 个回复
medcl - 今晚打老虎。
赞同来自:
多个节点配置要一致