> In the solrconfig.xml I have been able to change the
> hl.simple.pre/post variable, but when I try to change the
> hl,regex pattern or the hl.snippets they don't have any
> effect. I thought the hl.snippets would alow me to find more
> than one and highlight it, and well I tried a bunch of regex
> patterns but they didn't do anything.

<int name="hl.snippets">4</int> param should go to under default section of 
your default SearchHandler. 

<requestHandler name="standard" class="solr.SearchHandler" default="true">
<lst name="defaults">
<str name="echoParams">all</str> 
<int name="hl.snippets">4</int> 
</lst>
</requestHandler>

Also &hl.formatter=regex paremter is required to activate regular expression 
based fragmenter.



Reply via email to