Hi Erik,
Thanks a lot for looking into this, it's greatly appreciated.
Mark
On Tue, Dec 16, 2008 at 2:51 AM, Erik Hatcher wrote:
> Mark,
>
> Looked at the code to discern this...
>
> A fragmenter isn't responsible for the number of snippets - the higher
> level SolrHighlighter is the component
Mark,
Looked at the code to discern this...
A fragmenter isn't responsible for the number of snippets - the higher
level SolrHighlighter is the component that uses that parameter. So
yes, it must be specified at the request handler level, not the
fragmenter configuration.
Erik
It seems like maybe the fragmenter parameters just don't get displayed with
echoParams=all set. It may only display as far as the request handler's
parameters. The reason I think this is because I tried increasing
hl.fragsize to 1000 and the results were returned correctly (much larger
snippets), s
Thanks for this tip, it's very helpful. Indeed, it looks like none of the
highlighting parameters are being included. It's using the correct request
handler and hl is set to true, but none of the highlighting parameters from
solrconfig.xml are in the parameter list.
Here is my query:
http://local
Try adding echoParams=all to your query to verify the params that the
solr request handler is getting.
-Yonik
On Mon, Dec 15, 2008 at 6:10 PM, Mark Ferguson
wrote:
> Hello,
>
> In my solrconfig.xml file I am setting the attribute hl.snippets to 3. When
> I perform a search, it returns only a sin
Hello,
In my solrconfig.xml file I am setting the attribute hl.snippets to 3. When
I perform a search, it returns only a single snippet for each highlighted
field. However, when I set the hl.snippets field manually as a search
parameter, I get up to 3 highlighted snippets. This is the configuratio