Class CodepointCountFilterFactory
java.lang.Object
org.apache.lucene.analysis.util.AbstractAnalysisFactory
org.apache.lucene.analysis.util.TokenFilterFactory
org.apache.lucene.analysis.miscellaneous.CodepointCountFilterFactory
Factory for
CodepointCountFilter.
<fieldType name="text_lngth" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.CodepointCountFilterFactory" min="0" max="1" />
</analyzer>
</fieldType>-
Field Summary
FieldsFields inherited from class org.apache.lucene.analysis.util.AbstractAnalysisFactory
LUCENE_MATCH_VERSION_PARAM -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new CodepointCountFilterFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(TokenStream input) Transform the specified input TokenStreamMethods inherited from class org.apache.lucene.analysis.util.TokenFilterFactory
availableTokenFilters, forName, lookupClass, reloadTokenFiltersMethods inherited from class org.apache.lucene.analysis.util.AbstractAnalysisFactory
get, get, get, get, get, getChar, getClassArg, getLuceneMatchVersion, getOriginalArgs, getSet, isExplicitLuceneMatchVersion, require, require, require, requireChar, setExplicitLuceneMatchVersion
-
Field Details
-
MIN_KEY
- See Also:
-
MAX_KEY
- See Also:
-
-
Constructor Details
-
CodepointCountFilterFactory
Creates a new CodepointCountFilterFactory
-
-
Method Details
-
create
Description copied from class:TokenFilterFactoryTransform the specified input TokenStream- Specified by:
createin classTokenFilterFactory
-