public abstract class org.apache.lucene.search.ConstantScoreWeight extends org.apache.lucene.search.Weight
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.lucene.search.ConstantScoreWeight
super_class: org.apache.lucene.search.Weight
{
private final float score;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(org.apache.lucene.search.Query, float);
descriptor: (Lorg/apache/lucene/search/Query;F)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.apache.lucene.search.Weight.<init>:(Lorg/apache/lucene/search/Query;)V
1: aload 0
fload 2
putfield org.apache.lucene.search.ConstantScoreWeight.score:F
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/ConstantScoreWeight;
0 3 1 query Lorg/apache/lucene/search/Query;
0 3 2 score F
MethodParameters:
Name Flags
query
score
public void extractTerms(java.util.Set<org.apache.lucene.index.Term>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/ConstantScoreWeight;
0 1 1 terms Ljava/util/Set<Lorg/apache/lucene/index/Term;>;
Signature: (Ljava/util/Set<Lorg/apache/lucene/index/Term;>;)V
MethodParameters:
Name Flags
terms
protected final float score();
descriptor: ()F
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.ConstantScoreWeight.score:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/ConstantScoreWeight;
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=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.lucene.search.ConstantScoreWeight.scorer:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/Scorer;
astore 3
start local 3 1: aload 3
ifnonnull 4
2: iconst_0
istore 4
start local 4 3: goto 13
end local 4 4: StackMap locals: org.apache.lucene.search.Scorer
StackMap stack:
aload 3
invokevirtual org.apache.lucene.search.Scorer.twoPhaseIterator:()Lorg/apache/lucene/search/TwoPhaseIterator;
astore 5
start local 5 5: aload 5
ifnonnull 10
6: aload 3
invokevirtual org.apache.lucene.search.Scorer.iterator:()Lorg/apache/lucene/search/DocIdSetIterator;
iload 2
invokevirtual org.apache.lucene.search.DocIdSetIterator.advance:(I)I
iload 2
if_icmpne 7
iconst_1
goto 8
StackMap locals: org.apache.lucene.search.ConstantScoreWeight org.apache.lucene.index.LeafReaderContext int org.apache.lucene.search.Scorer top org.apache.lucene.search.TwoPhaseIterator
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 4
start local 4 9: goto 13
end local 4 10: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.apache.lucene.search.TwoPhaseIterator.approximation:()Lorg/apache/lucene/search/DocIdSetIterator;
iload 2
invokevirtual org.apache.lucene.search.DocIdSetIterator.advance:(I)I
iload 2
if_icmpne 11
aload 5
invokevirtual org.apache.lucene.search.TwoPhaseIterator.matches:()Z
ifeq 11
iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: istore 4
end local 5 start local 4 13: StackMap locals: org.apache.lucene.search.ConstantScoreWeight org.apache.lucene.index.LeafReaderContext int org.apache.lucene.search.Scorer int
StackMap stack:
iload 4
ifeq 18
14: aload 0
getfield org.apache.lucene.search.ConstantScoreWeight.score:F
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.lucene.search.ConstantScoreWeight.getQuery:()Lorg/apache/lucene/search/Query;
invokevirtual org.apache.lucene.search.Query.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.search.ConstantScoreWeight.score:F
fconst_1
fcmpl
ifne 15
ldc ""
goto 16
StackMap locals: org.apache.lucene.search.ConstantScoreWeight org.apache.lucene.index.LeafReaderContext int org.apache.lucene.search.Scorer int
StackMap stack: java.lang.Float java.lang.StringBuilder
15: new java.lang.StringBuilder
dup
ldc "^"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.search.ConstantScoreWeight.score:F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: org.apache.lucene.search.ConstantScoreWeight org.apache.lucene.index.LeafReaderContext int org.apache.lucene.search.Scorer int
StackMap stack: java.lang.Float java.lang.StringBuilder java.lang.String
16: 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
17: invokestatic org.apache.lucene.search.Explanation.match:(Ljava/lang/Number;Ljava/lang/String;[Lorg/apache/lucene/search/Explanation;)Lorg/apache/lucene/search/Explanation;
areturn
18: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.lucene.search.ConstantScoreWeight.getQuery:()Lorg/apache/lucene/search/Query;
invokevirtual org.apache.lucene.search.Query.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " doesn't match id "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)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
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/lucene/search/ConstantScoreWeight;
0 19 1 context Lorg/apache/lucene/index/LeafReaderContext;
0 19 2 doc I
1 19 3 s Lorg/apache/lucene/search/Scorer;
3 4 4 exists Z
9 10 4 exists Z
13 19 4 exists Z
5 13 5 twoPhase Lorg/apache/lucene/search/TwoPhaseIterator;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
doc
}
SourceFile: "ConstantScoreWeight.java"