Hello,

You can add this request parameter in the "defaults" section of your
request handler named "/select" in solrconfig.xml  like this:

<lst name="defaults">
   ............................
   <str name="hl">true</str>
   ............................
</lst>

and as long as you use this request handler you won't need to
explicitly specify this parameter in your request.

On 19 September 2012 14:27, Spadez <james_will...@hotmail.com> wrote:
> Hi,
>
> I was wondering if it is possible to set up highlighting so it is on by
> default, and doesnt need to add to the URL. For example:
>
> http://localhost:8080/solr/select?q=book&hl=true
>
> I would like to have it so highlighting is on even if the URL is this:
>
> http://localhost:8080/solr/select?q=book
>
> Is this possible, and if so, how can it be achieved?
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Highlighting-without-URL-condition-tp4008899.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to