Constructor WordDelimiterFilter
WordDelimiterFilter(LuceneVersion, TokenStream, Byte[], WordDelimiterFlags, CharArraySet)
Creates a new WordDelimiterFilter
Declaration
public WordDelimiterFilter(LuceneVersion matchVersion, TokenStream in, byte[] charTypeTable, WordDelimiterFlags configurationFlags, CharArraySet protWords)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | lucene compatibility version |
TokenStream | in | TokenStream to be filtered |
System.Byte[] | charTypeTable | table containing character types |
WordDelimiterFlags | configurationFlags | Flags configuring the filter |
CharArraySet | protWords | If not null is the set of tokens to protect from being delimited |
WordDelimiterFilter(LuceneVersion, TokenStream, WordDelimiterFlags, CharArraySet)
Creates a new WordDelimiterFilter using DEFAULT_WORD_DELIM_TABLE as its charTypeTable
Declaration
public WordDelimiterFilter(LuceneVersion matchVersion, TokenStream in, WordDelimiterFlags configurationFlags, CharArraySet protWords)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | lucene compatibility version |
TokenStream | in | TokenStream to be filtered |
WordDelimiterFlags | configurationFlags | Flags configuring the filter |
CharArraySet | protWords | If not null is the set of tokens to protect from being delimited |