Closed Ragmaanir closed 9 years ago
Yes, highlighting is broken. When splitting the words, positions of subwords get wrong in the index.
Patches welcome!
I think #12 fixes this.
Pushed out 1.7.1.3 with the fix. Thanks for the pointer, I forgot to pull the request.
Thanks :)
Hi,
i tried this on 1.5.2 and 1.7.2. This script should reproduce the error (NOTE: Im using port 9400 locally.):
The result returned by the query is:
As you can see there are two problems with the highlights:
[ "dies ist ein<em>st e</em> titeltest" ]
[ "dies ist ein<em>dies ist ein test</em>" ]
Maybe i have to change the mapping to use different word positions?
Thanks