Highlighting with Span queries

2021-03-26 Thread Sjoerd Smeets
Hi all, I am trying to get highlighting working with Span queries. My span query looks like (my query parser is an extension of the edismax queryparser): *spanNear([stemmed_text:tintin, stemmed_text:haddock], 4, false)* When I change the query to *+stemmed_text:tintin +stemmed_text:haddock* I g

Highlighting with Span queries

2021-03-26 Thread Sjoerd Smeets
Hi all, I am trying to get highlighting working with Span queries. My span query looks like (my query parser is an extension of the edismax queryparser): *spanNear([stemmed_text:tintin, stemmed_text:haddock], 4, false)* When I change the query to *+stemmed_text:tintin +stemmed_text:haddock* I g