Constructor FilteringTokenFilter
FilteringTokenFilter(LuceneVersion, Boolean, TokenStream)
Create a new FilteringTokenFilter.
Declaration
[Obsolete("enablePositionIncrements=false is not supported anymore as of Lucene 4.4")]
public FilteringTokenFilter(LuceneVersion version, bool enablePositionIncrements, TokenStream input)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | version | |
System.Boolean | enablePositionIncrements | whether to increment position increments when filtering out terms |
TokenStream | input | the input to consume |
FilteringTokenFilter(LuceneVersion, TokenStream)
Create a new FilteringTokenFilter.
Declaration
public FilteringTokenFilter(LuceneVersion version, TokenStream in)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | version | the Lucene match version |
TokenStream | in | the TokenStream to consume |