final class org.apache.lucene.search.TermQuery$TermWeight extends org.apache.lucene.search.Weight
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.search.TermQuery$TermWeight
super_class: org.apache.lucene.search.Weight
{
private final org.apache.lucene.search.similarities.Similarity similarity;
descriptor: Lorg/apache/lucene/search/similarities/Similarity;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.search.similarities.Similarity$SimScorer simScorer;
descriptor: Lorg/apache/lucene/search/similarities/Similarity$SimScorer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.index.TermStates termStates;
descriptor: Lorg/apache/lucene/index/TermStates;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.search.ScoreMode scoreMode;
descriptor: Lorg/apache/lucene/search/ScoreMode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.apache.lucene.search.TermQuery this$0;
descriptor: Lorg/apache/lucene/search/TermQuery;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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: ldc Lorg/apache/lucene/search/TermQuery;
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.TermQuery$TermWeight.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.lucene.search.TermQuery, org.apache.lucene.search.IndexSearcher, org.apache.lucene.search.ScoreMode, float, org.apache.lucene.index.TermStates);
descriptor: (Lorg/apache/lucene/search/TermQuery;Lorg/apache/lucene/search/IndexSearcher;Lorg/apache/lucene/search/ScoreMode;FLorg/apache/lucene/index/TermStates;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=8, args_size=6
start local 0 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
putfield org.apache.lucene.search.TermQuery$TermWeight.this$0:Lorg/apache/lucene/search/TermQuery;
1: aload 0
aload 1
invokespecial org.apache.lucene.search.Weight.<init>:(Lorg/apache/lucene/search/Query;)V
2: aload 3
invokevirtual org.apache.lucene.search.ScoreMode.needsScores:()Z
ifeq 4
aload 5
ifnonnull 4
3: new java.lang.IllegalStateException
dup
ldc "termStates are required when scores are needed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.apache.lucene.search.TermQuery$TermWeight org.apache.lucene.search.TermQuery org.apache.lucene.search.IndexSearcher org.apache.lucene.search.ScoreMode float org.apache.lucene.index.TermStates
StackMap stack:
aload 0
aload 3
putfield org.apache.lucene.search.TermQuery$TermWeight.scoreMode:Lorg/apache/lucene/search/ScoreMode;
5: aload 0
aload 5
putfield org.apache.lucene.search.TermQuery$TermWeight.termStates:Lorg/apache/lucene/index/TermStates;
6: aload 0
aload 2
invokevirtual org.apache.lucene.search.IndexSearcher.getSimilarity:()Lorg/apache/lucene/search/similarities/Similarity;
putfield org.apache.lucene.search.TermQuery$TermWeight.similarity:Lorg/apache/lucene/search/similarities/Similarity;
7: aload 3
invokevirtual org.apache.lucene.search.ScoreMode.needsScores:()Z
ifeq 11
8: aload 2
aload 1
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
invokevirtual org.apache.lucene.search.IndexSearcher.collectionStatistics:(Ljava/lang/String;)Lorg/apache/lucene/search/CollectionStatistics;
astore 6
start local 6 9: aload 2
aload 1
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
aload 5
invokevirtual org.apache.lucene.search.IndexSearcher.termStatistics:(Lorg/apache/lucene/index/Term;Lorg/apache/lucene/index/TermStates;)Lorg/apache/lucene/search/TermStatistics;
astore 7
start local 7 10: goto 13
end local 7 end local 6 11: StackMap locals:
StackMap stack:
new org.apache.lucene.search.CollectionStatistics
dup
aload 1
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
lconst_1
lconst_1
lconst_1
lconst_1
invokespecial org.apache.lucene.search.CollectionStatistics.<init>:(Ljava/lang/String;JJJJ)V
astore 6
start local 6 12: new org.apache.lucene.search.TermStatistics
dup
aload 1
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.bytes:()Lorg/apache/lucene/util/BytesRef;
lconst_1
lconst_1
invokespecial org.apache.lucene.search.TermStatistics.<init>:(Lorg/apache/lucene/util/BytesRef;JJ)V
astore 7
start local 7 13: StackMap locals: org.apache.lucene.search.CollectionStatistics org.apache.lucene.search.TermStatistics
StackMap stack:
aload 7
ifnonnull 16
14: aload 0
aconst_null
putfield org.apache.lucene.search.TermQuery$TermWeight.simScorer:Lorg/apache/lucene/search/similarities/Similarity$SimScorer;
15: goto 17
16: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.similarity:Lorg/apache/lucene/search/similarities/Similarity;
fload 4
aload 6
iconst_1
anewarray org.apache.lucene.search.TermStatistics
dup
iconst_0
aload 7
aastore
invokevirtual org.apache.lucene.search.similarities.Similarity.scorer:(FLorg/apache/lucene/search/CollectionStatistics;[Lorg/apache/lucene/search/TermStatistics;)Lorg/apache/lucene/search/similarities/Similarity$SimScorer;
putfield org.apache.lucene.search.TermQuery$TermWeight.simScorer:Lorg/apache/lucene/search/similarities/Similarity$SimScorer;
17: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/lucene/search/TermQuery$TermWeight;
0 18 2 searcher Lorg/apache/lucene/search/IndexSearcher;
0 18 3 scoreMode Lorg/apache/lucene/search/ScoreMode;
0 18 4 boost F
0 18 5 termStates Lorg/apache/lucene/index/TermStates;
9 11 6 collectionStats Lorg/apache/lucene/search/CollectionStatistics;
12 18 6 collectionStats Lorg/apache/lucene/search/CollectionStatistics;
10 11 7 termStats Lorg/apache/lucene/search/TermStatistics;
13 18 7 termStats Lorg/apache/lucene/search/TermStatistics;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
this$0 final
searcher
scoreMode
boost
termStates
public void extractTerms(java.util.Set<org.apache.lucene.index.Term>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.this$0:Lorg/apache/lucene/search/TermQuery;
invokevirtual org.apache.lucene.search.TermQuery.getTerm:()Lorg/apache/lucene/index/Term;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/TermQuery$TermWeight;
0 2 1 terms Ljava/util/Set<Lorg/apache/lucene/index/Term;>;
Signature: (Ljava/util/Set<Lorg/apache/lucene/index/Term;>;)V
MethodParameters:
Name Flags
terms
public org.apache.lucene.search.Matches matches(org.apache.lucene.index.LeafReaderContext, int);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;I)Lorg/apache/lucene/search/Matches;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.lucene.search.TermQuery$TermWeight.getTermsEnum:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/index/TermsEnum;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.apache.lucene.index.TermsEnum
StackMap stack:
aload 1
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.this$0:Lorg/apache/lucene/search/TermQuery;
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
invokevirtual org.apache.lucene.index.LeafReader.terms:(Ljava/lang/String;)Lorg/apache/lucene/index/Terms;
invokevirtual org.apache.lucene.index.Terms.hasPositions:()Z
ifne 5
4: aload 0
aload 1
iload 2
invokespecial org.apache.lucene.search.Weight.matches:(Lorg/apache/lucene/index/LeafReaderContext;I)Lorg/apache/lucene/search/Matches;
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.this$0:Lorg/apache/lucene/search/TermQuery;
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
aload 0
aload 3
iload 2
invokedynamic get(Lorg/apache/lucene/search/TermQuery$TermWeight;Lorg/apache/lucene/index/TermsEnum;I)Lorg/apache/lucene/util/IOSupplier;
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/TermQuery$TermWeight.lambda$0(Lorg/apache/lucene/index/TermsEnum;I)Lorg/apache/lucene/search/MatchesIterator; (7)
()Lorg/apache/lucene/search/MatchesIterator;
invokestatic org.apache.lucene.search.MatchesUtils.forField:(Ljava/lang/String;Lorg/apache/lucene/util/IOSupplier;)Lorg/apache/lucene/search/Matches;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/search/TermQuery$TermWeight;
0 6 1 context Lorg/apache/lucene/index/LeafReaderContext;
0 6 2 doc I
1 6 3 te Lorg/apache/lucene/index/TermsEnum;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
doc
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 "weight("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.this$0:Lorg/apache/lucene/search/TermQuery;
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/TermQuery$TermWeight;
public org.apache.lucene.search.Scorer scorer(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/Scorer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.search.TermQuery$TermWeight.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.termStates:Lorg/apache/lucene/index/TermStates;
ifnull 1
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.termStates:Lorg/apache/lucene/index/TermStates;
aload 1
invokestatic org.apache.lucene.index.ReaderUtil.getTopLevelContext:(Lorg/apache/lucene/index/IndexReaderContext;)Lorg/apache/lucene/index/IndexReaderContext;
invokevirtual org.apache.lucene.index.TermStates.wasBuiltFor:(Lorg/apache/lucene/index/IndexReaderContext;)Z
ifne 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "The top-reader used to create Weight is not the same as the current reader's top-reader ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic org.apache.lucene.index.ReaderUtil.getTopLevelContext:(Lorg/apache/lucene/index/IndexReaderContext;)Lorg/apache/lucene/index/IndexReaderContext;
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
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.lucene.search.TermQuery$TermWeight.getTermsEnum:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/index/TermsEnum;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: org.apache.lucene.index.TermsEnum
StackMap stack:
new org.apache.lucene.search.LeafSimScorer
dup
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.simScorer:Lorg/apache/lucene/search/similarities/Similarity$SimScorer;
aload 1
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.this$0:Lorg/apache/lucene/search/TermQuery;
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.scoreMode:Lorg/apache/lucene/search/ScoreMode;
invokevirtual org.apache.lucene.search.ScoreMode.needsScores:()Z
invokespecial org.apache.lucene.search.LeafSimScorer.<init>:(Lorg/apache/lucene/search/similarities/Similarity$SimScorer;Lorg/apache/lucene/index/LeafReader;Ljava/lang/String;Z)V
astore 3
start local 3 5: aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.scoreMode:Lorg/apache/lucene/search/ScoreMode;
getstatic org.apache.lucene.search.ScoreMode.TOP_SCORES:Lorg/apache/lucene/search/ScoreMode;
if_acmpne 7
6: new org.apache.lucene.search.TermScorer
dup
aload 0
aload 2
bipush 8
invokevirtual org.apache.lucene.index.TermsEnum.impacts:(I)Lorg/apache/lucene/index/ImpactsEnum;
aload 3
invokespecial org.apache.lucene.search.TermScorer.<init>:(Lorg/apache/lucene/search/Weight;Lorg/apache/lucene/index/ImpactsEnum;Lorg/apache/lucene/search/LeafSimScorer;)V
areturn
7: StackMap locals: org.apache.lucene.search.LeafSimScorer
StackMap stack:
new org.apache.lucene.search.TermScorer
dup
aload 0
aload 2
aconst_null
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.scoreMode:Lorg/apache/lucene/search/ScoreMode;
invokevirtual org.apache.lucene.search.ScoreMode.needsScores:()Z
ifeq 8
bipush 8
goto 9
StackMap locals: org.apache.lucene.search.TermQuery$TermWeight org.apache.lucene.index.LeafReaderContext org.apache.lucene.index.TermsEnum org.apache.lucene.search.LeafSimScorer
StackMap stack: new 7 new 7 org.apache.lucene.search.TermQuery$TermWeight org.apache.lucene.index.TermsEnum null
8: iconst_0
StackMap locals: org.apache.lucene.search.TermQuery$TermWeight org.apache.lucene.index.LeafReaderContext org.apache.lucene.index.TermsEnum org.apache.lucene.search.LeafSimScorer
StackMap stack: new 7 new 7 org.apache.lucene.search.TermQuery$TermWeight org.apache.lucene.index.TermsEnum null int
9: invokevirtual org.apache.lucene.index.TermsEnum.postings:(Lorg/apache/lucene/index/PostingsEnum;I)Lorg/apache/lucene/index/PostingsEnum;
aload 3
invokespecial org.apache.lucene.search.TermScorer.<init>:(Lorg/apache/lucene/search/Weight;Lorg/apache/lucene/index/PostingsEnum;Lorg/apache/lucene/search/LeafSimScorer;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/search/TermQuery$TermWeight;
0 10 1 context Lorg/apache/lucene/index/LeafReaderContext;
2 10 2 termsEnum Lorg/apache/lucene/index/TermsEnum;
5 10 3 scorer Lorg/apache/lucene/search/LeafSimScorer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
public boolean isCacheable(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/TermQuery$TermWeight;
0 1 1 ctx Lorg/apache/lucene/index/LeafReaderContext;
MethodParameters:
Name Flags
ctx
private org.apache.lucene.index.TermsEnum getTermsEnum(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/index/TermsEnum;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.search.TermQuery$TermWeight.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.termStates:Lorg/apache/lucene/index/TermStates;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.search.TermQuery$TermWeight.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.termStates:Lorg/apache/lucene/index/TermStates;
aload 1
invokestatic org.apache.lucene.index.ReaderUtil.getTopLevelContext:(Lorg/apache/lucene/index/IndexReaderContext;)Lorg/apache/lucene/index/IndexReaderContext;
invokevirtual org.apache.lucene.index.TermStates.wasBuiltFor:(Lorg/apache/lucene/index/IndexReaderContext;)Z
ifne 3
new java.lang.AssertionError
dup
2: new java.lang.StringBuilder
dup
ldc "The top-reader used to create Weight is not the same as the current reader's top-reader ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic org.apache.lucene.index.ReaderUtil.getTopLevelContext:(Lorg/apache/lucene/index/IndexReaderContext;)Lorg/apache/lucene/index/IndexReaderContext;
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
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.termStates:Lorg/apache/lucene/index/TermStates;
aload 1
invokevirtual org.apache.lucene.index.TermStates.get:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/index/TermState;
astore 2
start local 2 4: aload 2
ifnonnull 7
5: getstatic org.apache.lucene.search.TermQuery$TermWeight.$assertionsDisabled:Z
ifne 6
aload 0
aload 1
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.this$0:Lorg/apache/lucene/search/TermQuery;
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.search.TermQuery$TermWeight.termNotInReader:(Lorg/apache/lucene/index/LeafReader;Lorg/apache/lucene/index/Term;)Z
ifne 6
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "no termstate found but term exists in reader term="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.this$0:Lorg/apache/lucene/search/TermQuery;
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
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
6: StackMap locals: org.apache.lucene.index.TermState
StackMap stack:
aconst_null
areturn
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.this$0:Lorg/apache/lucene/search/TermQuery;
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
invokevirtual org.apache.lucene.index.LeafReader.terms:(Ljava/lang/String;)Lorg/apache/lucene/index/Terms;
invokevirtual org.apache.lucene.index.Terms.iterator:()Lorg/apache/lucene/index/TermsEnum;
astore 3
start local 3 8: aload 3
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.this$0:Lorg/apache/lucene/search/TermQuery;
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.bytes:()Lorg/apache/lucene/util/BytesRef;
aload 2
invokevirtual org.apache.lucene.index.TermsEnum.seekExact:(Lorg/apache/lucene/util/BytesRef;Lorg/apache/lucene/index/TermState;)V
9: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/search/TermQuery$TermWeight;
0 10 1 context Lorg/apache/lucene/index/LeafReaderContext;
4 10 2 state Lorg/apache/lucene/index/TermState;
8 10 3 termsEnum Lorg/apache/lucene/index/TermsEnum;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
private boolean termNotInReader(org.apache.lucene.index.LeafReader, org.apache.lucene.index.Term);
descriptor: (Lorg/apache/lucene/index/LeafReader;Lorg/apache/lucene/index/Term;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual org.apache.lucene.index.LeafReader.docFreq:(Lorg/apache/lucene/index/Term;)I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/TermQuery$TermWeight;
0 2 1 reader Lorg/apache/lucene/index/LeafReader;
0 2 2 term Lorg/apache/lucene/index/Term;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
reader
term
public org.apache.lucene.search.Explanation explain(org.apache.lucene.index.LeafReaderContext, int);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;I)Lorg/apache/lucene/search/Explanation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.lucene.search.TermQuery$TermWeight.scorer:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/Scorer;
checkcast org.apache.lucene.search.TermScorer
astore 3
start local 3 1: aload 3
ifnull 14
2: aload 3
invokevirtual org.apache.lucene.search.TermScorer.iterator:()Lorg/apache/lucene/search/DocIdSetIterator;
iload 2
invokevirtual org.apache.lucene.search.DocIdSetIterator.advance:(I)I
istore 4
start local 4 3: iload 4
iload 2
if_icmpne 14
4: aload 3
invokevirtual org.apache.lucene.search.TermScorer.freq:()I
i2f
fstore 5
start local 5 5: new org.apache.lucene.search.LeafSimScorer
dup
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.simScorer:Lorg/apache/lucene/search/similarities/Similarity$SimScorer;
aload 1
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.this$0:Lorg/apache/lucene/search/TermQuery;
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
iconst_1
invokespecial org.apache.lucene.search.LeafSimScorer.<init>:(Lorg/apache/lucene/search/similarities/Similarity$SimScorer;Lorg/apache/lucene/index/LeafReader;Ljava/lang/String;Z)V
astore 6
start local 6 6: fload 5
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
ldc "freq, occurrences of term within document"
iconst_0
anewarray org.apache.lucene.search.Explanation
invokestatic org.apache.lucene.search.Explanation.match:(Ljava/lang/Number;Ljava/lang/String;[Lorg/apache/lucene/search/Explanation;)Lorg/apache/lucene/search/Explanation;
astore 7
start local 7 7: aload 6
iload 2
aload 7
invokevirtual org.apache.lucene.search.LeafSimScorer.explain:(ILorg/apache/lucene/search/Explanation;)Lorg/apache/lucene/search/Explanation;
astore 8
start local 8 8: aload 8
invokevirtual org.apache.lucene.search.Explanation.getValue:()Ljava/lang/Number;
9: new java.lang.StringBuilder
dup
ldc "weight("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.apache.lucene.search.TermQuery$TermWeight.getQuery:()Lorg/apache/lucene/search/Query;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ") ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: aload 0
getfield org.apache.lucene.search.TermQuery$TermWeight.similarity:Lorg/apache/lucene/search/similarities/Similarity;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "], result of:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
anewarray org.apache.lucene.search.Explanation
dup
iconst_0
12: aload 8
aastore
13: invokestatic org.apache.lucene.search.Explanation.match:(Ljava/lang/Number;Ljava/lang/String;[Lorg/apache/lucene/search/Explanation;)Lorg/apache/lucene/search/Explanation;
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 14: StackMap locals: org.apache.lucene.search.TermScorer
StackMap stack:
ldc "no matching term"
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
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/lucene/search/TermQuery$TermWeight;
0 15 1 context Lorg/apache/lucene/index/LeafReaderContext;
0 15 2 doc I
1 15 3 scorer Lorg/apache/lucene/search/TermScorer;
3 14 4 newDoc I
5 14 5 freq F
6 14 6 docScorer Lorg/apache/lucene/search/LeafSimScorer;
7 14 7 freqExplanation Lorg/apache/lucene/search/Explanation;
8 14 8 scoreExplanation Lorg/apache/lucene/search/Explanation;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
doc
private org.apache.lucene.search.MatchesIterator lambda$0(org.apache.lucene.index.TermsEnum, int);
descriptor: (Lorg/apache/lucene/index/TermsEnum;I)Lorg/apache/lucene/search/MatchesIterator;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
start local 0 0: aload 1
aconst_null
bipush 56
invokevirtual org.apache.lucene.index.TermsEnum.postings:(Lorg/apache/lucene/index/PostingsEnum;I)Lorg/apache/lucene/index/PostingsEnum;
astore 3
start local 3 1: aload 3
iload 2
invokevirtual org.apache.lucene.index.PostingsEnum.advance:(I)I
iload 2
if_icmpeq 3
2: aconst_null
areturn
3: StackMap locals: org.apache.lucene.index.PostingsEnum
StackMap stack:
new org.apache.lucene.search.TermMatchesIterator
dup
aload 0
invokevirtual org.apache.lucene.search.TermQuery$TermWeight.getQuery:()Lorg/apache/lucene/search/Query;
aload 3
invokespecial org.apache.lucene.search.TermMatchesIterator.<init>:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/index/PostingsEnum;)V
areturn
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/search/TermQuery$TermWeight;
1 4 3 pe Lorg/apache/lucene/index/PostingsEnum;
Exceptions:
throws java.io.IOException
}
SourceFile: "TermQuery.java"
NestHost: org.apache.lucene.search.TermQuery
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final TermWeight = org.apache.lucene.search.TermQuery$TermWeight of org.apache.lucene.search.TermQuery
public abstract SimScorer = org.apache.lucene.search.similarities.Similarity$SimScorer of org.apache.lucene.search.similarities.Similarity