Constructor EdgeNGramTokenFilter
EdgeNGramTokenFilter(LuceneVersion, TokenStream, EdgeNGramTokenFilter.Side, Int32, Int32)
Creates EdgeNGramTokenFilter that can generate n-grams in the sizes of the given range
Declaration
[Obsolete]
public EdgeNGramTokenFilter(LuceneVersion version, TokenStream input, EdgeNGramTokenFilter.Side side, int minGram, int maxGram)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | version | the Lucene match version - See LuceneVersion |
TokenStream | input | TokenStream holding the input to be tokenized |
EdgeNGramTokenFilter.Side | side | the EdgeNGramTokenFilter.Side from which to chop off an n-gram |
System.Int32 | minGram | the smallest n-gram to generate |
System.Int32 | maxGram | the largest n-gram to generate |
EdgeNGramTokenFilter(LuceneVersion, TokenStream, String, Int32, Int32)
Creates EdgeNGramTokenFilter that can generate n-grams in the sizes of the given range
Declaration
[Obsolete]
public EdgeNGramTokenFilter(LuceneVersion version, TokenStream input, string sideLabel, int minGram, int maxGram)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | version | the Lucene match version - See LuceneVersion |
TokenStream | input | TokenStream holding the input to be tokenized |
System.String | sideLabel | the name of the EdgeNGramTokenFilter.Side from which to chop off an n-gram |
System.Int32 | minGram | the smallest n-gram to generate |
System.Int32 | maxGram | the largest n-gram to generate |
EdgeNGramTokenFilter(LuceneVersion, TokenStream, Int32, Int32)
Creates EdgeNGramTokenFilter that can generate n-grams in the sizes of the given range
Declaration
public EdgeNGramTokenFilter(LuceneVersion version, TokenStream input, int minGram, int maxGram)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | version | the Lucene match version - See LuceneVersion |
TokenStream | input | TokenStream holding the input to be tokenized |
System.Int32 | minGram | the smallest n-gram to generate |
System.Int32 | maxGram | the largest n-gram to generate |