Class Lucene47WordDelimiterFilter
Old Broken version of WordDelimiterFilter
Inheritance
Implements
Inherited Members
Namespace: Lucene.Net.Analysis.Miscellaneous
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Obsolete]
public sealed class Lucene47WordDelimiterFilter : TokenFilter, IDisposableConstructors
| Improve this Doc View SourceLucene47WordDelimiterFilter(TokenStream, WordDelimiterFlags, CharArraySet)
Creates a new Lucene47WordDelimiterFilter using DEFAULT_WORD_DELIM_TABLE as its charTypeTable
Declaration
public Lucene47WordDelimiterFilter(TokenStream in, WordDelimiterFlags configurationFlags, CharArraySet protWords)Parameters
| Type | Name | Description | 
|---|---|---|
| Lucene.Net.Analysis.TokenStream | in | Lucene.Net.Analysis.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 | 
Lucene47WordDelimiterFilter(TokenStream, Byte[], WordDelimiterFlags, CharArraySet)
Creates a new Lucene47WordDelimiterFilter
Declaration
public Lucene47WordDelimiterFilter(TokenStream in, byte[] charTypeTable, WordDelimiterFlags configurationFlags, CharArraySet protWords)Parameters
| Type | Name | Description | 
|---|---|---|
| Lucene.Net.Analysis.TokenStream | in | Lucene.Net.Analysis.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 | 
Fields
| Improve this Doc View SourceALPHA
Declaration
public const int ALPHA = 3Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
ALPHANUM
Declaration
public const int ALPHANUM = 7Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
DIGIT
Declaration
public const int DIGIT = 4Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
LOWER
Declaration
public const int LOWER = 1Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
SUBWORD_DELIM
Declaration
public const int SUBWORD_DELIM = 8Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
UPPER
Declaration
public const int UPPER = 2Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
Methods
| Improve this Doc View SourceIncrementToken()
Declaration
public override bool IncrementToken()Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
Reset()
This method is called by a consumer before it begins consumption using IncrementToken().
Resets this stream to a clean state. Stateful implementations must implement this method so that they can be reused, just as if they had been created fresh.
If you override this method, always call base.Reset(), otherwise
some internal state will not be correctly reset (e.g., Lucene.Net.Analysis.Tokenizer will
throw System.InvalidOperationException on further usage).
Declaration
public override void Reset()Overrides
Remarks
NOTE:
The default implementation chains the call to the input Lucene.Net.Analysis.TokenStream, so
be sure to call base.Reset() when overriding this method.