|
Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
C# Regex based implementation of IRegexCapabilities. More...
Inherits Contrib.Regex.IRegexCapabilities, and IEquatable< 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. | |
| bool | Equals (CSharpRegexCapabilities other) |
| Indicates whether the current object is equal to another object of the same type. | |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
C# Regex based implementation of IRegexCapabilities.
Definition at line 26 of file CSharpRegexCapabilities.cs.
| void Contrib.Regex.CSharpRegexCapabilities.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 |
Implements Contrib.Regex.IRegexCapabilities.
Definition at line 35 of file CSharpRegexCapabilities.cs.
| bool Contrib.Regex.CSharpRegexCapabilities.Equals | ( | CSharpRegexCapabilities | other | ) |
Indicates whether the current object is equal to another object of the same type.
| other | An object to compare with this object |
Definition at line 69 of file CSharpRegexCapabilities.cs.
| override bool Contrib.Regex.CSharpRegexCapabilities.Equals | ( | object | obj | ) |
Definition at line 80 of file CSharpRegexCapabilities.cs.
| override int Contrib.Regex.CSharpRegexCapabilities.GetHashCode | ( | ) |
Definition at line 86 of file CSharpRegexCapabilities.cs.
| bool Contrib.Regex.CSharpRegexCapabilities.Match | ( | string | s | ) |
True on match.
| s | text to match |
Implements Contrib.Regex.IRegexCapabilities.
Definition at line 46 of file CSharpRegexCapabilities.cs.
| string Contrib.Regex.CSharpRegexCapabilities.Prefix | ( | ) |
A wise prefix implementation can reduce the term enumeration (and thus performance) of RegexQuery dramatically.
Implements Contrib.Regex.IRegexCapabilities.
Definition at line 57 of file CSharpRegexCapabilities.cs.
1.8.3