【发布时间】:2016-11-03 10:54:47
【问题描述】:
我需要使用词干提取功能执行请求。 当搜索词是“发明”时,必须返回这两个文档: “Ils inventèrent le feu” "L'invent est belle"
我使用 lucene 6.2.1,我的代码如下:
- 索引是使用 IndexWriter 填充的 法语分析仪。
- 搜索的字段是存储的文本字段。
- 使用填充有 法语分析仪。
目前,如果搜索是“invent”,则文档会很好地返回,但不是“invent”。我是否缺少执行词干请求的内容?
谢谢你
【问题讨论】: