djangosnippets.org: Latest snippets posted by shamakhovhttp://djangosnippets.org/users/shamakhov/2014-02-09T03:40:45.553939-06:00shamakhovHaystack whoosh backend for stemming non-english language words
2014-02-09T03:40:45.553939-06:00shamakhovhttp://djangosnippets.org/snippets/3025/<p>It's haystack whoosh backend code which involves stemming for specific language in time of indexing.</p>
<p>2 lines was changed comparing to original whoosh backend (StemmingAnalyzer replaced with LanguageAnalyzer for russian language, list of supported languages: <a href="https://bitbucket.org/mchaput/whoosh/raw/default/src/whoosh/lang/snowball/__init__.py">here</a> )</p>
Freely redistributable