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/10/06 00:07:18 UTC

[Solr Wiki] Update of "HunspellStemFilterFactory" by JanHoydahl

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:
  {{{