Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TopDocs.ScoreMergeSortQueue.lessThan(TopDocs.ShardRef first,
TopDocs.ShardRef second) |
boolean |
TopDocs.MergeSortQueue.lessThan(TopDocs.ShardRef first,
TopDocs.ShardRef second) |
(package private) static boolean |
TopDocs.tieBreakLessThan(TopDocs.ShardRef first,
ScoreDoc firstDoc,
TopDocs.ShardRef second,
ScoreDoc secondDoc)
if we need to tie-break since score / sort value are the same we first compare shard index (lower shard wins)
and then iff shard index is the same we use the hit index.
|