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 "LanguageDetection" by JanHoydahl
Date Mon, 12 Sep 2011 15:03:57 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=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>
  }}}
  

Mime
View raw message