public class MorfologikFilterFactory extends TokenFilterFactory
MorfologikFilter
.
<fieldType name="text_polish" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.MorfologikFilterFactory" dictionary="MORFOLOGIK" /> </analyzer> </fieldType>
Any of Morfologik dictionaries can be used, these are at the moment:
MORFOLOGIK
(Morfologik's original dictionary),
MORFEUSZ
(Morfeusz-SIAT),
COMBINED
(both of the dictionaries above, combined).
Modifier and Type | Field and Description |
---|---|
static String |
DICTIONARY_SCHEMA_ATTRIBUTE
Schema attribute.
|
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
Constructor and Description |
---|
MorfologikFilterFactory(Map<String,String> args)
Creates a new MorfologikFilterFactory
|
Modifier and Type | Method and Description |
---|---|
TokenStream |
create(TokenStream ts) |
availableTokenFilters, forName, lookupClass, reloadTokenFilters
assureMatchVersion, get, get, get, get, get, getBoolean, getChar, getClassArg, getFloat, getInt, getLines, getLuceneMatchVersion, getOriginalArgs, getPattern, getSet, getSnowballWordSet, getWordSet, isExplicitLuceneMatchVersion, require, require, require, requireBoolean, requireChar, requireFloat, requireInt, setExplicitLuceneMatchVersion, splitFileNames
public static final String DICTIONARY_SCHEMA_ATTRIBUTE
public TokenStream create(TokenStream ts)
create
in class TokenFilterFactory
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.