You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/09/12 18:39:04 UTC

[Solr Wiki] Trivial Update of "HighlightingParameters" by JayHill

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by JayHill:
http://wiki.apache.org/solr/HighlightingParameters

The comment on the change is:
Added some details about hl.fragsize use.

------------------------------------------------------------------------------
  The size, in characters, of fragments to consider for highlighting.  "`0`" indicates that the whole field value should be used (no fragmenting). This parameter accepts per-field overrides.
  
  The default value is "`100`".
+ 
+ If you have a use case where you need to highlight the complete text of a field and need to highlight every instance of the search term(s) you can set hl.fragsize to a very high value (whatever it takes to include all the text for the largest value for that field), for example &hl.fragsize=50000.
  
  == hl.mergeContiguous ==