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 2011/09/12 17:03:57 UTC

[Solr Wiki] Trivial Update of "LanguageDetection" by JanHoydahl

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=6&rev2=7

Comment:
Clarified the defaults concept

     </lst>
  </processor>
  }}}
+ 
+ '''NOTE:''' The processor supports the {{{defaults/appends/invariants}}} concept for its config. However, it is also possible to skip this level and configure the parameters directly underneath the {{{<processor>}}} tag.
  
  Below follows a list of each configuration parameters and their meaning:
  
@@ -154, +156 @@

  
  {{{
   <processor class="org.apache.solr.update.processor.LanguageIdentifierUpdateProcessorFactory">
-    <lst name="defaults">
-      <str name="langid">true</str>
+    <str name="langid">true</str>
-      <str name="langid.fl">title,body</str>
+    <str name="langid.fl">title,body</str>
-      <str name="langid.langField">language</str>
+    <str name="langid.langField">language</str>
-      <str name="langid.whitelist">no,sv,da</str>
+    <str name="langid.whitelist">no,sv,da</str>
-      <str name="langid.map">true</str>
+    <str name="langid.map">true</str>
-      <str name="langid.fallback">generic</str>
+    <str name="langid.fallback">generic</str>
-    </lst>
   </processor>
  }}}