public class org.apache.lucene.search.TopDocs
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.lucene.search.TopDocs
  super_class: java.lang.Object
{
  public org.apache.lucene.search.TotalHits totalHits;
    descriptor: Lorg/apache/lucene/search/TotalHits;
    flags: (0x0001) ACC_PUBLIC

  public org.apache.lucene.search.ScoreDoc[] scoreDocs;
    descriptor: [Lorg/apache/lucene/search/ScoreDoc;
    flags: (0x0001) ACC_PUBLIC

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 23
            ldc Lorg/apache/lucene/search/TopDocs;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.apache.lucene.search.TopDocs.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(org.apache.lucene.search.TotalHits, org.apache.lucene.search.ScoreDoc[]);
    descriptor: (Lorg/apache/lucene/search/TotalHits;[Lorg/apache/lucene/search/ScoreDoc;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.apache.lucene.search.TopDocs this
        start local 1 // org.apache.lucene.search.TotalHits totalHits
        start local 2 // org.apache.lucene.search.ScoreDoc[] scoreDocs
         0: .line 32
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 33
            aload 0 /* this */
            aload 1 /* totalHits */
            putfield org.apache.lucene.search.TopDocs.totalHits:Lorg/apache/lucene/search/TotalHits;
         2: .line 34
            aload 0 /* this */
            aload 2 /* scoreDocs */
            putfield org.apache.lucene.search.TopDocs.scoreDocs:[Lorg/apache/lucene/search/ScoreDoc;
         3: .line 35
            return
        end local 2 // org.apache.lucene.search.ScoreDoc[] scoreDocs
        end local 1 // org.apache.lucene.search.TotalHits totalHits
        end local 0 // org.apache.lucene.search.TopDocs this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Lorg/apache/lucene/search/TopDocs;
            0    4     1  totalHits  Lorg/apache/lucene/search/TotalHits;
            0    4     2  scoreDocs  [Lorg/apache/lucene/search/ScoreDoc;
    MethodParameters:
           Name  Flags
      totalHits  
      scoreDocs  

  static boolean tieBreakLessThan(org.apache.lucene.search.TopDocs$ShardRef, org.apache.lucene.search.ScoreDoc, org.apache.lucene.search.TopDocs$ShardRef, org.apache.lucene.search.ScoreDoc);
    descriptor: (Lorg/apache/lucene/search/TopDocs$ShardRef;Lorg/apache/lucene/search/ScoreDoc;Lorg/apache/lucene/search/TopDocs$ShardRef;Lorg/apache/lucene/search/ScoreDoc;)Z
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=6, args_size=4
        start local 0 // org.apache.lucene.search.TopDocs$ShardRef first
        start local 1 // org.apache.lucene.search.ScoreDoc firstDoc
        start local 2 // org.apache.lucene.search.TopDocs$ShardRef second
        start local 3 // org.apache.lucene.search.ScoreDoc secondDoc
         0: .line 76
            aload 0 /* first */
            aload 1 /* firstDoc */
            invokevirtual org.apache.lucene.search.TopDocs$ShardRef.getShardIndex:(Lorg/apache/lucene/search/ScoreDoc;)I
            istore 4 /* firstShardIndex */
        start local 4 // int firstShardIndex
         1: .line 77
            aload 2 /* second */
            aload 3 /* secondDoc */
            invokevirtual org.apache.lucene.search.TopDocs$ShardRef.getShardIndex:(Lorg/apache/lucene/search/ScoreDoc;)I
            istore 5 /* secondShardIndex */
        start local 5 // int secondShardIndex
         2: .line 79
            iload 4 /* firstShardIndex */
            iload 5 /* secondShardIndex */
            if_icmpge 4
         3: .line 80
            iconst_1
            ireturn
         4: .line 81
      StackMap locals: int int
      StackMap stack:
            iload 4 /* firstShardIndex */
            iload 5 /* secondShardIndex */
            if_icmple 6
         5: .line 82
            iconst_0
            ireturn
         6: .line 86
      StackMap locals:
      StackMap stack:
            getstatic org.apache.lucene.search.TopDocs.$assertionsDisabled:Z
            ifne 7
            aload 0 /* first */
            getfield org.apache.lucene.search.TopDocs$ShardRef.hitIndex:I
            aload 2 /* second */
            getfield org.apache.lucene.search.TopDocs$ShardRef.hitIndex:I
            if_icmpne 7
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         7: .line 87
      StackMap locals:
      StackMap stack:
            aload 0 /* first */
            getfield org.apache.lucene.search.TopDocs$ShardRef.hitIndex:I
            aload 2 /* second */
            getfield org.apache.lucene.search.TopDocs$ShardRef.hitIndex:I
            if_icmpge 8
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         8: iconst_0
            ireturn
        end local 5 // int secondShardIndex
        end local 4 // int firstShardIndex
        end local 3 // org.apache.lucene.search.ScoreDoc secondDoc
        end local 2 // org.apache.lucene.search.TopDocs$ShardRef second
        end local 1 // org.apache.lucene.search.ScoreDoc firstDoc
        end local 0 // org.apache.lucene.search.TopDocs$ShardRef first
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    9     0             first  Lorg/apache/lucene/search/TopDocs$ShardRef;
            0    9     1          firstDoc  Lorg/apache/lucene/search/ScoreDoc;
            0    9     2            second  Lorg/apache/lucene/search/TopDocs$ShardRef;
            0    9     3         secondDoc  Lorg/apache/lucene/search/ScoreDoc;
            1    9     4   firstShardIndex  I
            2    9     5  secondShardIndex  I
    MethodParameters:
           Name  Flags
      first      
      firstDoc   
      second     
      secondDoc  

  public static org.apache.lucene.search.TopDocs merge(int, org.apache.lucene.search.TopDocs[]);
    descriptor: (I[Lorg/apache/lucene/search/TopDocs;)Lorg/apache/lucene/search/TopDocs;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // int topN
        start local 1 // org.apache.lucene.search.TopDocs[] shardHits
         0: .line 189
            iconst_0
            iload 0 /* topN */
            aload 1 /* shardHits */
            iconst_1
            invokestatic org.apache.lucene.search.TopDocs.merge:(II[Lorg/apache/lucene/search/TopDocs;Z)Lorg/apache/lucene/search/TopDocs;
            areturn
        end local 1 // org.apache.lucene.search.TopDocs[] shardHits
        end local 0 // int topN
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       topN  I
            0    1     1  shardHits  [Lorg/apache/lucene/search/TopDocs;
    MethodParameters:
           Name  Flags
      topN       
      shardHits  

  public static org.apache.lucene.search.TopDocs merge(int, int, org.apache.lucene.search.TopDocs[], boolean);
    descriptor: (II[Lorg/apache/lucene/search/TopDocs;Z)Lorg/apache/lucene/search/TopDocs;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // int start
        start local 1 // int topN
        start local 2 // org.apache.lucene.search.TopDocs[] shardHits
        start local 3 // boolean setShardIndex
         0: .line 204
            aconst_null
            iload 0 /* start */
            iload 1 /* topN */
            aload 2 /* shardHits */
            iload 3 /* setShardIndex */
            invokestatic org.apache.lucene.search.TopDocs.mergeAux:(Lorg/apache/lucene/search/Sort;II[Lorg/apache/lucene/search/TopDocs;Z)Lorg/apache/lucene/search/TopDocs;
            areturn
        end local 3 // boolean setShardIndex
        end local 2 // org.apache.lucene.search.TopDocs[] shardHits
        end local 1 // int topN
        end local 0 // int start
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    1     0          start  I
            0    1     1           topN  I
            0    1     2      shardHits  [Lorg/apache/lucene/search/TopDocs;
            0    1     3  setShardIndex  Z
    MethodParameters:
               Name  Flags
      start          
      topN           
      shardHits      
      setShardIndex  

  public static org.apache.lucene.search.TopFieldDocs merge(org.apache.lucene.search.Sort, int, org.apache.lucene.search.TopFieldDocs[]);
    descriptor: (Lorg/apache/lucene/search/Sort;I[Lorg/apache/lucene/search/TopFieldDocs;)Lorg/apache/lucene/search/TopFieldDocs;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // org.apache.lucene.search.Sort sort
        start local 1 // int topN
        start local 2 // org.apache.lucene.search.TopFieldDocs[] shardHits
         0: .line 216
            aload 0 /* sort */
            iconst_0
            iload 1 /* topN */
            aload 2 /* shardHits */
            iconst_1
            invokestatic org.apache.lucene.search.TopDocs.merge:(Lorg/apache/lucene/search/Sort;II[Lorg/apache/lucene/search/TopFieldDocs;Z)Lorg/apache/lucene/search/TopFieldDocs;
            areturn
        end local 2 // org.apache.lucene.search.TopFieldDocs[] shardHits
        end local 1 // int topN
        end local 0 // org.apache.lucene.search.Sort sort
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       sort  Lorg/apache/lucene/search/Sort;
            0    1     1       topN  I
            0    1     2  shardHits  [Lorg/apache/lucene/search/TopFieldDocs;
    MethodParameters:
           Name  Flags
      sort       
      topN       
      shardHits  

  public static org.apache.lucene.search.TopFieldDocs merge(org.apache.lucene.search.Sort, int, int, org.apache.lucene.search.TopFieldDocs[], boolean);
    descriptor: (Lorg/apache/lucene/search/Sort;II[Lorg/apache/lucene/search/TopFieldDocs;Z)Lorg/apache/lucene/search/TopFieldDocs;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=5, args_size=5
        start local 0 // org.apache.lucene.search.Sort sort
        start local 1 // int start
        start local 2 // int topN
        start local 3 // org.apache.lucene.search.TopFieldDocs[] shardHits
        start local 4 // boolean setShardIndex
         0: .line 231
            aload 0 /* sort */
            ifnonnull 2
         1: .line 232
            new java.lang.IllegalArgumentException
            dup
            ldc "sort must be non-null when merging field-docs"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 234
      StackMap locals:
      StackMap stack:
            aload 0 /* sort */
            iload 1 /* start */
            iload 2 /* topN */
            aload 3 /* shardHits */
            iload 4 /* setShardIndex */
            invokestatic org.apache.lucene.search.TopDocs.mergeAux:(Lorg/apache/lucene/search/Sort;II[Lorg/apache/lucene/search/TopDocs;Z)Lorg/apache/lucene/search/TopDocs;
            checkcast org.apache.lucene.search.TopFieldDocs
            areturn
        end local 4 // boolean setShardIndex
        end local 3 // org.apache.lucene.search.TopFieldDocs[] shardHits
        end local 2 // int topN
        end local 1 // int start
        end local 0 // org.apache.lucene.search.Sort sort
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    3     0           sort  Lorg/apache/lucene/search/Sort;
            0    3     1          start  I
            0    3     2           topN  I
            0    3     3      shardHits  [Lorg/apache/lucene/search/TopFieldDocs;
            0    3     4  setShardIndex  Z
    MethodParameters:
               Name  Flags
      sort           
      start          
      topN           
      shardHits      
      setShardIndex  

  private static org.apache.lucene.search.TopDocs mergeAux(org.apache.lucene.search.Sort, int, int, org.apache.lucene.search.TopDocs[], boolean);
    descriptor: (Lorg/apache/lucene/search/Sort;II[Lorg/apache/lucene/search/TopDocs;Z)Lorg/apache/lucene/search/TopDocs;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=16, args_size=5
        start local 0 // org.apache.lucene.search.Sort sort
        start local 1 // int start
        start local 2 // int size
        start local 3 // org.apache.lucene.search.TopDocs[] shardHits
        start local 4 // boolean setShardIndex
         0: .line 242
            aload 0 /* sort */
            ifnonnull 3
         1: .line 243
            new org.apache.lucene.search.TopDocs$ScoreMergeSortQueue
            dup
            aload 3 /* shardHits */
            invokespecial org.apache.lucene.search.TopDocs$ScoreMergeSortQueue.<init>:([Lorg/apache/lucene/search/TopDocs;)V
            astore 5 /* queue */
        start local 5 // org.apache.lucene.util.PriorityQueue queue
         2: .line 244
            goto 4
        end local 5 // org.apache.lucene.util.PriorityQueue queue
         3: .line 245
      StackMap locals:
      StackMap stack:
            new org.apache.lucene.search.TopDocs$MergeSortQueue
            dup
            aload 0 /* sort */
            aload 3 /* shardHits */
            invokespecial org.apache.lucene.search.TopDocs$MergeSortQueue.<init>:(Lorg/apache/lucene/search/Sort;[Lorg/apache/lucene/search/TopDocs;)V
            astore 5 /* queue */
        start local 5 // org.apache.lucene.util.PriorityQueue queue
         4: .line 248
      StackMap locals: org.apache.lucene.util.PriorityQueue
      StackMap stack:
            lconst_0
            lstore 6 /* totalHitCount */
        start local 6 // long totalHitCount
         5: .line 249
            getstatic org.apache.lucene.search.TotalHits$Relation.EQUAL_TO:Lorg/apache/lucene/search/TotalHits$Relation;
            astore 8 /* totalHitsRelation */
        start local 8 // org.apache.lucene.search.TotalHits$Relation totalHitsRelation
         6: .line 250
            iconst_0
            istore 9 /* availHitCount */
        start local 9 // int availHitCount
         7: .line 251
            iconst_0
            istore 10 /* shardIDX */
        start local 10 // int shardIDX
         8: goto 20
         9: .line 252
      StackMap locals: org.apache.lucene.search.Sort int int org.apache.lucene.search.TopDocs[] int org.apache.lucene.util.PriorityQueue long org.apache.lucene.search.TotalHits$Relation int int
      StackMap stack:
            aload 3 /* shardHits */
            iload 10 /* shardIDX */
            aaload
            astore 11 /* shard */
        start local 11 // org.apache.lucene.search.TopDocs shard
        10: .line 255
            lload 6 /* totalHitCount */
            aload 11 /* shard */
            getfield org.apache.lucene.search.TopDocs.totalHits:Lorg/apache/lucene/search/TotalHits;
            getfield org.apache.lucene.search.TotalHits.value:J
            ladd
            lstore 6 /* totalHitCount */
        11: .line 258
            aload 11 /* shard */
            getfield org.apache.lucene.search.TopDocs.totalHits:Lorg/apache/lucene/search/TotalHits;
            getfield org.apache.lucene.search.TotalHits.relation:Lorg/apache/lucene/search/TotalHits$Relation;
            getstatic org.apache.lucene.search.TotalHits$Relation.GREATER_THAN_OR_EQUAL_TO:Lorg/apache/lucene/search/TotalHits$Relation;
            if_acmpne 13
        12: .line 259
            getstatic org.apache.lucene.search.TotalHits$Relation.GREATER_THAN_OR_EQUAL_TO:Lorg/apache/lucene/search/TotalHits$Relation;
            astore 8 /* totalHitsRelation */
        13: .line 261
      StackMap locals: org.apache.lucene.search.TopDocs
      StackMap stack:
            aload 11 /* shard */
            getfield org.apache.lucene.search.TopDocs.scoreDocs:[Lorg/apache/lucene/search/ScoreDoc;
            ifnull 19
            aload 11 /* shard */
            getfield org.apache.lucene.search.TopDocs.scoreDocs:[Lorg/apache/lucene/search/ScoreDoc;
            arraylength
            ifle 19
        14: .line 262
            iload 9 /* availHitCount */
            aload 11 /* shard */
            getfield org.apache.lucene.search.TopDocs.scoreDocs:[Lorg/apache/lucene/search/ScoreDoc;
            arraylength
            iadd
            istore 9 /* availHitCount */
        15: .line 263
            aload 5 /* queue */
        16: new org.apache.lucene.search.TopDocs$ShardRef
            dup
            iload 10 /* shardIDX */
            iload 4 /* setShardIndex */
            ifeq 17
            iconst_0
            goto 18
      StackMap locals: org.apache.lucene.search.Sort int int org.apache.lucene.search.TopDocs[] int org.apache.lucene.util.PriorityQueue long org.apache.lucene.search.TotalHits$Relation int int org.apache.lucene.search.TopDocs
      StackMap stack: org.apache.lucene.util.PriorityQueue new 16 new 16 int
        17: iconst_1
      StackMap locals: org.apache.lucene.search.Sort int int org.apache.lucene.search.TopDocs[] int org.apache.lucene.util.PriorityQueue long org.apache.lucene.search.TotalHits$Relation int int org.apache.lucene.search.TopDocs
      StackMap stack: org.apache.lucene.util.PriorityQueue new 16 new 16 int int
        18: invokespecial org.apache.lucene.search.TopDocs$ShardRef.<init>:(IZ)V
            invokevirtual org.apache.lucene.util.PriorityQueue.add:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 11 // org.apache.lucene.search.TopDocs shard
        19: .line 251
      StackMap locals:
      StackMap stack:
            iinc 10 /* shardIDX */ 1
      StackMap locals:
      StackMap stack:
        20: iload 10 /* shardIDX */
            aload 3 /* shardHits */
            arraylength
            if_icmplt 9
        end local 10 // int shardIDX
        21: .line 268
            iload 9 /* availHitCount */
            iload 1 /* start */
            if_icmpgt 24
        22: .line 269
            iconst_0
            anewarray org.apache.lucene.search.ScoreDoc
            astore 10 /* hits */
        start local 10 // org.apache.lucene.search.ScoreDoc[] hits
        23: .line 270
            goto 45
        end local 10 // org.apache.lucene.search.ScoreDoc[] hits
        24: .line 271
      StackMap locals:
      StackMap stack:
            iload 2 /* size */
            iload 9 /* availHitCount */
            iload 1 /* start */
            isub
            invokestatic java.lang.Math.min:(II)I
            anewarray org.apache.lucene.search.ScoreDoc
            astore 10 /* hits */
        start local 10 // org.apache.lucene.search.ScoreDoc[] hits
        25: .line 272
            iload 1 /* start */
            iload 2 /* size */
            iadd
            istore 11 /* requestedResultWindow */
        start local 11 // int requestedResultWindow
        26: .line 273
            iload 9 /* availHitCount */
            iload 11 /* requestedResultWindow */
            invokestatic java.lang.Math.min:(II)I
            istore 12 /* numIterOnHits */
        start local 12 // int numIterOnHits
        27: .line 274
            iconst_0
            istore 13 /* hitUpto */
        start local 13 // int hitUpto
        28: .line 275
            goto 44
        29: .line 276
      StackMap locals: org.apache.lucene.search.Sort int int org.apache.lucene.search.TopDocs[] int org.apache.lucene.util.PriorityQueue long org.apache.lucene.search.TotalHits$Relation int org.apache.lucene.search.ScoreDoc[] int int int
      StackMap stack:
            getstatic org.apache.lucene.search.TopDocs.$assertionsDisabled:Z
            ifne 30
            aload 5 /* queue */
            invokevirtual org.apache.lucene.util.PriorityQueue.size:()I
            ifgt 30
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        30: .line 277
      StackMap locals:
      StackMap stack:
            aload 5 /* queue */
            invokevirtual org.apache.lucene.util.PriorityQueue.top:()Ljava/lang/Object;
            checkcast org.apache.lucene.search.TopDocs$ShardRef
            astore 14 /* ref */
        start local 14 // org.apache.lucene.search.TopDocs$ShardRef ref
        31: .line 278
            aload 3 /* shardHits */
            aload 14 /* ref */
            getfield org.apache.lucene.search.TopDocs$ShardRef.shardIndex:I
            aaload
            getfield org.apache.lucene.search.TopDocs.scoreDocs:[Lorg/apache/lucene/search/ScoreDoc;
            aload 14 /* ref */
            dup
            getfield org.apache.lucene.search.TopDocs$ShardRef.hitIndex:I
            dup_x1
            iconst_1
            iadd
            putfield org.apache.lucene.search.TopDocs$ShardRef.hitIndex:I
            aaload
            astore 15 /* hit */
        start local 15 // org.apache.lucene.search.ScoreDoc hit
        32: .line 279
            iload 4 /* setShardIndex */
            ifeq 35
        33: .line 281
            aload 15 /* hit */
            aload 14 /* ref */
            getfield org.apache.lucene.search.TopDocs$ShardRef.shardIndex:I
            putfield org.apache.lucene.search.ScoreDoc.shardIndex:I
        34: .line 282
            goto 37
      StackMap locals: org.apache.lucene.search.TopDocs$ShardRef org.apache.lucene.search.ScoreDoc
      StackMap stack:
        35: aload 15 /* hit */
            getfield org.apache.lucene.search.ScoreDoc.shardIndex:I
            iconst_m1
            if_icmpne 37
        36: .line 283
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "setShardIndex is false but TopDocs["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 14 /* ref */
            getfield org.apache.lucene.search.TopDocs$ShardRef.shardIndex:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "].scoreDocs["
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 14 /* ref */
            getfield org.apache.lucene.search.TopDocs$ShardRef.hitIndex:I
            iconst_1
            isub
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "] is not set"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        37: .line 286
      StackMap locals:
      StackMap stack:
            iload 13 /* hitUpto */
            iload 1 /* start */
            if_icmplt 39
        38: .line 287
            aload 10 /* hits */
            iload 13 /* hitUpto */
            iload 1 /* start */
            isub
            aload 15 /* hit */
            aastore
        39: .line 290
      StackMap locals:
      StackMap stack:
            iinc 13 /* hitUpto */ 1
        40: .line 292
            aload 14 /* ref */
            getfield org.apache.lucene.search.TopDocs$ShardRef.hitIndex:I
            aload 3 /* shardHits */
            aload 14 /* ref */
            getfield org.apache.lucene.search.TopDocs$ShardRef.shardIndex:I
            aaload
            getfield org.apache.lucene.search.TopDocs.scoreDocs:[Lorg/apache/lucene/search/ScoreDoc;
            arraylength
            if_icmpge 43
        41: .line 294
            aload 5 /* queue */
            invokevirtual org.apache.lucene.util.PriorityQueue.updateTop:()Ljava/lang/Object;
            pop
        42: .line 295
            goto 44
        43: .line 296
      StackMap locals:
      StackMap stack:
            aload 5 /* queue */
            invokevirtual org.apache.lucene.util.PriorityQueue.pop:()Ljava/lang/Object;
            pop
        end local 15 // org.apache.lucene.search.ScoreDoc hit
        end local 14 // org.apache.lucene.search.TopDocs$ShardRef ref
        44: .line 275
      StackMap locals:
      StackMap stack:
            iload 13 /* hitUpto */
            iload 12 /* numIterOnHits */
            if_icmplt 29
        end local 13 // int hitUpto
        end local 12 // int numIterOnHits
        end local 11 // int requestedResultWindow
        45: .line 301
      StackMap locals:
      StackMap stack:
            new org.apache.lucene.search.TotalHits
            dup
            lload 6 /* totalHitCount */
            aload 8 /* totalHitsRelation */
            invokespecial org.apache.lucene.search.TotalHits.<init>:(JLorg/apache/lucene/search/TotalHits$Relation;)V
            astore 11 /* totalHits */
        start local 11 // org.apache.lucene.search.TotalHits totalHits
        46: .line 302
            aload 0 /* sort */
            ifnonnull 48
        47: .line 303
            new org.apache.lucene.search.TopDocs
            dup
            aload 11 /* totalHits */
            aload 10 /* hits */
            invokespecial org.apache.lucene.search.TopDocs.<init>:(Lorg/apache/lucene/search/TotalHits;[Lorg/apache/lucene/search/ScoreDoc;)V
            areturn
        48: .line 305
      StackMap locals: org.apache.lucene.search.TotalHits
      StackMap stack:
            new org.apache.lucene.search.TopFieldDocs
            dup
            aload 11 /* totalHits */
            aload 10 /* hits */
            aload 0 /* sort */
            invokevirtual org.apache.lucene.search.Sort.getSort:()[Lorg/apache/lucene/search/SortField;
            invokespecial org.apache.lucene.search.TopFieldDocs.<init>:(Lorg/apache/lucene/search/TotalHits;[Lorg/apache/lucene/search/ScoreDoc;[Lorg/apache/lucene/search/SortField;)V
            areturn
        end local 11 // org.apache.lucene.search.TotalHits totalHits
        end local 10 // org.apache.lucene.search.ScoreDoc[] hits
        end local 9 // int availHitCount
        end local 8 // org.apache.lucene.search.TotalHits$Relation totalHitsRelation
        end local 6 // long totalHitCount
        end local 5 // org.apache.lucene.util.PriorityQueue queue
        end local 4 // boolean setShardIndex
        end local 3 // org.apache.lucene.search.TopDocs[] shardHits
        end local 2 // int size
        end local 1 // int start
        end local 0 // org.apache.lucene.search.Sort sort
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0   49     0                   sort  Lorg/apache/lucene/search/Sort;
            0   49     1                  start  I
            0   49     2                   size  I
            0   49     3              shardHits  [Lorg/apache/lucene/search/TopDocs;
            0   49     4          setShardIndex  Z
            2    3     5                  queue  Lorg/apache/lucene/util/PriorityQueue<Lorg/apache/lucene/search/TopDocs$ShardRef;>;
            4   49     5                  queue  Lorg/apache/lucene/util/PriorityQueue<Lorg/apache/lucene/search/TopDocs$ShardRef;>;
            5   49     6          totalHitCount  J
            6   49     8      totalHitsRelation  Lorg/apache/lucene/search/TotalHits$Relation;
            7   49     9          availHitCount  I
            8   21    10               shardIDX  I
           10   19    11                  shard  Lorg/apache/lucene/search/TopDocs;
           23   24    10                   hits  [Lorg/apache/lucene/search/ScoreDoc;
           25   49    10                   hits  [Lorg/apache/lucene/search/ScoreDoc;
           26   45    11  requestedResultWindow  I
           27   45    12          numIterOnHits  I
           28   45    13                hitUpto  I
           31   44    14                    ref  Lorg/apache/lucene/search/TopDocs$ShardRef;
           32   44    15                    hit  Lorg/apache/lucene/search/ScoreDoc;
           46   49    11              totalHits  Lorg/apache/lucene/search/TotalHits;
    MethodParameters:
               Name  Flags
      sort           
      start          
      size           
      shardHits      
      setShardIndex  
}
SourceFile: "TopDocs.java"
NestMembers:
  org.apache.lucene.search.TopDocs$MergeSortQueue  org.apache.lucene.search.TopDocs$ScoreMergeSortQueue  org.apache.lucene.search.TopDocs$ShardRef
InnerClasses:
  private MergeSortQueue = org.apache.lucene.search.TopDocs$MergeSortQueue of org.apache.lucene.search.TopDocs
  private ScoreMergeSortQueue = org.apache.lucene.search.TopDocs$ScoreMergeSortQueue of org.apache.lucene.search.TopDocs
  private final ShardRef = org.apache.lucene.search.TopDocs$ShardRef of org.apache.lucene.search.TopDocs
  public final Relation = org.apache.lucene.search.TotalHits$Relation of org.apache.lucene.search.TotalHits