Compares two ScoreDoc objects and returns a result indicating their
sort order.
Namespace: Lucene.Net.SearchAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
int Compare( ScoreDoc i, ScoreDoc j ) |
Visual Basic |
---|
Function Compare ( _ i As ScoreDoc, _ j As ScoreDoc _ ) As Integer |
Visual C++ |
---|
int Compare( ScoreDoc^ i, ScoreDoc^ j ) |
Parameters
- i
- Type: Lucene.Net.Search..::..ScoreDoc
First ScoreDoc
- j
- Type: Lucene.Net.Search..::..ScoreDoc
Second ScoreDoc
Return Value
a negative integer if
i

j
a positive integer if

i

j

0