Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Public Member Functions | Protected Member Functions | List of all members
Contrib.Regex.RegexTermEnum Class Reference

Subclass of FilteredTermEnum for enumerating all terms that match the specified regular expression term using the specified regular expression implementation. More...

Inherits Lucene.Net.Search.FilteredTermEnum.

Public Member Functions

 RegexTermEnum (IndexReader reader, Term term, IRegexCapabilities regexImpl)
 
override float Difference ()
 Equality measure on the term
 
override bool EndEnum ()
 Indicates the end of the enumeration has been reached
 
- Public Member Functions inherited from Lucene.Net.Search.FilteredTermEnum
override int DocFreq ()
 Returns the docFreq of the current Term in the enumeration. Returns -1 if no Term matches or all terms have been enumerated.
 
override bool Next ()
 Increments the enumeration to the next element. True if one exists.
 

Protected Member Functions

override bool TermCompare (Term term)
 Equality compare on the term
 
- Protected Member Functions inherited from Lucene.Net.Search.FilteredTermEnum
 FilteredTermEnum ()
 
override void Dispose (bool disposing)
 

Additional Inherited Members

- Properties inherited from Lucene.Net.Search.FilteredTermEnum
override Term Term [get]
 Returns the current Term in the enumeration. Returns null if no Term matches or all terms have been enumerated.
 

Detailed Description

Subclass of FilteredTermEnum for enumerating all terms that match the specified regular expression term using the specified regular expression implementation.

Term enumerations are always ordered by Term.compareTo(). Each term in the enumeration is greater than all that precede it.

http://www.java2s.com/Open-Source/Java-Document/Net/lucene-connector/org/apache/lucene/search/regex/RegexTermEnum.java.htm

Definition at line 31 of file RegexTermEnum.cs.

Constructor & Destructor Documentation

Contrib.Regex.RegexTermEnum.RegexTermEnum ( IndexReader  reader,
Term  term,
IRegexCapabilities  regexImpl 
)

Definition at line 38 of file RegexTermEnum.cs.

Member Function Documentation

override float Contrib.Regex.RegexTermEnum.Difference ( )
virtual

Equality measure on the term

Implements Lucene.Net.Search.FilteredTermEnum.

Definition at line 66 of file RegexTermEnum.cs.

override bool Contrib.Regex.RegexTermEnum.EndEnum ( )
virtual

Indicates the end of the enumeration has been reached

Implements Lucene.Net.Search.FilteredTermEnum.

Definition at line 73 of file RegexTermEnum.cs.

override bool Contrib.Regex.RegexTermEnum.TermCompare ( Term  term)
protectedvirtual

Equality compare on the term

Implements Lucene.Net.Search.FilteredTermEnum.

Definition at line 53 of file RegexTermEnum.cs.


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