Constructor ReverseStringFilter
ReverseStringFilter(LuceneVersion, TokenStream)
Create a new ReverseStringFilter that reverses all tokens in the supplied TokenStream.
The reversed tokens will not be marked.
Declaration
public ReverseStringFilter(LuceneVersion matchVersion, TokenStream in)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | lucene compatibility version |
TokenStream | in | TokenStream to filter |
ReverseStringFilter(LuceneVersion, TokenStream, Char)
Create a new ReverseStringFilter that reverses and marks all tokens in the supplied TokenStream.
The reversed tokens will be prepended (marked) by the marker
character.
Declaration
public ReverseStringFilter(LuceneVersion matchVersion, TokenStream in, char marker)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | lucene compatibility version |
TokenStream | in | TokenStream to filter |
System.Char | marker | A character used to mark reversed tokens |