public class ConcatenateGraphFilterFactory extends TokenFilterFactory
ConcatenateGraphFilter.
ConcatenateGraphFilter.SEP_LABEL
should separate the input tokens in the concatenated token
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 |
|---|---|
private int |
maxGraphExpansions |
private boolean |
preservePositionIncrements |
private boolean |
preserveSep |
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion| Constructor and Description |
|---|
ConcatenateGraphFilterFactory(java.util.Map<java.lang.String,java.lang.String> args) |
| Modifier and Type | Method and Description |
|---|---|
TokenStream |
create(TokenStream input)
Transform the specified input TokenStream
|
availableTokenFilters, 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, splitFileNamesprivate boolean preserveSep
private boolean preservePositionIncrements
private int maxGraphExpansions
public ConcatenateGraphFilterFactory(java.util.Map<java.lang.String,java.lang.String> args)
public TokenStream create(TokenStream input)
TokenFilterFactorycreate in class TokenFilterFactory