Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Defines basic operations needed by RegexQuery for a regular expression implementation. More...
Inherited by Contrib.Regex.CSharpRegexCapabilities.
Public Member Functions | |
void | Compile (string pattern) |
Called by the constructor of RegexTermEnum allowing implementations to cache a compiled version of the regular expression pattern. | |
bool | Match (string s) |
True on match. | |
string | Prefix () |
A wise prefix implementation can reduce the term enumeration (and thus performance) of RegexQuery dramatically. | |
Defines basic operations needed by RegexQuery for a regular expression implementation.
Definition at line 24 of file IRegexCapabilities.cs.
void Contrib.Regex.IRegexCapabilities.Compile | ( | string | pattern | ) |
Called by the constructor of RegexTermEnum allowing implementations to cache a compiled version of the regular expression pattern.
pattern | regular expression pattern |
Implemented in Contrib.Regex.CSharpRegexCapabilities.
bool Contrib.Regex.IRegexCapabilities.Match | ( | string | s | ) |
True on match.
s | text to match |
Implemented in Contrib.Regex.CSharpRegexCapabilities.
string Contrib.Regex.IRegexCapabilities.Prefix | ( | ) |
A wise prefix implementation can reduce the term enumeration (and thus performance) of RegexQuery dramatically.
Implemented in Contrib.Regex.CSharpRegexCapabilities.