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 "HunspellStemFilterFactory" by JanHoydahl
Date Wed, 05 Oct 2011 22:07:18 GMT
Dear Wiki user,

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

The "HunspellStemFilterFactory" page has been changed by JanHoydahl:
http://wiki.apache.org/solr/HunspellStemFilterFactory?action=diff&rev1=3&rev2=4

Comment:
Added info about ignoreCase param

+ <!> [[Solr3.5]] 
  To configure the [[Hunspell]] stemmer in Solr, you need to download the {{{.dic}}} and {{{.aff}}}
files for your language(s) and then add the HunspellStemFilterFactory to your analysis, like
this (british):
  
  {{{
   <filter class="solr.HunspellStemFilterFactory"
      dictionary="en_GB.dic"
-     affix="en_GB.aff"/>
+     affix="en_GB.aff"
+     ignoreCase="true" />
  }}}
  
- The {{{dictionary}}} argument optionally takes a comma-separated list of dictionaries, in
which case all will be loaded, in the order specified. This lets you maintain your own custom
additions without needing to edit the originals. We encourage your to contribute your changes/additions
back to the maintainers of the [[http://wiki.services.openoffice.org/wiki/Dictionaries|original
dictionaries]].
+ The {{{dictionary}}} parameter optionally takes a comma-separated list of dictionaries,
in which case all will be loaded, in the order specified. This lets you maintain your own
custom additions without needing to edit the originals. We encourage your to contribute your
changes/additions back to the maintainers of the [[http://wiki.services.openoffice.org/wiki/Dictionaries|original
dictionaries]].
+ 
+ The {{{ignoreCase}}} parameter allows case insensitive matching of the dictionaries, which
can be useful to stem variations for proper names such as Apache/Apaches. Default value is
{{{false}}}.
  
  An example of how Hunspell may be more accurate than the Snowball stemmer, from Norwegian:
  {{{

Mime
View raw message