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 2008/05/23 23:27:29 UTC

[Solr Wiki] Update of "HighlightingParameters" by OtisGospodnetic

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 OtisGospodnetic:
http://wiki.apache.org/solr/HighlightingParameters

The comment on the change is:
Added hl.usePhraseHighlighter

------------------------------------------------------------------------------
  
  The default value is "`gap`"
  
+ == hl.usePhraseHighlighter ==
+ 
+ Use !SpanScorer to highlight phrase terms only when they appear within the query phrase in the document.  Default is false. <!> ["Solr1.3"].
+ 
  == hl.regex.slop ==
  
  Factor by which the regex fragmenter can stray from the ideal fragment size (given by `hl.fragsize`) to accomodate the regular expression.  For instance, a slop of `0.2` with fragsize of `100` should yield fragments between `80` and `120` characters in length.  It is usually good to provide a slightly smaller fragsize when using the `regex` fragmenter.