Uses of Class
org.apache.lucene.search.TopDocs.ShardRef
Packages that use TopDocs.ShardRef
-
Uses of TopDocs.ShardRef in org.apache.lucene.search
Methods in org.apache.lucene.search with parameters of type TopDocs.ShardRefModifier and TypeMethodDescriptionbooleanTopDocs.MergeSortQueue.lessThan(TopDocs.ShardRef first, TopDocs.ShardRef second) booleanTopDocs.ScoreMergeSortQueue.lessThan(TopDocs.ShardRef first, TopDocs.ShardRef second) (package private) static booleanTopDocs.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.