[
https://issues.apache.org/jira/browse/SOLR-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Høydahl updated SOLR-2792:
------------------------------
Attachment: SOLR-2792.patch
First attempt on patch. It works, and I added an -i option to the command-line
version of HunspellStemmer so that we can test ignoreCase easily.
I also added an optional ignoreCaseLocale to specify the locale for
lowercasing, but this only works for String#toLowerCase, while the lowercasing
in CharArrayMap#equals uses plain Character#toLowerCase.
> Allow case insensitive Hunspell stemming
> ----------------------------------------
>
> Key: SOLR-2792
> URL: https://issues.apache.org/jira/browse/SOLR-2792
> Project: Solr
> Issue Type: Improvement
> Components: Schema and Analysis
> Affects Versions: 3.5, 4.0
> Reporter: Jan Høydahl
> Assignee: Jan Høydahl
> Attachments: SOLR-2792.patch
>
>
> Same as http://code.google.com/p/lucene-hunspell/issues/detail?id=3
> Hunspell dictionaries are by nature case sensitive. The Hunspell stemmer thus
> needs an option to allow case insensitive matching of the dictionaries.
> Imagine a query for "microsofts". It will never be stemmed to the dictionary
> word "Microsoft" because of the case difference. This problem cannot be fixed
> by putting LowercaseFilter before Hunspell.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]