tags:

views:

27

answers:

1

I want to know that how we can configure Snippet Size(number of words/Characters) in highlighting? Currently i m facing a problem, sometimes solr Gives me snippet exactly the matched word. like let say I query solr as "Contents:risk" using solrnet it gives me exactly "risk" in highlighting snippets no more characters or words i do the same with Solr admin and it gives the same result too.

+1  A: 

I'm not quite familiar with highlighting features but I believe this is done with the hl.fragsize parameter.

Mauricio Scheffer
ya your right i have done that
Ahsan Iqbal