Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Public Member Functions | Protected Member Functions | List of all members
Lucene.Net.Analysis.Ext.LetterOrDigitTokenizer Class Reference

if a char is not a letter or digit, it is a word separator More...

Inherits Lucene.Net.Analysis.CharTokenizer.

Public Member Functions

 LetterOrDigitTokenizer (TextReader reader)
 
 
- Public Member Functions inherited from Lucene.Net.Analysis.CharTokenizer
override bool IncrementToken ()
 Consumers (i.e., IndexWriter) use this method to advance the stream to the next token. Implementing classes must implement this method and update the appropriate Util.Attributes with the attributes of the next token.
 
override void End ()
 This method is called by the consumer after the last token has been consumed, after IncrementToken returned false (using the new TokenStream API). Streams implementing the old API should upgrade to use this feature. This method can be used to perform any end-of-stream operations, such as setting the final offset of a stream. The final offset of a stream might differ from the offset of the last token eg in case one or more whitespaces followed after the last token, but a WhitespaceTokenizer was used.
 
override void Reset (System.IO.TextReader input)
 Expert: Reset the tokenizer to a new reader. Typically, an analyzer (in its reusableTokenStream method) will use this to re-use a previously created tokenizer.
 

Protected Member Functions

override bool IsTokenChar (char c)
 
 
- Protected Member Functions inherited from Lucene.Net.Analysis.CharTokenizer
 CharTokenizer (System.IO.TextReader input)
 
 CharTokenizer (AttributeSource source, System.IO.TextReader input)
 
 CharTokenizer (AttributeFactory factory, System.IO.TextReader input)
 
- Protected Member Functions inherited from Lucene.Net.Analysis.Tokenizer
override void Dispose (bool disposing)
 

Additional Inherited Members

- Properties inherited from Lucene.Net.Util.AttributeSource
virtual AttributeFactory Factory [get]
 Returns the used AttributeFactory.
 
virtual bool HasAttributes [get]
 Returns true, iff this AttributeSource has any attributes
 

Detailed Description

if a char is not a letter or digit, it is a word separator

Definition at line 151 of file Analysis.Ext.cs.

Constructor & Destructor Documentation

Lucene.Net.Analysis.Ext.LetterOrDigitTokenizer.LetterOrDigitTokenizer ( TextReader  reader)

Definition at line 155 of file Analysis.Ext.cs.

Member Function Documentation

override bool Lucene.Net.Analysis.Ext.LetterOrDigitTokenizer.IsTokenChar ( char  c)
protectedvirtual

Implements Lucene.Net.Analysis.CharTokenizer.

Definition at line 161 of file Analysis.Ext.cs.


The documentation for this class was generated from the following file: