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)
Asked
Active
Viewed 138 times
0

Kevin Reid
- 37,492
- 13
- 80
- 108

fedor.belov
- 22,343
- 26
- 89
- 134
1 Answers
0
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.

Jayendra
- 52,349
- 4
- 80
- 90