You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Nirav Shah <ns...@knovos.com> on 2020/04/02 07:42:32 UTC
Solr proximity search highlighting issue
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