Lucene.Net 1.4.3 Class Library

Term.CompareTo Method (Term)

Compares two terms, returning an integer which is less than zero iff this term belongs after the argument, equal zero iff this term is equal to the argument, and greater than zero iff this term belongs after the argument. The ordering of terms is first by Field, then by text.

public int CompareTo(
   Term other
);

See Also

Term Class | Lucene.Net.Index Namespace | Term.CompareTo Overload List