public class org.apache.lucene.search.IndexSearcher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.search.IndexSearcher
super_class: java.lang.Object
{
private static org.apache.lucene.search.QueryCache DEFAULT_QUERY_CACHE;
descriptor: Lorg/apache/lucene/search/QueryCache;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static org.apache.lucene.search.QueryCachingPolicy DEFAULT_CACHING_POLICY;
descriptor: Lorg/apache/lucene/search/QueryCachingPolicy;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final int TOTAL_HITS_THRESHOLD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1000
final org.apache.lucene.index.IndexReader reader;
descriptor: Lorg/apache/lucene/index/IndexReader;
flags: (0x0010) ACC_FINAL
protected final org.apache.lucene.index.IndexReaderContext readerContext;
descriptor: Lorg/apache/lucene/index/IndexReaderContext;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.util.List<org.apache.lucene.index.LeafReaderContext> leafContexts;
descriptor: Ljava/util/List;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/lucene/index/LeafReaderContext;>;
private final org.apache.lucene.search.IndexSearcher$LeafSlice[] leafSlices;
descriptor: [Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.Executor executor;
descriptor: Ljava/util/concurrent/Executor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final org.apache.lucene.search.similarities.Similarity defaultSimilarity;
descriptor: Lorg/apache/lucene/search/similarities/Similarity;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private org.apache.lucene.search.QueryCache queryCache;
descriptor: Lorg/apache/lucene/search/QueryCache;
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.search.QueryCachingPolicy queryCachingPolicy;
descriptor: Lorg/apache/lucene/search/QueryCachingPolicy;
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.search.similarities.Similarity similarity;
descriptor: Lorg/apache/lucene/search/similarities/Similarity;
flags: (0x0002) ACC_PRIVATE
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=6, locals=2, args_size=0
0: ldc Lorg/apache/lucene/search/IndexSearcher;
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.IndexSearcher.$assertionsDisabled:Z
3: new org.apache.lucene.search.UsageTrackingQueryCachingPolicy
dup
invokespecial org.apache.lucene.search.UsageTrackingQueryCachingPolicy.<init>:()V
putstatic org.apache.lucene.search.IndexSearcher.DEFAULT_CACHING_POLICY:Lorg/apache/lucene/search/QueryCachingPolicy;
4: ldc 33554432
invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokevirtual java.lang.Runtime.maxMemory:()J
ldc 20
ldiv
invokestatic java.lang.Math.min:(JJ)J
lstore 0
start local 0 5: new org.apache.lucene.search.LRUQueryCache
dup
sipush 1000
lload 0
invokespecial org.apache.lucene.search.LRUQueryCache.<init>:(IJ)V
putstatic org.apache.lucene.search.IndexSearcher.DEFAULT_QUERY_CACHE:Lorg/apache/lucene/search/QueryCache;
end local 0 6: new org.apache.lucene.search.similarities.BM25Similarity
dup
invokespecial org.apache.lucene.search.similarities.BM25Similarity.<init>:()V
putstatic org.apache.lucene.search.IndexSearcher.defaultSimilarity:Lorg/apache/lucene/search/similarities/Similarity;
return
LocalVariableTable:
Start End Slot Name Signature
5 6 0 maxRamBytesUsed J
public static org.apache.lucene.search.similarities.Similarity getDefaultSimilarity();
descriptor: ()Lorg/apache/lucene/search/similarities/Similarity;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.apache.lucene.search.IndexSearcher.defaultSimilarity:Lorg/apache/lucene/search/similarities/Similarity;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.lucene.search.QueryCache getDefaultQueryCache();
descriptor: ()Lorg/apache/lucene/search/QueryCache;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.apache.lucene.search.IndexSearcher.DEFAULT_QUERY_CACHE:Lorg/apache/lucene/search/QueryCache;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void setDefaultQueryCache(org.apache.lucene.search.QueryCache);
descriptor: (Lorg/apache/lucene/search/QueryCache;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic org.apache.lucene.search.IndexSearcher.DEFAULT_QUERY_CACHE:Lorg/apache/lucene/search/QueryCache;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 defaultQueryCache Lorg/apache/lucene/search/QueryCache;
MethodParameters:
Name Flags
defaultQueryCache
public static org.apache.lucene.search.QueryCachingPolicy getDefaultQueryCachingPolicy();
descriptor: ()Lorg/apache/lucene/search/QueryCachingPolicy;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.apache.lucene.search.IndexSearcher.DEFAULT_CACHING_POLICY:Lorg/apache/lucene/search/QueryCachingPolicy;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void setDefaultQueryCachingPolicy(org.apache.lucene.search.QueryCachingPolicy);
descriptor: (Lorg/apache/lucene/search/QueryCachingPolicy;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic org.apache.lucene.search.IndexSearcher.DEFAULT_CACHING_POLICY:Lorg/apache/lucene/search/QueryCachingPolicy;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 defaultQueryCachingPolicy Lorg/apache/lucene/search/QueryCachingPolicy;
MethodParameters:
Name Flags
defaultQueryCachingPolicy
public void <init>(org.apache.lucene.index.IndexReader);
descriptor: (Lorg/apache/lucene/index/IndexReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial org.apache.lucene.search.IndexSearcher.<init>:(Lorg/apache/lucene/index/IndexReader;Ljava/util/concurrent/Executor;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/IndexSearcher;
0 2 1 r Lorg/apache/lucene/index/IndexReader;
MethodParameters:
Name Flags
r
public void <init>(org.apache.lucene.index.IndexReader, java.util.concurrent.Executor);
descriptor: (Lorg/apache/lucene/index/IndexReader;Ljava/util/concurrent/Executor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.lucene.index.IndexReader.getContext:()Lorg/apache/lucene/index/IndexReaderContext;
aload 2
invokespecial org.apache.lucene.search.IndexSearcher.<init>:(Lorg/apache/lucene/index/IndexReaderContext;Ljava/util/concurrent/Executor;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/IndexSearcher;
0 2 1 r Lorg/apache/lucene/index/IndexReader;
0 2 2 executor Ljava/util/concurrent/Executor;
MethodParameters:
Name Flags
r
executor
public void <init>(org.apache.lucene.index.IndexReaderContext, java.util.concurrent.Executor);
descriptor: (Lorg/apache/lucene/index/IndexReaderContext;Ljava/util/concurrent/Executor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.apache.lucene.search.IndexSearcher.DEFAULT_QUERY_CACHE:Lorg/apache/lucene/search/QueryCache;
putfield org.apache.lucene.search.IndexSearcher.queryCache:Lorg/apache/lucene/search/QueryCache;
2: aload 0
getstatic org.apache.lucene.search.IndexSearcher.DEFAULT_CACHING_POLICY:Lorg/apache/lucene/search/QueryCachingPolicy;
putfield org.apache.lucene.search.IndexSearcher.queryCachingPolicy:Lorg/apache/lucene/search/QueryCachingPolicy;
3: aload 0
getstatic org.apache.lucene.search.IndexSearcher.defaultSimilarity:Lorg/apache/lucene/search/similarities/Similarity;
putfield org.apache.lucene.search.IndexSearcher.similarity:Lorg/apache/lucene/search/similarities/Similarity;
4: getstatic org.apache.lucene.search.IndexSearcher.$assertionsDisabled:Z
ifne 5
aload 1
getfield org.apache.lucene.index.IndexReaderContext.isTopLevel:Z
ifne 5
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "IndexSearcher's ReaderContext must be topLevel for reader"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.apache.lucene.index.IndexReaderContext.reader:()Lorg/apache/lucene/index/IndexReader;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals: org.apache.lucene.search.IndexSearcher org.apache.lucene.index.IndexReaderContext java.util.concurrent.Executor
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.lucene.index.IndexReaderContext.reader:()Lorg/apache/lucene/index/IndexReader;
putfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
6: aload 0
aload 2
putfield org.apache.lucene.search.IndexSearcher.executor:Ljava/util/concurrent/Executor;
7: aload 0
aload 1
putfield org.apache.lucene.search.IndexSearcher.readerContext:Lorg/apache/lucene/index/IndexReaderContext;
8: aload 0
aload 1
invokevirtual org.apache.lucene.index.IndexReaderContext.leaves:()Ljava/util/List;
putfield org.apache.lucene.search.IndexSearcher.leafContexts:Ljava/util/List;
9: aload 0
aload 2
ifnonnull 10
aconst_null
goto 11
StackMap locals:
StackMap stack: org.apache.lucene.search.IndexSearcher
10: aload 0
aload 0
getfield org.apache.lucene.search.IndexSearcher.leafContexts:Ljava/util/List;
invokevirtual org.apache.lucene.search.IndexSearcher.slices:(Ljava/util/List;)[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
StackMap locals: org.apache.lucene.search.IndexSearcher org.apache.lucene.index.IndexReaderContext java.util.concurrent.Executor
StackMap stack: org.apache.lucene.search.IndexSearcher org.apache.lucene.search.IndexSearcher$LeafSlice[]
11: putfield org.apache.lucene.search.IndexSearcher.leafSlices:[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/lucene/search/IndexSearcher;
0 13 1 context Lorg/apache/lucene/index/IndexReaderContext;
0 13 2 executor Ljava/util/concurrent/Executor;
MethodParameters:
Name Flags
context
executor
public void <init>(org.apache.lucene.index.IndexReaderContext);
descriptor: (Lorg/apache/lucene/index/IndexReaderContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial org.apache.lucene.search.IndexSearcher.<init>:(Lorg/apache/lucene/index/IndexReaderContext;Ljava/util/concurrent/Executor;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/IndexSearcher;
0 2 1 context Lorg/apache/lucene/index/IndexReaderContext;
MethodParameters:
Name Flags
context
public void setQueryCache(org.apache.lucene.search.QueryCache);
descriptor: (Lorg/apache/lucene/search/QueryCache;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.lucene.search.IndexSearcher.queryCache:Lorg/apache/lucene/search/QueryCache;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/IndexSearcher;
0 2 1 queryCache Lorg/apache/lucene/search/QueryCache;
MethodParameters:
Name Flags
queryCache
public org.apache.lucene.search.QueryCache getQueryCache();
descriptor: ()Lorg/apache/lucene/search/QueryCache;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.IndexSearcher.queryCache:Lorg/apache/lucene/search/QueryCache;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher;
public void setQueryCachingPolicy(org.apache.lucene.search.QueryCachingPolicy);
descriptor: (Lorg/apache/lucene/search/QueryCachingPolicy;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.search.QueryCachingPolicy
putfield org.apache.lucene.search.IndexSearcher.queryCachingPolicy:Lorg/apache/lucene/search/QueryCachingPolicy;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/IndexSearcher;
0 2 1 queryCachingPolicy Lorg/apache/lucene/search/QueryCachingPolicy;
MethodParameters:
Name Flags
queryCachingPolicy
public org.apache.lucene.search.QueryCachingPolicy getQueryCachingPolicy();
descriptor: ()Lorg/apache/lucene/search/QueryCachingPolicy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.IndexSearcher.queryCachingPolicy:Lorg/apache/lucene/search/QueryCachingPolicy;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher;
protected org.apache.lucene.search.IndexSearcher$LeafSlice[] slices(java.util.List<org.apache.lucene.index.LeafReaderContext>);
descriptor: (Ljava/util/List;)[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.size:()I
anewarray org.apache.lucene.search.IndexSearcher$LeafSlice
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: org.apache.lucene.search.IndexSearcher$LeafSlice[] int
StackMap stack:
aload 2
iload 3
new org.apache.lucene.search.IndexSearcher$LeafSlice
dup
iconst_1
anewarray org.apache.lucene.index.LeafReaderContext
dup
iconst_0
aload 1
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.index.LeafReaderContext
aastore
invokespecial org.apache.lucene.search.IndexSearcher$LeafSlice.<init>:([Lorg/apache/lucene/index/LeafReaderContext;)V
aastore
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 2
arraylength
if_icmplt 3
end local 3 6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/search/IndexSearcher;
0 7 1 leaves Ljava/util/List<Lorg/apache/lucene/index/LeafReaderContext;>;
1 7 2 slices [Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
2 6 3 i I
Signature: (Ljava/util/List<Lorg/apache/lucene/index/LeafReaderContext;>;)[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
MethodParameters:
Name Flags
leaves
public org.apache.lucene.index.IndexReader getIndexReader();
descriptor: ()Lorg/apache/lucene/index/IndexReader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher;
public org.apache.lucene.document.Document doc(int);
descriptor: (I)Lorg/apache/lucene/document/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
iload 1
invokevirtual org.apache.lucene.index.IndexReader.document:(I)Lorg/apache/lucene/document/Document;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher;
0 1 1 docID I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
docID
public void doc(int, org.apache.lucene.index.StoredFieldVisitor);
descriptor: (ILorg/apache/lucene/index/StoredFieldVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
iload 1
aload 2
invokevirtual org.apache.lucene.index.IndexReader.document:(ILorg/apache/lucene/index/StoredFieldVisitor;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/IndexSearcher;
0 2 1 docID I
0 2 2 fieldVisitor Lorg/apache/lucene/index/StoredFieldVisitor;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
docID
fieldVisitor
public org.apache.lucene.document.Document doc(int, java.util.Set<java.lang.String>);
descriptor: (ILjava/util/Set;)Lorg/apache/lucene/document/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
iload 1
aload 2
invokevirtual org.apache.lucene.index.IndexReader.document:(ILjava/util/Set;)Lorg/apache/lucene/document/Document;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher;
0 1 1 docID I
0 1 2 fieldsToLoad Ljava/util/Set<Ljava/lang/String;>;
Exceptions:
throws java.io.IOException
Signature: (ILjava/util/Set<Ljava/lang/String;>;)Lorg/apache/lucene/document/Document;
MethodParameters:
Name Flags
docID
fieldsToLoad
public void setSimilarity(org.apache.lucene.search.similarities.Similarity);
descriptor: (Lorg/apache/lucene/search/similarities/Similarity;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.lucene.search.IndexSearcher.similarity:Lorg/apache/lucene/search/similarities/Similarity;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/IndexSearcher;
0 2 1 similarity Lorg/apache/lucene/search/similarities/Similarity;
MethodParameters:
Name Flags
similarity
public org.apache.lucene.search.similarities.Similarity getSimilarity();
descriptor: ()Lorg/apache/lucene/search/similarities/Similarity;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.IndexSearcher.similarity:Lorg/apache/lucene/search/similarities/Similarity;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher;
public int count(org.apache.lucene.search.Query);
descriptor: (Lorg/apache/lucene/search/Query;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.search.IndexSearcher.rewrite:(Lorg/apache/lucene/search/Query;)Lorg/apache/lucene/search/Query;
astore 1
1: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.lucene.search.ConstantScoreQuery
ifeq 4
2: aload 1
checkcast org.apache.lucene.search.ConstantScoreQuery
invokevirtual org.apache.lucene.search.ConstantScoreQuery.getQuery:()Lorg/apache/lucene/search/Query;
astore 1
3: goto 1
4: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.lucene.search.MatchAllDocsQuery
ifeq 6
5: aload 0
getfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
invokevirtual org.apache.lucene.index.IndexReader.numDocs:()I
ireturn
6: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.lucene.search.TermQuery
ifeq 14
aload 0
getfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
invokevirtual org.apache.lucene.index.IndexReader.hasDeletions:()Z
ifne 14
7: aload 1
checkcast org.apache.lucene.search.TermQuery
invokevirtual org.apache.lucene.search.TermQuery.getTerm:()Lorg/apache/lucene/index/Term;
astore 2
start local 2 8: iconst_0
istore 3
start local 3 9: aload 0
getfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
invokevirtual org.apache.lucene.index.IndexReader.leaves:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 12
StackMap locals: org.apache.lucene.search.IndexSearcher org.apache.lucene.search.Query org.apache.lucene.index.Term int top java.util.Iterator
StackMap stack:
10: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.LeafReaderContext
astore 4
start local 4 11: iload 3
aload 4
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
aload 2
invokevirtual org.apache.lucene.index.LeafReader.docFreq:(Lorg/apache/lucene/index/Term;)I
iadd
istore 3
end local 4 12: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: iload 3
ireturn
end local 3 end local 2 14: StackMap locals: org.apache.lucene.search.IndexSearcher org.apache.lucene.search.Query
StackMap stack:
new org.apache.lucene.search.IndexSearcher$1
dup
aload 0
invokespecial org.apache.lucene.search.IndexSearcher$1.<init>:(Lorg/apache/lucene/search/IndexSearcher;)V
astore 2
start local 2 15: aload 0
aload 1
aload 2
invokevirtual org.apache.lucene.search.IndexSearcher.search:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/CollectorManager;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/lucene/search/IndexSearcher;
0 16 1 query Lorg/apache/lucene/search/Query;
8 14 2 term Lorg/apache/lucene/index/Term;
9 14 3 count I
11 12 4 leaf Lorg/apache/lucene/index/LeafReaderContext;
15 16 2 collectorManager Lorg/apache/lucene/search/CollectorManager<Lorg/apache/lucene/search/TotalHitCountCollector;Ljava/lang/Integer;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
query
public org.apache.lucene.search.IndexSearcher$LeafSlice[] getSlices();
descriptor: ()[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.IndexSearcher.leafSlices:[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher;
public org.apache.lucene.search.TopDocs searchAfter(org.apache.lucene.search.ScoreDoc, org.apache.lucene.search.Query, int);
descriptor: (Lorg/apache/lucene/search/ScoreDoc;Lorg/apache/lucene/search/Query;I)Lorg/apache/lucene/search/TopDocs;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_1
aload 0
getfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
invokevirtual org.apache.lucene.index.IndexReader.maxDoc:()I
invokestatic java.lang.Math.max:(II)I
istore 4
start local 4 1: aload 1
ifnull 5
aload 1
getfield org.apache.lucene.search.ScoreDoc.doc:I
iload 4
if_icmplt 5
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "after.doc exceeds the number of documents in the reader: after.doc="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 1
getfield org.apache.lucene.search.ScoreDoc.doc:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " limit="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
iload 3
iload 4
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 6: new org.apache.lucene.search.IndexSearcher$2
dup
aload 0
iload 5
aload 1
invokespecial org.apache.lucene.search.IndexSearcher$2.<init>:(Lorg/apache/lucene/search/IndexSearcher;ILorg/apache/lucene/search/ScoreDoc;)V
astore 6
start local 6 7: aload 0
aload 2
aload 6
invokevirtual org.apache.lucene.search.IndexSearcher.search:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/CollectorManager;)Ljava/lang/Object;
checkcast org.apache.lucene.search.TopDocs
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/search/IndexSearcher;
0 8 1 after Lorg/apache/lucene/search/ScoreDoc;
0 8 2 query Lorg/apache/lucene/search/Query;
0 8 3 numHits I
1 8 4 limit I
6 8 5 cappedNumHits I
7 8 6 manager Lorg/apache/lucene/search/CollectorManager<Lorg/apache/lucene/search/TopScoreDocCollector;Lorg/apache/lucene/search/TopDocs;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
after
query
numHits
public org.apache.lucene.search.TopDocs search(org.apache.lucene.search.Query, int);
descriptor: (Lorg/apache/lucene/search/Query;I)Lorg/apache/lucene/search/TopDocs;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 1
iload 2
invokevirtual org.apache.lucene.search.IndexSearcher.searchAfter:(Lorg/apache/lucene/search/ScoreDoc;Lorg/apache/lucene/search/Query;I)Lorg/apache/lucene/search/TopDocs;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher;
0 1 1 query Lorg/apache/lucene/search/Query;
0 1 2 n I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
query
n
public void search(org.apache.lucene.search.Query, org.apache.lucene.search.Collector);
descriptor: (Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/Collector;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.lucene.search.IndexSearcher.rewrite:(Lorg/apache/lucene/search/Query;)Lorg/apache/lucene/search/Query;
astore 1
1: aload 0
aload 0
getfield org.apache.lucene.search.IndexSearcher.leafContexts:Ljava/util/List;
aload 0
aload 1
aload 2
invokeinterface org.apache.lucene.search.Collector.scoreMode:()Lorg/apache/lucene/search/ScoreMode;
fconst_1
invokevirtual org.apache.lucene.search.IndexSearcher.createWeight:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/ScoreMode;F)Lorg/apache/lucene/search/Weight;
aload 2
invokevirtual org.apache.lucene.search.IndexSearcher.search:(Ljava/util/List;Lorg/apache/lucene/search/Weight;Lorg/apache/lucene/search/Collector;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/search/IndexSearcher;
0 3 1 query Lorg/apache/lucene/search/Query;
0 3 2 results Lorg/apache/lucene/search/Collector;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
query
results
public org.apache.lucene.search.TopFieldDocs search(org.apache.lucene.search.Query, int, org.apache.lucene.search.Sort, boolean);
descriptor: (Lorg/apache/lucene/search/Query;ILorg/apache/lucene/search/Sort;Z)Lorg/apache/lucene/search/TopFieldDocs;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aconst_null
aload 1
iload 2
aload 3
iload 4
invokevirtual org.apache.lucene.search.IndexSearcher.searchAfter:(Lorg/apache/lucene/search/FieldDoc;Lorg/apache/lucene/search/Query;ILorg/apache/lucene/search/Sort;Z)Lorg/apache/lucene/search/TopFieldDocs;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher;
0 1 1 query Lorg/apache/lucene/search/Query;
0 1 2 n I
0 1 3 sort Lorg/apache/lucene/search/Sort;
0 1 4 doDocScores Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
query
n
sort
doDocScores
public org.apache.lucene.search.TopFieldDocs search(org.apache.lucene.search.Query, int, org.apache.lucene.search.Sort);
descriptor: (Lorg/apache/lucene/search/Query;ILorg/apache/lucene/search/Sort;)Lorg/apache/lucene/search/TopFieldDocs;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aconst_null
aload 1
iload 2
aload 3
iconst_0
invokevirtual org.apache.lucene.search.IndexSearcher.searchAfter:(Lorg/apache/lucene/search/FieldDoc;Lorg/apache/lucene/search/Query;ILorg/apache/lucene/search/Sort;Z)Lorg/apache/lucene/search/TopFieldDocs;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher;
0 1 1 query Lorg/apache/lucene/search/Query;
0 1 2 n I
0 1 3 sort Lorg/apache/lucene/search/Sort;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
query
n
sort
public org.apache.lucene.search.TopDocs searchAfter(org.apache.lucene.search.ScoreDoc, org.apache.lucene.search.Query, int, org.apache.lucene.search.Sort);
descriptor: (Lorg/apache/lucene/search/ScoreDoc;Lorg/apache/lucene/search/Query;ILorg/apache/lucene/search/Sort;)Lorg/apache/lucene/search/TopDocs;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
aload 4
iconst_0
invokevirtual org.apache.lucene.search.IndexSearcher.searchAfter:(Lorg/apache/lucene/search/ScoreDoc;Lorg/apache/lucene/search/Query;ILorg/apache/lucene/search/Sort;Z)Lorg/apache/lucene/search/TopFieldDocs;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher;
0 1 1 after Lorg/apache/lucene/search/ScoreDoc;
0 1 2 query Lorg/apache/lucene/search/Query;
0 1 3 n I
0 1 4 sort Lorg/apache/lucene/search/Sort;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
after
query
n
sort
public org.apache.lucene.search.TopFieldDocs searchAfter(org.apache.lucene.search.ScoreDoc, org.apache.lucene.search.Query, int, org.apache.lucene.search.Sort, boolean);
descriptor: (Lorg/apache/lucene/search/ScoreDoc;Lorg/apache/lucene/search/Query;ILorg/apache/lucene/search/Sort;Z)Lorg/apache/lucene/search/TopFieldDocs;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
ifnull 2
aload 1
instanceof org.apache.lucene.search.FieldDoc
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "after must be a FieldDoc; got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast org.apache.lucene.search.FieldDoc
aload 2
iload 3
aload 4
iload 5
invokevirtual org.apache.lucene.search.IndexSearcher.searchAfter:(Lorg/apache/lucene/search/FieldDoc;Lorg/apache/lucene/search/Query;ILorg/apache/lucene/search/Sort;Z)Lorg/apache/lucene/search/TopFieldDocs;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/search/IndexSearcher;
0 3 1 after Lorg/apache/lucene/search/ScoreDoc;
0 3 2 query Lorg/apache/lucene/search/Query;
0 3 3 numHits I
0 3 4 sort Lorg/apache/lucene/search/Sort;
0 3 5 doDocScores Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
after
query
numHits
sort
doDocScores
private org.apache.lucene.search.TopFieldDocs searchAfter(org.apache.lucene.search.FieldDoc, org.apache.lucene.search.Query, int, org.apache.lucene.search.Sort, boolean);
descriptor: (Lorg/apache/lucene/search/FieldDoc;Lorg/apache/lucene/search/Query;ILorg/apache/lucene/search/Sort;Z)Lorg/apache/lucene/search/TopFieldDocs;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iconst_1
aload 0
getfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
invokevirtual org.apache.lucene.index.IndexReader.maxDoc:()I
invokestatic java.lang.Math.max:(II)I
istore 6
start local 6 1: aload 1
ifnull 5
aload 1
getfield org.apache.lucene.search.FieldDoc.doc:I
iload 6
if_icmplt 5
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "after.doc exceeds the number of documents in the reader: after.doc="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 1
getfield org.apache.lucene.search.FieldDoc.doc:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " limit="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
iload 3
iload 6
invokestatic java.lang.Math.min:(II)I
istore 7
start local 7 6: aload 4
aload 0
invokevirtual org.apache.lucene.search.Sort.rewrite:(Lorg/apache/lucene/search/IndexSearcher;)Lorg/apache/lucene/search/Sort;
astore 8
start local 8 7: new org.apache.lucene.search.IndexSearcher$3
dup
aload 0
aload 8
iload 7
aload 1
invokespecial org.apache.lucene.search.IndexSearcher$3.<init>:(Lorg/apache/lucene/search/IndexSearcher;Lorg/apache/lucene/search/Sort;ILorg/apache/lucene/search/FieldDoc;)V
astore 9
start local 9 8: aload 0
aload 2
aload 9
invokevirtual org.apache.lucene.search.IndexSearcher.search:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/CollectorManager;)Ljava/lang/Object;
checkcast org.apache.lucene.search.TopFieldDocs
astore 10
start local 10 9: iload 5
ifeq 11
10: aload 10
getfield org.apache.lucene.search.TopFieldDocs.scoreDocs:[Lorg/apache/lucene/search/ScoreDoc;
aload 0
aload 2
invokestatic org.apache.lucene.search.TopFieldCollector.populateScores:([Lorg/apache/lucene/search/ScoreDoc;Lorg/apache/lucene/search/IndexSearcher;Lorg/apache/lucene/search/Query;)V
11: StackMap locals: org.apache.lucene.search.IndexSearcher org.apache.lucene.search.FieldDoc org.apache.lucene.search.Query int org.apache.lucene.search.Sort int int int org.apache.lucene.search.Sort org.apache.lucene.search.CollectorManager org.apache.lucene.search.TopFieldDocs
StackMap stack:
aload 10
areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/lucene/search/IndexSearcher;
0 12 1 after Lorg/apache/lucene/search/FieldDoc;
0 12 2 query Lorg/apache/lucene/search/Query;
0 12 3 numHits I
0 12 4 sort Lorg/apache/lucene/search/Sort;
0 12 5 doDocScores Z
1 12 6 limit I
6 12 7 cappedNumHits I
7 12 8 rewrittenSort Lorg/apache/lucene/search/Sort;
8 12 9 manager Lorg/apache/lucene/search/CollectorManager<Lorg/apache/lucene/search/TopFieldCollector;Lorg/apache/lucene/search/TopFieldDocs;>;
9 12 10 topDocs Lorg/apache/lucene/search/TopFieldDocs;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
after
query
numHits
sort
doDocScores
public <C extends org.apache.lucene.search.Collector, T> T search(org.apache.lucene.search.Query, org.apache.lucene.search.CollectorManager<C, T>);
descriptor: (Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/CollectorManager;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.search.IndexSearcher.executor:Ljava/util/concurrent/Executor;
ifnull 1
aload 0
getfield org.apache.lucene.search.IndexSearcher.leafSlices:[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
arraylength
iconst_1
if_icmpgt 4
1: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.apache.lucene.search.CollectorManager.newCollector:()Lorg/apache/lucene/search/Collector;
astore 3
start local 3 2: aload 0
aload 1
aload 3
invokevirtual org.apache.lucene.search.IndexSearcher.search:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/Collector;)V
3: aload 2
aload 3
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokeinterface org.apache.lucene.search.CollectorManager.reduce:(Ljava/util/Collection;)Ljava/lang/Object;
areturn
end local 3 4: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 0
getfield org.apache.lucene.search.IndexSearcher.leafSlices:[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 5: aconst_null
astore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 16
8: StackMap locals: java.util.List org.apache.lucene.search.ScoreMode int
StackMap stack:
aload 2
invokeinterface org.apache.lucene.search.CollectorManager.newCollector:()Lorg/apache/lucene/search/Collector;
astore 6
start local 6 9: aload 3
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: aload 4
ifnonnull 13
11: aload 6
invokeinterface org.apache.lucene.search.Collector.scoreMode:()Lorg/apache/lucene/search/ScoreMode;
astore 4
12: goto 15
StackMap locals: org.apache.lucene.search.Collector
StackMap stack:
13: aload 4
aload 6
invokeinterface org.apache.lucene.search.Collector.scoreMode:()Lorg/apache/lucene/search/ScoreMode;
if_acmpeq 15
14: new java.lang.IllegalStateException
dup
ldc "CollectorManager does not always produce collectors with the same score mode"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 6 15: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
aload 0
getfield org.apache.lucene.search.IndexSearcher.leafSlices:[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
arraylength
if_icmplt 8
end local 5 17: aload 4
ifnonnull 19
18: getstatic org.apache.lucene.search.ScoreMode.COMPLETE:Lorg/apache/lucene/search/ScoreMode;
astore 4
19: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.lucene.search.IndexSearcher.rewrite:(Lorg/apache/lucene/search/Query;)Lorg/apache/lucene/search/Query;
astore 1
20: aload 0
aload 1
aload 4
fconst_1
invokevirtual org.apache.lucene.search.IndexSearcher.createWeight:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/ScoreMode;F)Lorg/apache/lucene/search/Weight;
astore 5
start local 5 21: new java.util.ArrayList
dup
aload 0
getfield org.apache.lucene.search.IndexSearcher.leafSlices:[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 6
start local 6 22: iconst_0
istore 7
start local 7 23: goto 30
24: StackMap locals: org.apache.lucene.search.Weight java.util.List int
StackMap stack:
aload 0
getfield org.apache.lucene.search.IndexSearcher.leafSlices:[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
iload 7
aaload
getfield org.apache.lucene.search.IndexSearcher$LeafSlice.leaves:[Lorg/apache/lucene/index/LeafReaderContext;
astore 8
start local 8 25: aload 3
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.search.Collector
astore 9
start local 9 26: new java.util.concurrent.FutureTask
dup
aload 0
aload 8
aload 5
aload 9
invokedynamic call(Lorg/apache/lucene/search/IndexSearcher;[Lorg/apache/lucene/index/LeafReaderContext;Lorg/apache/lucene/search/Weight;Lorg/apache/lucene/search/Collector;)Ljava/util/concurrent/Callable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/apache/lucene/search/IndexSearcher.lambda$0([Lorg/apache/lucene/index/LeafReaderContext;Lorg/apache/lucene/search/Weight;Lorg/apache/lucene/search/Collector;)Lorg/apache/lucene/search/Collector; (7)
()Lorg/apache/lucene/search/Collector;
invokespecial java.util.concurrent.FutureTask.<init>:(Ljava/util/concurrent/Callable;)V
astore 10
start local 10 27: aload 0
getfield org.apache.lucene.search.IndexSearcher.executor:Ljava/util/concurrent/Executor;
aload 10
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
28: aload 6
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 9 end local 8 29: iinc 7 1
StackMap locals:
StackMap stack:
30: iload 7
aload 0
getfield org.apache.lucene.search.IndexSearcher.leafSlices:[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
arraylength
iconst_1
isub
if_icmplt 24
end local 7 31: aload 0
getfield org.apache.lucene.search.IndexSearcher.leafSlices:[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
aload 0
getfield org.apache.lucene.search.IndexSearcher.leafSlices:[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
arraylength
iconst_1
isub
aaload
getfield org.apache.lucene.search.IndexSearcher$LeafSlice.leaves:[Lorg/apache/lucene/index/LeafReaderContext;
astore 7
start local 7 32: aload 3
aload 0
getfield org.apache.lucene.search.IndexSearcher.leafSlices:[Lorg/apache/lucene/search/IndexSearcher$LeafSlice;
arraylength
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.search.Collector
astore 8
start local 8 33: aload 0
aload 7
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aload 5
aload 8
invokevirtual org.apache.lucene.search.IndexSearcher.search:(Ljava/util/List;Lorg/apache/lucene/search/Weight;Lorg/apache/lucene/search/Collector;)V
34: aload 6
aload 8
invokestatic java.util.concurrent.CompletableFuture.completedFuture:(Ljava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
35: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 9
start local 9 36: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 44
StackMap locals: org.apache.lucene.search.IndexSearcher org.apache.lucene.search.Query org.apache.lucene.search.CollectorManager java.util.List org.apache.lucene.search.ScoreMode org.apache.lucene.search.Weight java.util.List org.apache.lucene.index.LeafReaderContext[] org.apache.lucene.search.Collector java.util.List top java.util.Iterator
StackMap stack:
37: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 10
start local 10 38: aload 9
aload 10
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
checkcast org.apache.lucene.search.Collector
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
39: goto 44
StackMap locals: org.apache.lucene.search.IndexSearcher org.apache.lucene.search.Query org.apache.lucene.search.CollectorManager java.util.List org.apache.lucene.search.ScoreMode org.apache.lucene.search.Weight java.util.List org.apache.lucene.index.LeafReaderContext[] org.apache.lucene.search.Collector java.util.List java.util.concurrent.Future java.util.Iterator
StackMap stack: java.lang.InterruptedException
40: astore 12
start local 12 41: new org.apache.lucene.util.ThreadInterruptedException
dup
aload 12
invokespecial org.apache.lucene.util.ThreadInterruptedException.<init>:(Ljava/lang/InterruptedException;)V
athrow
end local 12 42: StackMap locals:
StackMap stack: java.util.concurrent.ExecutionException
astore 12
start local 12 43: new java.lang.RuntimeException
dup
aload 12
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 12 end local 10 44: StackMap locals: org.apache.lucene.search.IndexSearcher org.apache.lucene.search.Query org.apache.lucene.search.CollectorManager java.util.List org.apache.lucene.search.ScoreMode org.apache.lucene.search.Weight java.util.List org.apache.lucene.index.LeafReaderContext[] org.apache.lucene.search.Collector java.util.List top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 37
45: aload 2
aload 3
invokeinterface org.apache.lucene.search.CollectorManager.reduce:(Ljava/util/Collection;)Ljava/lang/Object;
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lorg/apache/lucene/search/IndexSearcher;
0 46 1 query Lorg/apache/lucene/search/Query;
0 46 2 collectorManager Lorg/apache/lucene/search/CollectorManager<TC;TT;>;
2 4 3 collector TC;
5 46 3 collectors Ljava/util/List<TC;>;
6 46 4 scoreMode Lorg/apache/lucene/search/ScoreMode;
7 17 5 i I
9 15 6 collector TC;
21 46 5 weight Lorg/apache/lucene/search/Weight;
22 46 6 topDocsFutures Ljava/util/List<Ljava/util/concurrent/Future<TC;>;>;
23 31 7 i I
25 29 8 leaves [Lorg/apache/lucene/index/LeafReaderContext;
26 29 9 collector TC;
27 29 10 task Ljava/util/concurrent/FutureTask<TC;>;
32 46 7 leaves [Lorg/apache/lucene/index/LeafReaderContext;
33 46 8 collector TC;
36 46 9 collectedCollectors Ljava/util/List<TC;>;
38 44 10 future Ljava/util/concurrent/Future<TC;>;
41 42 12 e Ljava/lang/InterruptedException;
43 44 12 e Ljava/util/concurrent/ExecutionException;
Exception table:
from to target type
38 39 40 Class java.lang.InterruptedException
38 39 42 Class java.util.concurrent.ExecutionException
Exceptions:
throws java.io.IOException
Signature: <C::Lorg/apache/lucene/search/Collector;T:Ljava/lang/Object;>(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/CollectorManager<TC;TT;>;)TT;
MethodParameters:
Name Flags
query
collectorManager
protected void search(java.util.List<org.apache.lucene.index.LeafReaderContext>, org.apache.lucene.search.Weight, org.apache.lucene.search.Collector);
descriptor: (Ljava/util/List;Lorg/apache/lucene/search/Weight;Lorg/apache/lucene/search/Collector;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: org.apache.lucene.search.IndexSearcher java.util.List org.apache.lucene.search.Weight org.apache.lucene.search.Collector top java.util.Iterator
StackMap stack:
1: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.LeafReaderContext
astore 4
start local 4 2: aload 3
aload 4
invokeinterface org.apache.lucene.search.Collector.getLeafCollector:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/LeafCollector;
astore 6
start local 6 3: goto 6
end local 6 StackMap locals: org.apache.lucene.search.IndexSearcher java.util.List org.apache.lucene.search.Weight org.apache.lucene.search.Collector org.apache.lucene.index.LeafReaderContext java.util.Iterator
StackMap stack: org.apache.lucene.search.CollectionTerminatedException
4: pop
5: goto 11
start local 6 6: StackMap locals: org.apache.lucene.search.LeafCollector
StackMap stack:
aload 2
aload 4
invokevirtual org.apache.lucene.search.Weight.bulkScorer:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/BulkScorer;
astore 7
start local 7 7: aload 7
ifnull 11
8: aload 7
aload 6
aload 4
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
invokevirtual org.apache.lucene.index.LeafReader.getLiveDocs:()Lorg/apache/lucene/util/Bits;
invokevirtual org.apache.lucene.search.BulkScorer.score:(Lorg/apache/lucene/search/LeafCollector;Lorg/apache/lucene/util/Bits;)V
9: goto 11
StackMap locals: org.apache.lucene.search.IndexSearcher java.util.List org.apache.lucene.search.Weight org.apache.lucene.search.Collector org.apache.lucene.index.LeafReaderContext java.util.Iterator org.apache.lucene.search.LeafCollector org.apache.lucene.search.BulkScorer
StackMap stack: org.apache.lucene.search.CollectionTerminatedException
10: pop
end local 7 end local 6 end local 4 11: StackMap locals: org.apache.lucene.search.IndexSearcher java.util.List org.apache.lucene.search.Weight org.apache.lucene.search.Collector top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/lucene/search/IndexSearcher;
0 13 1 leaves Ljava/util/List<Lorg/apache/lucene/index/LeafReaderContext;>;
0 13 2 weight Lorg/apache/lucene/search/Weight;
0 13 3 collector Lorg/apache/lucene/search/Collector;
2 11 4 ctx Lorg/apache/lucene/index/LeafReaderContext;
3 4 6 leafCollector Lorg/apache/lucene/search/LeafCollector;
6 11 6 leafCollector Lorg/apache/lucene/search/LeafCollector;
7 11 7 scorer Lorg/apache/lucene/search/BulkScorer;
Exception table:
from to target type
2 3 4 Class org.apache.lucene.search.CollectionTerminatedException
8 9 10 Class org.apache.lucene.search.CollectionTerminatedException
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Lorg/apache/lucene/index/LeafReaderContext;>;Lorg/apache/lucene/search/Weight;Lorg/apache/lucene/search/Collector;)V
MethodParameters:
Name Flags
leaves
weight
collector
public org.apache.lucene.search.Query rewrite(org.apache.lucene.search.Query);
descriptor: (Lorg/apache/lucene/search/Query;)Lorg/apache/lucene/search/Query;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 2
aload 0
getfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
invokevirtual org.apache.lucene.search.Query.rewrite:(Lorg/apache/lucene/index/IndexReader;)Lorg/apache/lucene/search/Query;
astore 3
start local 3 2: goto 5
3: StackMap locals: org.apache.lucene.search.Query org.apache.lucene.search.Query
StackMap stack:
aload 3
astore 2
4: aload 2
aload 0
getfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
invokevirtual org.apache.lucene.search.Query.rewrite:(Lorg/apache/lucene/index/IndexReader;)Lorg/apache/lucene/search/Query;
astore 3
5: StackMap locals:
StackMap stack:
aload 3
aload 2
if_acmpne 3
end local 3 6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/search/IndexSearcher;
0 7 1 original Lorg/apache/lucene/search/Query;
1 7 2 query Lorg/apache/lucene/search/Query;
2 6 3 rewrittenQuery Lorg/apache/lucene/search/Query;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
original
public org.apache.lucene.search.Explanation explain(org.apache.lucene.search.Query, int);
descriptor: (Lorg/apache/lucene/search/Query;I)Lorg/apache/lucene/search/Explanation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.lucene.search.IndexSearcher.rewrite:(Lorg/apache/lucene/search/Query;)Lorg/apache/lucene/search/Query;
astore 1
1: aload 0
aload 0
aload 1
getstatic org.apache.lucene.search.ScoreMode.COMPLETE:Lorg/apache/lucene/search/ScoreMode;
fconst_1
invokevirtual org.apache.lucene.search.IndexSearcher.createWeight:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/ScoreMode;F)Lorg/apache/lucene/search/Weight;
iload 2
invokevirtual org.apache.lucene.search.IndexSearcher.explain:(Lorg/apache/lucene/search/Weight;I)Lorg/apache/lucene/search/Explanation;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/IndexSearcher;
0 2 1 query Lorg/apache/lucene/search/Query;
0 2 2 doc I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
query
doc
protected org.apache.lucene.search.Explanation explain(org.apache.lucene.search.Weight, int);
descriptor: (Lorg/apache/lucene/search/Weight;I)Lorg/apache/lucene/search/Explanation;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iload 2
aload 0
getfield org.apache.lucene.search.IndexSearcher.leafContexts:Ljava/util/List;
invokestatic org.apache.lucene.index.ReaderUtil.subIndex:(ILjava/util/List;)I
istore 3
start local 3 1: aload 0
getfield org.apache.lucene.search.IndexSearcher.leafContexts:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.index.LeafReaderContext
astore 4
start local 4 2: iload 2
aload 4
getfield org.apache.lucene.index.LeafReaderContext.docBase:I
isub
istore 5
start local 5 3: aload 4
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
invokevirtual org.apache.lucene.index.LeafReader.getLiveDocs:()Lorg/apache/lucene/util/Bits;
astore 6
start local 6 4: aload 6
ifnull 6
aload 6
iload 5
invokeinterface org.apache.lucene.util.Bits.get:(I)Z
ifne 6
5: new java.lang.StringBuilder
dup
ldc "Document "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " is deleted"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray org.apache.lucene.search.Explanation
invokestatic org.apache.lucene.search.Explanation.noMatch:(Ljava/lang/String;[Lorg/apache/lucene/search/Explanation;)Lorg/apache/lucene/search/Explanation;
areturn
6: StackMap locals: org.apache.lucene.search.IndexSearcher org.apache.lucene.search.Weight int int org.apache.lucene.index.LeafReaderContext int org.apache.lucene.util.Bits
StackMap stack:
aload 1
aload 4
iload 5
invokevirtual org.apache.lucene.search.Weight.explain:(Lorg/apache/lucene/index/LeafReaderContext;I)Lorg/apache/lucene/search/Explanation;
areturn
end local 6 end local 5 end local 4 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;
0 7 1 weight Lorg/apache/lucene/search/Weight;
0 7 2 doc I
1 7 3 n I
2 7 4 ctx Lorg/apache/lucene/index/LeafReaderContext;
3 7 5 deBasedDoc I
4 7 6 liveDocs Lorg/apache/lucene/util/Bits;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
weight
doc
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.Query, org.apache.lucene.search.ScoreMode, float);
descriptor: (Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/ScoreMode;F)Lorg/apache/lucene/search/Weight;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.lucene.search.IndexSearcher.queryCache:Lorg/apache/lucene/search/QueryCache;
astore 4
start local 4 1: aload 1
aload 0
aload 2
fload 3
invokevirtual org.apache.lucene.search.Query.createWeight:(Lorg/apache/lucene/search/IndexSearcher;Lorg/apache/lucene/search/ScoreMode;F)Lorg/apache/lucene/search/Weight;
astore 5
start local 5 2: aload 2
invokevirtual org.apache.lucene.search.ScoreMode.needsScores:()Z
ifne 4
aload 4
ifnull 4
3: aload 4
aload 5
aload 0
getfield org.apache.lucene.search.IndexSearcher.queryCachingPolicy:Lorg/apache/lucene/search/QueryCachingPolicy;
invokeinterface org.apache.lucene.search.QueryCache.doCache:(Lorg/apache/lucene/search/Weight;Lorg/apache/lucene/search/QueryCachingPolicy;)Lorg/apache/lucene/search/Weight;
astore 5
4: StackMap locals: org.apache.lucene.search.QueryCache org.apache.lucene.search.Weight
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/search/IndexSearcher;
0 5 1 query Lorg/apache/lucene/search/Query;
0 5 2 scoreMode Lorg/apache/lucene/search/ScoreMode;
0 5 3 boost F
1 5 4 queryCache Lorg/apache/lucene/search/QueryCache;
2 5 5 weight Lorg/apache/lucene/search/Weight;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
query
scoreMode
boost
public org.apache.lucene.index.IndexReaderContext getTopReaderContext();
descriptor: ()Lorg/apache/lucene/index/IndexReaderContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.IndexSearcher.readerContext:Lorg/apache/lucene/index/IndexReaderContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "IndexSearcher("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "; executor="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.search.IndexSearcher.executor:Ljava/util/concurrent/Executor;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher;
public org.apache.lucene.search.TermStatistics termStatistics(org.apache.lucene.index.Term, org.apache.lucene.index.TermStates);
descriptor: (Lorg/apache/lucene/index/Term;Lorg/apache/lucene/index/TermStates;)Lorg/apache/lucene/search/TermStatistics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.apache.lucene.index.TermStates.docFreq:()I
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new org.apache.lucene.search.TermStatistics
dup
aload 1
invokevirtual org.apache.lucene.index.Term.bytes:()Lorg/apache/lucene/util/BytesRef;
aload 2
invokevirtual org.apache.lucene.index.TermStates.docFreq:()I
i2l
aload 2
invokevirtual org.apache.lucene.index.TermStates.totalTermFreq:()J
invokespecial org.apache.lucene.search.TermStatistics.<init>:(Lorg/apache/lucene/util/BytesRef;JJ)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/search/IndexSearcher;
0 3 1 term Lorg/apache/lucene/index/Term;
0 3 2 context Lorg/apache/lucene/index/TermStates;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
term
context
public org.apache.lucene.search.CollectionStatistics collectionStatistics(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/lucene/search/CollectionStatistics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=11, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.search.IndexSearcher.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
lconst_0
lstore 2
start local 2 2: lconst_0
lstore 4
start local 4 3: lconst_0
lstore 6
start local 6 4: aload 0
getfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
invokevirtual org.apache.lucene.index.IndexReader.leaves:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 12
StackMap locals: org.apache.lucene.search.IndexSearcher java.lang.String long long long top java.util.Iterator
StackMap stack:
5: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.LeafReaderContext
astore 8
start local 8 6: aload 8
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
aload 1
invokevirtual org.apache.lucene.index.LeafReader.terms:(Ljava/lang/String;)Lorg/apache/lucene/index/Terms;
astore 10
start local 10 7: aload 10
ifnonnull 9
8: goto 12
9: StackMap locals: org.apache.lucene.search.IndexSearcher java.lang.String long long long org.apache.lucene.index.LeafReaderContext java.util.Iterator org.apache.lucene.index.Terms
StackMap stack:
lload 2
aload 10
invokevirtual org.apache.lucene.index.Terms.getDocCount:()I
i2l
ladd
lstore 2
10: lload 4
aload 10
invokevirtual org.apache.lucene.index.Terms.getSumTotalTermFreq:()J
ladd
lstore 4
11: lload 6
aload 10
invokevirtual org.apache.lucene.index.Terms.getSumDocFreq:()J
ladd
lstore 6
end local 10 end local 8 12: StackMap locals: org.apache.lucene.search.IndexSearcher java.lang.String long long long top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
13: lload 2
lconst_0
lcmp
ifne 15
14: aconst_null
areturn
15: StackMap locals: org.apache.lucene.search.IndexSearcher java.lang.String long long long
StackMap stack:
new org.apache.lucene.search.CollectionStatistics
dup
aload 1
aload 0
getfield org.apache.lucene.search.IndexSearcher.reader:Lorg/apache/lucene/index/IndexReader;
invokevirtual org.apache.lucene.index.IndexReader.maxDoc:()I
i2l
lload 2
lload 4
lload 6
invokespecial org.apache.lucene.search.CollectionStatistics.<init>:(Ljava/lang/String;JJJJ)V
areturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/lucene/search/IndexSearcher;
0 16 1 field Ljava/lang/String;
2 16 2 docCount J
3 16 4 sumTotalTermFreq J
4 16 6 sumDocFreq J
6 12 8 leaf Lorg/apache/lucene/index/LeafReaderContext;
7 12 10 terms Lorg/apache/lucene/index/Terms;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
field
public java.util.concurrent.Executor getExecutor();
descriptor: ()Ljava/util/concurrent/Executor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.IndexSearcher.executor:Ljava/util/concurrent/Executor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/IndexSearcher;
private org.apache.lucene.search.Collector lambda$0(org.apache.lucene.index.LeafReaderContext[], org.apache.lucene.search.Weight, org.apache.lucene.search.Collector);
descriptor: ([Lorg/apache/lucene/index/LeafReaderContext;Lorg/apache/lucene/search/Weight;Lorg/apache/lucene/search/Collector;)Lorg/apache/lucene/search/Collector;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 0 0: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aload 2
aload 3
invokevirtual org.apache.lucene.search.IndexSearcher.search:(Ljava/util/List;Lorg/apache/lucene/search/Weight;Lorg/apache/lucene/search/Collector;)V
1: aload 3
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/IndexSearcher;
Exceptions:
throws java.lang.Exception
}
SourceFile: "IndexSearcher.java"
NestMembers:
org.apache.lucene.search.IndexSearcher$1 org.apache.lucene.search.IndexSearcher$2 org.apache.lucene.search.IndexSearcher$3 org.apache.lucene.search.IndexSearcher$LeafSlice
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
org.apache.lucene.search.IndexSearcher$1
org.apache.lucene.search.IndexSearcher$2
org.apache.lucene.search.IndexSearcher$3
public LeafSlice = org.apache.lucene.search.IndexSearcher$LeafSlice of org.apache.lucene.search.IndexSearcher