You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2014/03/27 20:57:45 UTC
[Solr Wiki] Update of "LanguageAnalysis" by iorixxx
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "LanguageAnalysis" page has been changed by iorixxx:
https://wiki.apache.org/solr/LanguageAnalysis?action=diff&rev1=28&rev2=29
Comment:
add solr.ApostropheFilterFactory to Turkish analysis
<!> Note: Be sure to use PositionFilter at query-time (only) as this language does not use spaces between words.
=== Turkish ===
- Solr includes support for stemming Turkish via {{{solr.SnowballPorterFilterFactory}}}, as well as support for case-insensitive search via {{{solr.TurkishLowerCaseFilterFactory}}} <!> [[Solr3.1]], and Lucene includes an example stopword list.
+ Solr includes support for stemming Turkish via {{{solr.SnowballPorterFilterFactory}}}, as well as support for case-insensitive search via {{{solr.TurkishLowerCaseFilterFactory}}} <!> [[Solr3.1]], and Lucene includes an example stopword list. <!> [[Solr4.8]] includes {{{solr.ApostropheFilterFactory}}} for apostrophe handling suitable for Turkish.
{{{
- ...
+ …
+
+ <filter class="solr.ApostropheFilterFactory"/>
<filter class="solr.TurkishLowerCaseFilterFactory"/>
- <filter class="solr.SnowballPorterFilterFactory" language="Turkish" />
+ <filter class="solr.SnowballPorterFilterFactory" language="Turkish" />
...
}}}
Example set of Turkish [[http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/solr/collection1/conf/lang/stopwords_tr.txt|stopwords]] (Be sure to switch your browser encoding to UTF-8)