Yep, I misunderstood the problem.
The multiple tokens at the same offset might be messing things up. One
thing you can do is copyField to a field that doesn't have n-grams and do
something like f.textng.hl.alternateField= in your solrconfig. That'll use
the other field during highlighting. Yeah,
Thanks for your reply Scott.
I tried
bs.language=de=de
Unfortunately the problem still occurs.
I have just discovered that the problem does not only affect "ß" but
also "æ" (which is mapped to "ae"
at query and index time)
q=hae --> hæna
So it seems to me that the problem is related to
My guess is that the boundary scanner isn't configured right for your
highlighter. Try setting the bs.language and bs.country parameters either
in your request or in the requestHandler.
k/r,
Scott
On Mon, Oct 5, 2015 at 4:57 AM, Jérôme Bernardes wrote:
> Dear Solr
Dear Solr Users,
I am facing a problem with highligting on ngram fields.
Highlighting is working well, except for words with german character
"ß".
Eg : with q=rosen&
"highlighting": {
"gcl3r:12723710:6643": {
"textng": [
"Rosensteinpark (Métro), Stuttgart