public class ConcatenateGraphFilterFactory extends TokenFilterFactory
ConcatenateGraphFilter.
Version.LUCENE_8_4_0
Whether ConcatenateGraphFilter.SEP_LABEL
should separate the input tokens in the concatenated token
ConcatenateGraphFilter.DEFAULT_TOKEN_SEPARATOR will be used.
If empty, tokens will be concatenated without any separators.
ConcatenateGraphFilter.SEP_LABEL.
When false, it's as if there were no missing positions
(we pretend the surrounding tokens were adjacent).
TooComplexToDeterminizeException to preserve the stability and memory of the
machine.
ConcatenateGraphFilter| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
SPI name
|
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion| Constructor and Description |
|---|
ConcatenateGraphFilterFactory(Map<String,String> args) |
| Modifier and Type | Method and Description |
|---|---|
TokenStream |
create(TokenStream input)
Transform the specified input TokenStream
|
protected Character |
getCharacter(Map<String,String> args,
String name,
Character defaultVal) |
availableTokenFilters, findSPIName, forName, lookupClass, normalize, reloadTokenFiltersget, 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, splitAt, splitFileNamespublic static final String NAME
public TokenStream create(TokenStream input)
TokenFilterFactorycreate in class TokenFilterFactoryCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.