public class LimitTokenCountFilterFactory extends AbstractTokenFilterFactory
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_CONSUME_ALL_TOKENS |
static int |
DEFAULT_MAX_TOKEN_COUNT |
version
componentSettings, index, indexSettings, logger
Constructor and Description |
---|
LimitTokenCountFilterFactory(Index index,
Settings indexSettings,
Environment env,
String name,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.analysis.TokenStream |
create(org.apache.lucene.analysis.TokenStream tokenStream) |
name, version
index, nodeName
public static final int DEFAULT_MAX_TOKEN_COUNT
public static final boolean DEFAULT_CONSUME_ALL_TOKENS
@Inject public LimitTokenCountFilterFactory(Index index, @IndexSettings Settings indexSettings, Environment env, String name, Settings settings)
Copyright © 2009–2015. All rights reserved.