Compares two terms, returning a negative integer if this
term belongs before the argument, zero if this term is equal to the
argument, and a positive integer if this term belongs after the argument.
The ordering of terms is first by field, then by text.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
| C# |
|---|
public int CompareTo( Term other ) |
| Visual Basic |
|---|
Public Function CompareTo ( _ other As Term _ ) As Integer |
| Visual C++ |
|---|
public: int CompareTo( Term^ other ) |
Parameters
- other
- Type: Lucene.Net.Index..::..Term
[Missing <param name="other"/> documentation for "M:Lucene.Net.Index.Term.CompareTo(Lucene.Net.Index.Term)"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Index.Term.CompareTo(Lucene.Net.Index.Term)"]