开发者

Lucene searches on 2 field values as single

Lucene document has field a with content hello and a with content world. If i'll search "hello world"~2 it will be founded =(. How can I fix it?

FastVectorHighlighter开发者_开发知识库 will highlight it like <b>helloworld</b> (without any space) (anyway it shouldn't highlight it)


a seems to be an multivalued field.
Have you changed the positionincrementgap to a higher value ? The default value position increment gap is 0.
This will prevent the scenario.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜