com.groupbyinc.flux.common.apache.lucene.search.DiversifiedTopDocsCollector.class Maven / Gradle / Ivy
???? 4 ? Kcom/groupbyinc/flux/common/apache/lucene/search/DiversifiedTopDocsCollector ?Lcom/groupbyinc/flux/common/apache/lucene/search/TopDocsCollector; @com/groupbyinc/flux/common/apache/lucene/search/TopDocsCollector DiversifiedTopDocsCollector.java Wcom/groupbyinc/flux/common/apache/lucene/search/DiversifiedTopDocsCollector$ScoreDocKey ScoreDocKey \com/groupbyinc/flux/common/apache/lucene/search/DiversifiedTopDocsCollector$ScoreDocKeyQueue
ScoreDocKeyQueue Mcom/groupbyinc/flux/common/apache/lucene/search/DiversifiedTopDocsCollector$1
spare YLcom/groupbyinc/flux/common/apache/lucene/search/DiversifiedTopDocsCollector$ScoreDocKey; globalQueue ^Lcom/groupbyinc/flux/common/apache/lucene/search/DiversifiedTopDocsCollector$ScoreDocKeyQueue; numHits I perKeyQueues Ljava/util/Map; Ljava/util/Map; maxNumPerKey sparePerKeyQueues Ljava/util/Stack; qLjava/util/Stack; $assertionsDisabled Z (II)V (I)V
! @(Lcom/groupbyinc/flux/common/apache/lucene/util/PriorityQueue;)V #
$ java/util/Stack & ()V (
' ) + pq =Lcom/groupbyinc/flux/common/apache/lucene/util/PriorityQueue; - . / 1 java/util/HashMap 3
4 ) 6 8 : this MLcom/groupbyinc/flux/common/apache/lucene/search/DiversifiedTopDocsCollector;
maxHitsPerKey getKeys ?(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/common/apache/lucene/index/NumericDocValues; needsScores ()Z
newTopDocs w([Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;I)Lcom/groupbyinc/flux/common/apache/lucene/search/TopDocs;
EMPTY_TOPDOCS 9Lcom/groupbyinc/flux/common/apache/lucene/search/TopDocs; E F G? 8com/groupbyinc/flux/common/apache/lucene/search/ScoreDoc J score F L M K N size ()I P Q
R pop ()Ljava/lang/Object; T U
V N 7com/groupbyinc/flux/common/apache/lucene/search/TopDocs Y totalHits [ \ @(J[Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;F)V ^
Z _ i results ;[Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc; start maxScore insert ?(Lcom/groupbyinc/flux/common/apache/lucene/search/DiversifiedTopDocsCollector$ScoreDocKey;ILcom/groupbyinc/flux/common/apache/lucene/index/NumericDocValues;)Lcom/groupbyinc/flux/common/apache/lucene/search/DiversifiedTopDocsCollector$ScoreDocKey; java/io/IOException h top j U
k lessThan ?(Lcom/groupbyinc/flux/common/apache/lucene/search/DiversifiedTopDocsCollector$ScoreDocKey;Lcom/groupbyinc/flux/common/apache/lucene/search/DiversifiedTopDocsCollector$ScoreDocKey;)Z m n
o doc q r ?com/groupbyinc/flux/common/apache/lucene/index/NumericDocValues t advanceExact (I)Z v w
u x longValue ()J z {
u | java/lang/Long ~ valueOf (J)Ljava/lang/Long; ? ?
? key Ljava/lang/Long; ? ? ?
java/util/Map ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ?
' R
' V put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? insertWithOverflow ? ?
? perKeyGroupRemove \(Lcom/groupbyinc/flux/common/apache/lucene/search/DiversifiedTopDocsCollector$ScoreDocKey;)V ? ?
? remove (Ljava/lang/Object;)Z ? ?
? add ? ?
? value J globalOverflow addition docBase keys ALcom/groupbyinc/flux/common/apache/lucene/index/NumericDocValues; leafDocID thisKeyQ perKeyOverflow ? java/lang/AssertionError ?
? ) ? ? ? ? push ? ?
' ? q perKeyLowest getLeafCollector ?(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/LeafCollector; @com/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext ? ? ? ? ? @
? ?(Lcom/groupbyinc/flux/common/apache/lucene/search/DiversifiedTopDocsCollector;ILcom/groupbyinc/flux/common/apache/lucene/index/NumericDocValues;)V ?
? context BLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext; base keySource java/lang/Class ? desiredAssertionStatus ? B
? ? Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses! ? ? ? ? 8*? Y? "? %*? 'Y? *? ,**? 0? ? 2*? 4Y? 5? 7*? 9*? ;? ? 8 <