Class KeepWordFilter
A Token
@since solr 1.3
Inheritance
System.Object
KeepWordFilter
Implements
IDisposable
Inherited Members
Namespace: Lucene.Net.Analysis.Miscellaneous
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class KeepWordFilter : FilteringTokenFilter, IDisposable
Constructors
| Improve this Doc View SourceKeepWordFilter(LuceneVersion, TokenStream, CharArraySet)
Create a new Keep
NOTE
: The words set passed to this constructor will be directly
used by this filter and should not be modified.
Declaration
public KeepWordFilter(LuceneVersion version, TokenStream in, CharArraySet words)
Parameters
Type | Name | Description |
---|---|---|
Lucene |
version | the Lucene match version |
Token |
in | the Token |
Char |
words | the words to keep |
KeepWordFilter(LuceneVersion, Boolean, TokenStream, CharArraySet)
Declaration
public KeepWordFilter(LuceneVersion version, bool enablePositionIncrements, TokenStream in, CharArraySet words)
Parameters
Type | Name | Description |
---|---|---|
Lucene |
version | |
System. |
enablePositionIncrements | |
Token |
in | |
Char |
words |
Methods
| Improve this Doc View SourceAccept()
Declaration
protected override bool Accept()
Returns
Type | Description |
---|---|
System. |
Overrides
Implements
IDisposable