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] Update of "LanguageDetection" by JanHoydahl
Date Mon, 19 Sep 2011 13:22:16 GMT
Dear Wiki user,

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

The "LanguageDetection" page has been changed by JanHoydahl:
http://wiki.apache.org/solr/LanguageDetection?action=diff&rev1=7&rev2=8

Comment:
Better doc for fallback

  '''Default:''' N/A (This parameter is mandatory)
  
  == langid.langsField ==
- Specifies the field to output a list of detected languages into. This must be a multiValued
String field
+ Specifies the field to output a list of detected languages into. This must be a multiValued
String field. If you use {{{langid.map.individual}}}, each detected language will be added
to this field.
  
  '''Value:''' Name of field
  
  '''Default:''' (Empty - Nothing is written by default)
  
  == langid.overwrite ==
- Specifies whether the output in {{{langField}}} and {{{langFields}}} shall be overwritten
if it already contains a value.
+ Specifies whether the output in {{{langField}}} and {{{langFields}}} shall be overwritten
if {{{langField}}} already contains a value. If not set and {{{langField}}} contains a value,
{{{langField}}} will be subject to white list filtering and then copied to {{{langsField}}},
which will be overwritten.
  
  '''Value:''' true/false
  
@@ -122, +122 @@

  '''Default:''' (Empty - not used)
  
  == langid.fallback ==
- If no language is detected with sufficient score (see langid.threshold), or if the detected
language is not in the whitelist (see langid.whitelist), and no value is found in your fallbackField,
the language code specified in langid.fallback will be used.
+ If no language is detected with sufficient score (see langid.threshold), or if the detected
language is not in the whitelist (see langid.whitelist), and no value is found in your fallbackField,
the language code specified in langid.fallback will be used. Note that if neither {{{fallbackFields}}}
nor {{{fallback}}} is specified, and a language cannot be detected, language will be set to
an empty string, causing potential problems further down the chain.
  
  '''Value:''' Language code to use as fallback
  

Mime
View raw message