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 2007/10/12 00:37:41 UTC

[Solr Wiki] Update of "HighlightingParameters" by MikeKlaas

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

The comment on the change is:
Added hl.alternateField documentation

------------------------------------------------------------------------------
  
  The default value is "`51200`".
  
+ == hl.alternateField ==
+ 
+ If a snippet cannot be generated (due to no terms matching), you can specify a field to use as the backup/default summary.  This parameter accepts per-field overrides <!> ["Solr1.3"].
+ 
+ The default value is to not have a default summary.
+ 
  == hl.formatter ==
  
  Specify a formatter for the highlight output.  Currently the only legal value is "`simple`", which surrounds a highlighted term with a customizable pre- and post text snippet. This parameter accepts per-field overrides.
@@ -62, +68 @@

  
  == hl.fragmenter ==
  
- Specify a text snippet generator for the highlit text.  The standard fragmenter is `gap` (which is so called because it creates fixed-sized fragments with gaps for multi-valued fields).  Another option is `regex`, which tries to create fragments that "look like" a certain regular expression.  [Solr 1.3+]
+ Specify a text snippet generator for the highlit text.  The standard fragmenter is `gap` (which is so called because it creates fixed-sized fragments with gaps for multi-valued fields).  Another option is `regex`, which tries to create fragments that "look like" a certain regular expression.  <!> ["Solr1.3"]
  
  The default value is "`gap`"