public class LimitTokenCountFilterFactory extends AbstractTokenFilterFactory
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_CONSUME_ALL_TOKENS |
static int |
DEFAULT_MAX_TOKEN_COUNT |
version
deprecationLogger, index, indexSettings, logger
Constructor and Description |
---|
LimitTokenCountFilterFactory(Index index,
IndexSettingsService indexSettingsService,
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, indexSettings
public static final int DEFAULT_MAX_TOKEN_COUNT
public static final boolean DEFAULT_CONSUME_ALL_TOKENS
@Inject public LimitTokenCountFilterFactory(Index index, IndexSettingsService indexSettingsService, Environment env, String name, Settings settings)
Copyright © 2009–2016. All rights reserved.