Method | Description | |
---|---|---|
GetEnablePositionIncrementsVersionDefault ( Lucene.Net.Util.Version matchVersion ) : bool |
Returns version-dependent default for enablePositionIncrements. Analyzers that embed StopFilter use this method when creating the StopFilter. Prior to 2.9, this returns false. On 2.9 or later, it returns true.
|
|
IncrementToken ( ) : bool |
Returns the next input Token whose term() is not a stop word.
|
|
MakeStopSet ( ) : ISet |
Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor. This permits this stopWords construction to be cached once when an Analyzer is constructed.
|
|
MakeStopSet ( IList |
Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor. This permits this stopWords construction to be cached once when an Analyzer is constructed.
|
|
MakeStopSet ( IList |
|
|
MakeStopSet ( string stopWords, bool ignoreCase ) : ISet |
|
|
StopFilter ( bool enablePositionIncrements, |
Constructs a filter which removes words from the input TokenStream that are named in the Set.
|
|
StopFilter ( bool enablePositionIncrements, |
Construct a token stream filtering the given input. If If
|
public static GetEnablePositionIncrementsVersionDefault ( Lucene.Net.Util.Version matchVersion ) : bool | ||
matchVersion | Lucene.Net.Util.Version | |
return | bool |
public static MakeStopSet ( IList | ||
stopWords | IList | A list of strings or char[] or any other ToString()-able list representing the stop words |
return | ISet |
public static MakeStopSet ( IList | ||
stopWords | IList | A List of Strings or char[] or any other toString()-able list representing the stopwords |
ignoreCase | bool | if true, all words are lower cased first |
return | ISet |
public static MakeStopSet ( string stopWords, bool ignoreCase ) : ISet |
||
stopWords | string | An array of stopwords |
ignoreCase | bool | If true, all words are lower cased first. |
return | ISet |
public StopFilter ( bool enablePositionIncrements, |
||
enablePositionIncrements | bool | true if token positions should record the removed stop words |
@in | ||
stopWords | ISet |
A Set of strings or char[] or any other ToString()-able set representing the stopwords |
return | System |
public StopFilter ( bool enablePositionIncrements, |
||
enablePositionIncrements | bool | true if token positions should record the removed stop words |
input | Input TokenStream | |
stopWords | ISet |
A Set of strings or strings or char[] or any other ToString()-able set representing the stopwords |
ignoreCase | bool | if true, all words are lower cased first |
return | System |