Solr proximity search highlighting issue

2020-04-02 Thread Nirav Shah
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=true Indexed text: "pos1 pos2 pos3 pos4" please find attached response xml screen shot from solr. You can see

Re: FW: Solr proximity search highlighting issue

2020-04-02 Thread Charlie Hull
I may be wrong here, but the problem may be that the match was on your terms pos1 and pos2 (you don't need the pos3 term to match, due to the OR operator) and thus that's what's been highlighted. There's a hl.q parameter that lets you supply a different query for highlighting to the one

FW: Solr proximity search highlighting issue

2020-03-31 Thread Anil Shingala
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=true Indexed text: "pos1 pos2 pos3 pos4" please find attached response xml screen shot from solr. You can see

Proximity search + Highlighting

2010-09-01 Thread Xavier Schepler
Hi, can the highlighting component highlight terms only if the distance between them matches the query ? I use those parameters : hl=onhl.fl=qFR,iFR,mFR,vlFRhl.usePhraseHighlighter=falsehl.highlightMultiTerm=truehl.simple.pre=bhl.simple.post=%2Fbhl.mergeContiguous=false

Re: Proximity search + Highlighting

2010-09-01 Thread Markus Jelsma
I think you need to enable usePhraseHighlighter in order to use the highlightMultiTerm parameter. On Wednesday 01 September 2010 12:12:11 Xavier Schepler wrote: Hi, can the highlighting component highlight terms only if the distance between them matches the query ? I use those parameters

Re: Proximity search + Highlighting

2010-09-01 Thread Xavier Schepler
On 01/09/2010 12:38, Markus Jelsma wrote: I think you need to enable usePhraseHighlighter in order to use the highlightMultiTerm parameter. On Wednesday 01 September 2010 12:12:11 Xavier Schepler wrote: Hi, can the highlighting component highlight terms only if the distance between them

Re: Proximity search + Highlighting

2010-09-01 Thread Xavier Schepler
On 01/09/2010 13:54, Xavier Schepler wrote: On 01/09/2010 12:38, Markus Jelsma wrote: I think you need to enable usePhraseHighlighter in order to use the highlightMultiTerm parameter. On Wednesday 01 September 2010 12:12:11 Xavier Schepler wrote: Hi, can the highlighting component