ShingleFilter
Constructs a ShingleFilter with the specified shingle size from the TokenStream input
Parameters
input
input stream
minShingleSize
minimum shingle size produced by the filter.
maxShingleSize
maximum shingle size produced by the filter.
Constructs a ShingleFilter with the specified shingle size from the TokenStream input
Parameters
input
input stream
maxShingleSize
maximum shingle size produced by the filter.
Construct a ShingleFilter with default shingle size: 2.
Parameters
input
input stream
Construct a ShingleFilter with the specified token type for shingle tokens and the default shingle size: 2
Parameters
input
input stream
tokenType
token type for shingle tokens