Multiple highlight snippet for single field

2014-05-16 Thread Bijan Pourriahi
Hello all, I am trying to return multiple snippets from a single document with a field which includes many (5+) instances of the word ‘andy’ in the text. For some reason, I can only get it to return one snippet. Any ideas? Here’s the query and the response: http://codejaw.com/2gwoozr Thanks!

Re: Multiple highlight snippet for single field

2014-05-16 Thread Koji Sekiguchi
Hi Bijan, Have you tried to set hl.maxAnalyzedChars parameter to larger number? hl.maxAnalyzedChars http://wiki.apache.org/solr/HighlightingParameters#hl.maxAnalyzedChars As the default value of the parameter is 51200, if the second Andy is at the end paragraph of your large stored field, the