|
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.
|
Wraps Lucene 3 TermEnum to make it look like a Lucene 4 TermsEnum SOLR-2155 More...
Public Types | |
| enum | SeekStatus { END, FOUND, NOT_FOUND } |
Public Member Functions | |
| TermsEnumCompatibility (IndexReader reader, String fieldName) | |
| TermEnum | GetTermEnum () |
| Term | Term () |
| Term | Next () |
| void | Close () |
| SeekStatus | Seek (String value) |
| SeekStatus | SeekCeil (String value) |
| Seeks to the specified term, if it exists, or to the next (ceiling) term. Returns SeekStatus to indicate whether exact term was found, a different term was found, or EOF was hit. The target term may be before or after the current term. If this returns SeekStatus.END, the enum is unpositioned. | |
| int | GetDocCount () |
| Returns the number of documents that have at least one term for this field, or -1 if this measure isn't stored by the codec. Note that, just like other term measures, this measure does not take deleted documents into account. | |
| void | Docs (OpenBitSet bits) |
| void | Docs (FixedBitSet bits) |
Wraps Lucene 3 TermEnum to make it look like a Lucene 4 TermsEnum SOLR-2155
Definition at line 34 of file TermsEnumCompatibility.cs.
| Enumerator | |
|---|---|
| END | |
| FOUND | |
| NOT_FOUND | |
Definition at line 78 of file TermsEnumCompatibility.cs.
| Lucene.Net.Spatial.Util.TermsEnumCompatibility.TermsEnumCompatibility | ( | IndexReader | reader, |
| String | fieldName | ||
| ) |
Definition at line 41 of file TermsEnumCompatibility.cs.
| void Lucene.Net.Spatial.Util.TermsEnumCompatibility.Close | ( | ) |
Definition at line 73 of file TermsEnumCompatibility.cs.
| void Lucene.Net.Spatial.Util.TermsEnumCompatibility.Docs | ( | OpenBitSet | bits | ) |
Definition at line 122 of file TermsEnumCompatibility.cs.
| void Lucene.Net.Spatial.Util.TermsEnumCompatibility.Docs | ( | FixedBitSet | bits | ) |
Definition at line 131 of file TermsEnumCompatibility.cs.
| int Lucene.Net.Spatial.Util.TermsEnumCompatibility.GetDocCount | ( | ) |
Returns the number of documents that have at least one term for this field, or -1 if this measure isn't stored by the codec. Note that, just like other term measures, this measure does not take deleted documents into account.
Definition at line 117 of file TermsEnumCompatibility.cs.
| TermEnum Lucene.Net.Spatial.Util.TermsEnumCompatibility.GetTermEnum | ( | ) |
Definition at line 48 of file TermsEnumCompatibility.cs.
| Term Lucene.Net.Spatial.Util.TermsEnumCompatibility.Next | ( | ) |
Definition at line 59 of file TermsEnumCompatibility.cs.
| SeekStatus Lucene.Net.Spatial.Util.TermsEnumCompatibility.Seek | ( | String | value | ) |
Definition at line 85 of file TermsEnumCompatibility.cs.
| SeekStatus Lucene.Net.Spatial.Util.TermsEnumCompatibility.SeekCeil | ( | String | value | ) |
Seeks to the specified term, if it exists, or to the next (ceiling) term. Returns SeekStatus to indicate whether exact term was found, a different term was found, or EOF was hit. The target term may be before or after the current term. If this returns SeekStatus.END, the enum is unpositioned.
| value |
Definition at line 104 of file TermsEnumCompatibility.cs.
| Term Lucene.Net.Spatial.Util.TermsEnumCompatibility.Term | ( | ) |
Definition at line 53 of file TermsEnumCompatibility.cs.
1.8.3