class org.apache.lucene.search.IndexSearcher$2 implements org.apache.lucene.search.CollectorManager<org.apache.lucene.search.TopScoreDocCollector, org.apache.lucene.search.TopDocs>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.search.IndexSearcher$2
super_class: java.lang.Object
{
final org.apache.lucene.search.IndexSearcher this$0;
descriptor: Lorg/apache/lucene/search/IndexSearcher;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final int val$cappedNumHits;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.apache.lucene.search.ScoreDoc val$after;
descriptor: Lorg/apache/lucene/search/ScoreDoc;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.lucene.search.IndexSearcher, int, org.apache.lucene.search.ScoreDoc);
descriptor: (Lorg/apache/lucene/search/IndexSearcher;ILorg/apache/lucene/search/ScoreDoc;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.apache.lucene.search.IndexSearcher$2.this$0:Lorg/apache/lucene/search/IndexSearcher;
aload 0
iload 2
putfield org.apache.lucene.search.IndexSearcher$2.val$cappedNumHits:I
aload 0
aload 3
putfield org.apache.lucene.search.IndexSearcher$2.val$after:Lorg/apache/lucene/search/ScoreDoc;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher$2;
MethodParameters:
Name Flags
this$0 final
val$cappedNumHits final
val$after final
public org.apache.lucene.search.TopScoreDocCollector newCollector();
descriptor: ()Lorg/apache/lucene/search/TopScoreDocCollector;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.IndexSearcher$2.val$cappedNumHits:I
aload 0
getfield org.apache.lucene.search.IndexSearcher$2.val$after:Lorg/apache/lucene/search/ScoreDoc;
sipush 1000
invokestatic org.apache.lucene.search.TopScoreDocCollector.create:(ILorg/apache/lucene/search/ScoreDoc;I)Lorg/apache/lucene/search/TopScoreDocCollector;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher$2;
Exceptions:
throws java.io.IOException
public org.apache.lucene.search.TopDocs reduce(java.util.Collection<org.apache.lucene.search.TopScoreDocCollector>);
descriptor: (Ljava/util/Collection;)Lorg/apache/lucene/search/TopDocs;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Collection.size:()I
anewarray org.apache.lucene.search.TopDocs
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: org.apache.lucene.search.IndexSearcher$2 java.util.Collection org.apache.lucene.search.TopDocs[] int top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.search.TopScoreDocCollector
astore 4
start local 4 4: aload 2
iload 3
iinc 3 1
aload 4
invokevirtual org.apache.lucene.search.TopScoreDocCollector.topDocs:()Lorg/apache/lucene/search/TopDocs;
aastore
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: iconst_0
aload 0
getfield org.apache.lucene.search.IndexSearcher$2.val$cappedNumHits:I
aload 2
iconst_1
invokestatic org.apache.lucene.search.TopDocs.merge:(II[Lorg/apache/lucene/search/TopDocs;Z)Lorg/apache/lucene/search/TopDocs;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/search/IndexSearcher$2;
0 7 1 collectors Ljava/util/Collection<Lorg/apache/lucene/search/TopScoreDocCollector;>;
1 7 2 topDocs [Lorg/apache/lucene/search/TopDocs;
2 7 3 i I
4 5 4 collector Lorg/apache/lucene/search/TopScoreDocCollector;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Collection<Lorg/apache/lucene/search/TopScoreDocCollector;>;)Lorg/apache/lucene/search/TopDocs;
MethodParameters:
Name Flags
collectors
public java.lang.Object reduce(java.util.Collection);
descriptor: (Ljava/util/Collection;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.Collection
invokevirtual org.apache.lucene.search.IndexSearcher$2.reduce:(Ljava/util/Collection;)Lorg/apache/lucene/search/TopDocs;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public org.apache.lucene.search.Collector newCollector();
descriptor: ()Lorg/apache/lucene/search/Collector;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.lucene.search.IndexSearcher$2.newCollector:()Lorg/apache/lucene/search/TopScoreDocCollector;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Ljava/lang/Object;Lorg/apache/lucene/search/CollectorManager<Lorg/apache/lucene/search/TopScoreDocCollector;Lorg/apache/lucene/search/TopDocs;>;
SourceFile: "IndexSearcher.java"
EnclosingMethod: org.apache.lucene.search.IndexSearcher.searchAfter:(Lorg/apache/lucene/search/ScoreDoc;Lorg/apache/lucene/search/Query;I)Lorg/apache/lucene/search/TopDocs;
NestHost: org.apache.lucene.search.IndexSearcher
InnerClasses:
org.apache.lucene.search.IndexSearcher$2