Re: Some solrconfig.xml attributes being ignored

2008-12-16 Thread Mark Ferguson
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

Re: Some solrconfig.xml attributes being ignored

2008-12-16 Thread Erik Hatcher
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

Re: Some solrconfig.xml attributes being ignored

2008-12-15 Thread Mark Ferguson
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

Re: Some solrconfig.xml attributes being ignored

2008-12-15 Thread Mark Ferguson
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

Re: Some solrconfig.xml attributes being ignored

2008-12-15 Thread Yonik Seeley
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

Some solrconfig.xml attributes being ignored

2008-12-15 Thread Mark Ferguson
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