Hi all, 

After analysing the highlighting inconsistency [Highlighting Inconsistency 
email tree] I was wondering if I should open a jira issue? Can you advise me if 
that's a sensible thing to do?

So the issue is: 


        * A query is done on a certain field (i.e. title) which is unstemmed, 
        * A highlighting is requested on a different field (i.e. description), 
which is stemmed - 
http://localhost:8983/solr/select?q=title:terminator&hl=true&hl.fl=description
        * Highlighting will not be producing results in many cases as the query 
will use title's field type also on the highlighting field (so the terms must 
be the same in the stemmed and unstemmed version to produce highlighting. If 
the proper description field type would be used, the highlighting would be 
correct at all times 
(this works fine: 
http://localhost:8983/solr/select?q=description:terminator&hl=true&hl.fl=description)
Shouldn't the query parser use the analysers of the specified field in "hl.fl" 
on which we are about to do highlighting?

 Jan.



      

Reply via email to