lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirav Shah <ns...@knovos.com>
Subject Solr proximity search highlighting issue
Date Thu, 02 Apr 2020 07:42:32 GMT
Hello Dev Team,

I found some problem in highlighting module. Not all the search terms are getting highlighted.

Sample query: q={!complexphrase+inOrder=true}"pos1 (pos2 OR pos3)"~30&hl=true
Indexed text: "pos1 pos2 pos3 pos4"

please find attached response xml screen shot from solr.

You can see that only two terms are highlighted like, "<em>pos1</em> <em>pos2</em>
pos3 pos4"

The scenario is same in Solr source code since long time (I have checked in Solr version 4
to version 7). The scenario is when term positions are in-order in document and query both.

Please let me know your view on this.

Thank you,
Amit




Mime
View raw message