lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Trivial Update of "HighlightingParameters" by JayHill
Date Sat, 12 Sep 2009 16:39:04 GMT
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 ==
  

Mime
View raw message