Class Lucene47WordDelimiterFilter
Old Broken version of WordDelimiterFilter
Implements
Inherited Members
Namespace: Lucene.Net.Analysis.Miscellaneous
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class Lucene47WordDelimiterFilter : TokenFilter, IDisposable
Constructors
| 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 |
---|---|---|
TokenStream | in | 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 |
---|---|---|
TokenStream | in | 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 = null
Field Value
Type | Description |
---|---|
System.Int32 |
ALPHANUM
Declaration
public const int ALPHANUM = null
Field Value
Type | Description |
---|---|
System.Int32 |
DIGIT
Declaration
public const int DIGIT = null
Field Value
Type | Description |
---|---|
System.Int32 |
LOWER
Declaration
public const int LOWER = null
Field Value
Type | Description |
---|---|
System.Int32 |
SUBWORD_DELIM
Declaration
public const int SUBWORD_DELIM = null
Field Value
Type | Description |
---|---|
System.Int32 |
UPPER
Declaration
public const int UPPER = null
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceIncrementToken()
Declaration
public override bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceReset()
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., Tokenizer will
throw
Declaration
public override void Reset()
Overrides
Remarks
NOTE:
The default implementation chains the call to the input TokenStream, so
be sure to call base.Reset()
when overriding this method.