Constructor TrimFilter
TrimFilter(LuceneVersion, TokenStream, Boolean)
Create a new TrimFilter.
Declaration
[Obsolete("Offset updates are not supported anymore as of Lucene 4.4.")]
public TrimFilter(LuceneVersion version, TokenStream in, bool updateOffsets)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | version | the Lucene match version |
TokenStream | in | the stream to consume |
System.Boolean | updateOffsets | whether to update offsets |
TrimFilter(LuceneVersion, TokenStream)
Create a new TrimFilter on top of in
.
Declaration
public TrimFilter(LuceneVersion version, TokenStream in)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | version | |
TokenStream | in |