lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Spadez <james_will...@hotmail.com>
Subject Journey to enable highlighting
Date Wed, 19 Sep 2012 16:30:22 GMT
Hi,

So I want to enable highlighting on my results. When I run the query like
this:

http://localhost:8080/solr/select?q=book&hl=true

I don't get any highlighted results. I am assuming that more is needed to
actually enable highlighting. Commented out at the bottom of my
solrconfig.xml is this:

*Default configuration in a requestHandler would look like:
       <arr name="components">
         <str>query</str>
         <str>facet</str>
         <str>mlt</str>
         <str>highlight</str>
         <str>stats</str>
         <str>debug</str>
       </arr>*

Is it right that to enable highlighting, I would need to uncomment out this
section, to leave just this shown?:

*Default configuration in a requestHandler would look like:
       <arr name="components">
           <str>highlight</str>
       </arr>*





--
View this message in context: http://lucene.472066.n3.nabble.com/Journey-to-enable-highlighting-tp4008952.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message