com.groupbyinc.flux.common.apache.lucene.search.TopFieldCollector.class Maven / Gradle / Ivy
???? 4 Acom/groupbyinc/flux/common/apache/lucene/search/TopFieldCollector ?Lcom/groupbyinc/flux/common/apache/lucene/search/TopDocsCollector; @com/groupbyinc/flux/common/apache/lucene/search/TopDocsCollector TopFieldCollector.java Ccom/groupbyinc/flux/common/apache/lucene/search/TopFieldCollector$1 Vcom/groupbyinc/flux/common/apache/lucene/search/TopFieldCollector$PagingFieldCollector PagingFieldCollector Vcom/groupbyinc/flux/common/apache/lucene/search/TopFieldCollector$SimpleFieldCollector SimpleFieldCollector ^com/groupbyinc/flux/common/apache/lucene/search/TopFieldCollector$MultiComparatorLeafCollector MultiComparatorLeafCollector Hcom/groupbyinc/flux/common/apache/lucene/search/FieldValueHitQueue$Entry Bcom/groupbyinc/flux/common/apache/lucene/search/FieldValueHitQueue Entry EMPTY_SCOREDOCS ;[Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;
fillFields Z maxScore F numHits I bottom JLcom/groupbyinc/flux/common/apache/lucene/search/FieldValueHitQueue$Entry; queueFull docBase earlyTerminated needsScores canEarlyTerminate o(Lcom/groupbyinc/flux/common/apache/lucene/search/Sort;Lcom/groupbyinc/flux/common/apache/lucene/search/Sort;)Z 4com/groupbyinc/flux/common/apache/lucene/search/Sort ' getSort >()[Lcom/groupbyinc/flux/common/apache/lucene/search/SortField; ) *
( + <[Lcom/groupbyinc/flux/common/apache/lucene/search/SortField; - java/util/Arrays / asList %([Ljava/lang/Object;)Ljava/util/List; 1 2
0 3 java/util/List 5 subList (II)Ljava/util/List; 7 8 6 9 equals (Ljava/lang/Object;)Z ; < 6 =
searchSort 6Lcom/groupbyinc/flux/common/apache/lucene/search/Sort; indexSort fields1 fields2 estimateRemainingHits (III)I hitCount doc maxDoc hitRatio D
remainingDocs
remainingHits C(Lcom/groupbyinc/flux/common/apache/lucene/util/PriorityQueue;IZZ)V @(Lcom/groupbyinc/flux/common/apache/lucene/util/PriorityQueue;)V M O
P? S U # W $ Y [ ] this CLcom/groupbyinc/flux/common/apache/lucene/search/TopFieldCollector; pq ?Lcom/groupbyinc/flux/common/apache/lucene/util/PriorityQueue; =Lcom/groupbyinc/flux/common/apache/lucene/util/PriorityQueue; ()Z create (Lcom/groupbyinc/flux/common/apache/lucene/search/Sort;IZZZ)Lcom/groupbyinc/flux/common/apache/lucene/search/TopFieldCollector; Ljava/lang/Deprecated; ?(Lcom/groupbyinc/flux/common/apache/lucene/search/Sort;IZZZZ)Lcom/groupbyinc/flux/common/apache/lucene/search/TopFieldCollector; e h
i sort trackDocScores
trackMaxScore ?(Lcom/groupbyinc/flux/common/apache/lucene/search/Sort;ILcom/groupbyinc/flux/common/apache/lucene/search/FieldDoc;ZZZZ)Lcom/groupbyinc/flux/common/apache/lucene/search/TopFieldCollector; e n
o trackTotalHits ?(Lcom/groupbyinc/flux/common/apache/lucene/search/Sort;ILcom/groupbyinc/flux/common/apache/lucene/search/FieldDoc;ZZZ)Lcom/groupbyinc/flux/common/apache/lucene/search/TopFieldCollector; after :Lcom/groupbyinc/flux/common/apache/lucene/search/FieldDoc; fields u - ( v "java/lang/IllegalArgumentException x $Sort must contain at least one field z (Ljava/lang/String;)V M |
y } [numHits must be > 0; please use TotalHitCountCollector if you just need the total hit count ?([Lcom/groupbyinc/flux/common/apache/lucene/search/SortField;I)Lcom/groupbyinc/flux/common/apache/lucene/search/FieldValueHitQueue; e ?
? ?(Lcom/groupbyinc/flux/common/apache/lucene/search/Sort;Lcom/groupbyinc/flux/common/apache/lucene/search/FieldValueHitQueue;IZZZZ)V M ?
? 8com/groupbyinc/flux/common/apache/lucene/search/FieldDoc ? [Ljava/lang/Object; u ? ? ? Nafter.fields wasn't set; you must pass fillFields=true for the previous search ? java/lang/StringBuilder ? ()V M ?
? ? after.fields has ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (I)Ljava/lang/StringBuilder; ? ?
? ? values but sort has ? toString ()Ljava/lang/String; ? ?
? ? ?(Lcom/groupbyinc/flux/common/apache/lucene/search/Sort;Lcom/groupbyinc/flux/common/apache/lucene/search/FieldValueHitQueue;Lcom/groupbyinc/flux/common/apache/lucene/search/FieldDoc;IZZZZ)V M ?
? queue ?Lcom/groupbyinc/flux/common/apache/lucene/search/FieldValueHitQueue; DLcom/groupbyinc/flux/common/apache/lucene/search/FieldValueHitQueue; add (IIF)V a c ? " ? M ?
? ;com/groupbyinc/flux/common/apache/lucene/util/PriorityQueue ? &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ? totalHits ? ? ! ? slot score updateBottom (I)V G ? updateTop ()Ljava/lang/Object; ? ?
? ? (IF)V ? ? populateResults ?([Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;I)V pop ? ?
? ?(Lcom/groupbyinc/flux/common/apache/lucene/search/FieldValueHitQueue$Entry;)Lcom/groupbyinc/flux/common/apache/lucene/search/FieldDoc; ?
?
? ? M ?
? ? i entry results howMany
newTopDocs w([Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;I)Lcom/groupbyinc/flux/common/apache/lucene/search/TopDocs; ?