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=5&rev2=6 Comment: Fixed syntax for defaults The UpdateRequestProcessor is configured in solrconfig.xml, and supports many parameters. All parameters listed may also be overridded on the update request itself. A minimal configuration specifies the input fields for language identification as well as the output field for the detected language code: {{{ <processor class="org.apache.solr.update.processor.LanguageIdentifierUpdateProcessorFactory"> - <defaults> + <lst name="defaults"> <str name="langid.fl">title,subject,text,keywords</str> <str name="langid.langField">language_s</str> - </defaults> + </lst> </processor> }}} @@ -154, +154 @@ {{{ <processor class="org.apache.solr.update.processor.LanguageIdentifierUpdateProcessorFactory"> - <defaults> + <lst name="defaults"> <str name="langid">true</str> <str name="langid.fl">title,body</str> <str name="langid.langField">language</str> <str name="langid.whitelist">no,sv,da</str> <str name="langid.map">true</str> <str name="langid.fallback">generic</str> - </defaults> + </lst> </processor> }}}
