public enum PreBuiltTokenFilters extends java.lang.Enum<PreBuiltTokenFilters>
Enum Constant and Description |
---|
LOWERCASE |
Modifier and Type | Field and Description |
---|---|
protected PreBuiltCacheFactory.PreBuiltCache<TokenFilterFactory> |
cache |
Modifier and Type | Method and Description |
---|---|
abstract org.apache.lucene.analysis.TokenStream |
create(org.apache.lucene.analysis.TokenStream tokenStream,
Version version) |
PreBuiltCacheFactory.CachingStrategy |
getCachingStrategy() |
TokenFilterFactory |
getTokenFilterFactory(Version version) |
protected boolean |
isMultiTermAware() |
static PreBuiltTokenFilters |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PreBuiltTokenFilters[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreBuiltTokenFilters LOWERCASE
protected final PreBuiltCacheFactory.PreBuiltCache<TokenFilterFactory> cache
public static PreBuiltTokenFilters[] values()
for (PreBuiltTokenFilters c : PreBuiltTokenFilters.values()) System.out.println(c);
public static PreBuiltTokenFilters valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullprotected boolean isMultiTermAware()
public abstract org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream, Version version)
public PreBuiltCacheFactory.CachingStrategy getCachingStrategy()
public TokenFilterFactory getTokenFilterFactory(Version version)