final class org.apache.lucene.search.WANDScorer extends org.apache.lucene.search.Scorer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.search.WANDScorer
super_class: org.apache.lucene.search.Scorer
{
private final int scalingFactor;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long minCompetitiveScore;
descriptor: J
flags: (0x0002) ACC_PRIVATE
org.apache.lucene.search.DisiWrapper lead;
descriptor: Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0000)
int doc;
descriptor: I
flags: (0x0000)
long leadMaxScore;
descriptor: J
flags: (0x0000)
final org.apache.lucene.search.DisiPriorityQueue head;
descriptor: Lorg/apache/lucene/search/DisiPriorityQueue;
flags: (0x0010) ACC_FINAL
final org.apache.lucene.search.DisiWrapper[] tail;
descriptor: [Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0010) ACC_FINAL
long tailMaxScore;
descriptor: J
flags: (0x0000)
int tailSize;
descriptor: I
flags: (0x0000)
final long cost;
descriptor: J
flags: (0x0010) ACC_FINAL
final org.apache.lucene.search.MaxScoreSumPropagator maxScorePropagator;
descriptor: Lorg/apache/lucene/search/MaxScoreSumPropagator;
flags: (0x0010) ACC_FINAL
int upTo;
descriptor: I
flags: (0x0000)
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/WANDScorer;
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.WANDScorer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
static int scalingFactor(float);
descriptor: (F)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: fload 0
fconst_0
fcmpg
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "Scores must be positive or null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
fload 0
fconst_0
fcmpl
ifne 4
3: ldc 1.4E-45
invokestatic org.apache.lucene.search.WANDScorer.scalingFactor:(F)I
iconst_1
isub
ireturn
4: StackMap locals:
StackMap stack:
fload 0
invokestatic java.lang.Float.isInfinite:(F)Z
ifeq 6
5: ldc 3.4028235E38
invokestatic org.apache.lucene.search.WANDScorer.scalingFactor:(F)I
iconst_1
iadd
ireturn
6: StackMap locals:
StackMap stack:
fload 0
f2d
dstore 1
start local 1 7: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 8
dload 1
dconst_0
dcmpl
ifeq 8
dload 1
invokestatic java.lang.Math.getExponent:(D)I
sipush -1022
if_icmpge 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: double
StackMap stack:
bipush 15
dload 1
invokestatic java.lang.Math.nextDown:(D)D
invokestatic java.lang.Math.getExponent:(D)I
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 f F
7 9 1 d D
MethodParameters:
Name Flags
f
private static long scaleMaxScore(float, int);
descriptor: (FI)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 1
fload 0
invokestatic java.lang.Float.isNaN:(F)Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 2
fload 0
fconst_0
fcmpl
ifge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
fload 0
f2d
iload 1
invokestatic java.lang.Math.scalb:(DI)D
dstore 2
start local 2 3: dload 2
ldc 65536.0
dcmpl
ifle 5
4: ldc 4294967295
lreturn
5: StackMap locals: double
StackMap stack:
dload 2
invokestatic java.lang.Math.ceil:(D)D
d2l
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 maxScore F
0 6 1 scalingFactor I
3 6 2 scaled D
MethodParameters:
Name Flags
maxScore
scalingFactor
private static long scaleMinScore(float, int);
descriptor: (FI)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 1
fload 0
invokestatic java.lang.Float.isNaN:(F)Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 2
fload 0
fconst_0
fcmpl
ifge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
fload 0
f2d
iload 1
invokestatic java.lang.Math.scalb:(DI)D
dstore 2
start local 2 3: dload 2
invokestatic java.lang.Math.floor:(D)D
d2l
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 minScore F
0 4 1 scalingFactor I
3 4 2 scaled D
MethodParameters:
Name Flags
minScore
scalingFactor
void <init>(org.apache.lucene.search.Weight, java.util.Collection<org.apache.lucene.search.Scorer>);
descriptor: (Lorg/apache/lucene/search/Weight;Ljava/util/Collection;)V
flags: (0x0000)
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.apache.lucene.search.Scorer.<init>:(Lorg/apache/lucene/search/Weight;)V
1: aload 0
lconst_0
putfield org.apache.lucene.search.WANDScorer.minCompetitiveScore:J
2: aload 0
lconst_0
putfield org.apache.lucene.search.WANDScorer.minCompetitiveScore:J
3: aload 0
iconst_m1
putfield org.apache.lucene.search.WANDScorer.doc:I
4: aload 0
iconst_m1
putfield org.apache.lucene.search.WANDScorer.upTo:I
5: aload 0
new org.apache.lucene.search.DisiPriorityQueue
dup
aload 2
invokeinterface java.util.Collection.size:()I
invokespecial org.apache.lucene.search.DisiPriorityQueue.<init>:(I)V
putfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
6: aload 0
aload 2
invokeinterface java.util.Collection.size:()I
anewarray org.apache.lucene.search.DisiWrapper
putfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
7: invokestatic java.util.OptionalInt.empty:()Ljava/util/OptionalInt;
astore 3
start local 3 8: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 14
StackMap locals: org.apache.lucene.search.WANDScorer org.apache.lucene.search.Weight java.util.Collection java.util.OptionalInt top java.util.Iterator
StackMap stack:
9: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.search.Scorer
astore 4
start local 4 10: aload 4
iconst_0
invokevirtual org.apache.lucene.search.Scorer.advanceShallow:(I)I
pop
11: aload 4
ldc 2147483647
invokevirtual org.apache.lucene.search.Scorer.getMaxScore:(I)F
fstore 6
start local 6 12: fload 6
fconst_0
fcmpl
ifeq 14
fload 6
invokestatic java.lang.Float.isFinite:(F)Z
ifeq 14
13: aload 3
ldc 2147483647
invokevirtual java.util.OptionalInt.orElse:(I)I
fload 6
invokestatic org.apache.lucene.search.WANDScorer.scalingFactor:(F)I
invokestatic java.lang.Math.min:(II)I
invokestatic java.util.OptionalInt.of:(I)Ljava/util/OptionalInt;
astore 3
end local 6 end local 4 14: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
15: aload 0
aload 3
iconst_0
invokevirtual java.util.OptionalInt.orElse:(I)I
putfield org.apache.lucene.search.WANDScorer.scalingFactor:I
16: lconst_0
lstore 4
start local 4 17: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 22
StackMap locals: org.apache.lucene.search.WANDScorer org.apache.lucene.search.Weight java.util.Collection java.util.OptionalInt long top java.util.Iterator
StackMap stack:
18: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.search.Scorer
astore 6
start local 6 19: new org.apache.lucene.search.DisiWrapper
dup
aload 6
invokespecial org.apache.lucene.search.DisiWrapper.<init>:(Lorg/apache/lucene/search/Scorer;)V
astore 8
start local 8 20: lload 4
aload 8
getfield org.apache.lucene.search.DisiWrapper.cost:J
ladd
lstore 4
21: aload 0
aload 8
invokevirtual org.apache.lucene.search.WANDScorer.addLead:(Lorg/apache/lucene/search/DisiWrapper;)V
end local 8 end local 6 22: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
23: aload 0
lload 4
putfield org.apache.lucene.search.WANDScorer.cost:J
24: aload 0
new org.apache.lucene.search.MaxScoreSumPropagator
dup
aload 2
invokespecial org.apache.lucene.search.MaxScoreSumPropagator.<init>:(Ljava/util/Collection;)V
putfield org.apache.lucene.search.WANDScorer.maxScorePropagator:Lorg/apache/lucene/search/MaxScoreSumPropagator;
25: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/apache/lucene/search/WANDScorer;
0 26 1 weight Lorg/apache/lucene/search/Weight;
0 26 2 scorers Ljava/util/Collection<Lorg/apache/lucene/search/Scorer;>;
8 26 3 scalingFactor Ljava/util/OptionalInt;
10 14 4 scorer Lorg/apache/lucene/search/Scorer;
12 14 6 maxScore F
17 26 4 cost J
19 22 6 scorer Lorg/apache/lucene/search/Scorer;
20 22 8 w Lorg/apache/lucene/search/DisiWrapper;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/lucene/search/Weight;Ljava/util/Collection<Lorg/apache/lucene/search/Scorer;>;)V
MethodParameters:
Name Flags
weight
scorers
private boolean ensureConsistent();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: iconst_0
istore 3
start local 3 2: goto 6
3: StackMap locals: long int
StackMap stack:
getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iload 3
aaload
getfield org.apache.lucene.search.DisiWrapper.doc:I
aload 0
getfield org.apache.lucene.search.WANDScorer.doc:I
if_icmplt 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iload 3
aaload
getfield org.apache.lucene.search.DisiWrapper.maxScore:J
invokestatic java.lang.Math.addExact:(JJ)J
lstore 1
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 0
getfield org.apache.lucene.search.WANDScorer.tailSize:I
if_icmplt 3
end local 3 7: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 8
lload 1
aload 0
getfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
lcmp
ifeq 8
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
lload 1
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
8: StackMap locals:
StackMap stack:
lconst_0
lstore 1
9: aload 0
getfield org.apache.lucene.search.WANDScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
astore 3
start local 3 10: goto 14
11: StackMap locals: org.apache.lucene.search.DisiWrapper
StackMap stack:
getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 12
aload 3
getfield org.apache.lucene.search.DisiWrapper.doc:I
aload 0
getfield org.apache.lucene.search.WANDScorer.doc:I
if_icmpeq 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
12: StackMap locals:
StackMap stack:
lload 1
aload 3
getfield org.apache.lucene.search.DisiWrapper.maxScore:J
invokestatic java.lang.Math.addExact:(JJ)J
lstore 1
13: aload 3
getfield org.apache.lucene.search.DisiWrapper.next:Lorg/apache/lucene/search/DisiWrapper;
astore 3
StackMap locals:
StackMap stack:
14: aload 3
ifnonnull 11
end local 3 15: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 16
lload 1
aload 0
getfield org.apache.lucene.search.WANDScorer.leadMaxScore:J
lcmp
ifeq 16
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
lload 1
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.search.WANDScorer.leadMaxScore:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
16: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.iterator:()Ljava/util/Iterator;
astore 4
goto 19
StackMap locals: org.apache.lucene.search.WANDScorer long top java.util.Iterator
StackMap stack:
17: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.search.DisiWrapper
astore 3
start local 3 18: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 19
aload 3
getfield org.apache.lucene.search.DisiWrapper.doc:I
aload 0
getfield org.apache.lucene.search.WANDScorer.doc:I
if_icmpgt 19
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 3 19: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
20: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 21
aload 0
getfield org.apache.lucene.search.WANDScorer.minCompetitiveScore:J
lconst_0
lcmp
ifeq 21
aload 0
getfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
aload 0
getfield org.apache.lucene.search.WANDScorer.minCompetitiveScore:J
lcmp
iflt 21
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
21: StackMap locals: org.apache.lucene.search.WANDScorer long
StackMap stack:
getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 22
aload 0
getfield org.apache.lucene.search.WANDScorer.doc:I
aload 0
getfield org.apache.lucene.search.WANDScorer.upTo:I
if_icmple 22
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
22: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/apache/lucene/search/WANDScorer;
1 23 1 maxScoreSum J
2 7 3 i I
10 15 3 w Lorg/apache/lucene/search/DisiWrapper;
18 19 3 w Lorg/apache/lucene/search/DisiWrapper;
public void setMinCompetitiveScore(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 1
fload 1
fconst_0
fcmpl
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
fload 1
aload 0
getfield org.apache.lucene.search.WANDScorer.scalingFactor:I
invokestatic org.apache.lucene.search.WANDScorer.scaleMinScore:(FI)J
lstore 2
start local 2 2: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 3
lload 2
aload 0
getfield org.apache.lucene.search.WANDScorer.minCompetitiveScore:J
lcmp
ifge 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: long
StackMap stack:
aload 0
lload 2
putfield org.apache.lucene.search.WANDScorer.minCompetitiveScore:J
4: aload 0
getfield org.apache.lucene.search.WANDScorer.maxScorePropagator:Lorg/apache/lucene/search/MaxScoreSumPropagator;
fload 1
invokevirtual org.apache.lucene.search.MaxScoreSumPropagator.setMinCompetitiveScore:(F)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/search/WANDScorer;
0 6 1 minScore F
2 6 2 scaledMinScore J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
minScore
public final java.util.Collection<org.apache.lucene.search.Scorable$ChildScorable> getChildren();
descriptor: ()Ljava/util/Collection;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual org.apache.lucene.search.WANDScorer.advanceAllTail:()V
2: aload 0
getfield org.apache.lucene.search.WANDScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
astore 2
start local 2 3: goto 6
4: StackMap locals: java.util.List org.apache.lucene.search.DisiWrapper
StackMap stack:
aload 1
new org.apache.lucene.search.Scorable$ChildScorable
dup
aload 2
getfield org.apache.lucene.search.DisiWrapper.scorer:Lorg/apache/lucene/search/Scorer;
ldc "SHOULD"
invokespecial org.apache.lucene.search.Scorable$ChildScorable.<init>:(Lorg/apache/lucene/search/Scorable;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 2
getfield org.apache.lucene.search.DisiWrapper.next:Lorg/apache/lucene/search/DisiWrapper;
astore 2
StackMap locals:
StackMap stack:
6: aload 2
ifnonnull 4
end local 2 7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/search/WANDScorer;
1 8 1 matchingChildren Ljava/util/List<Lorg/apache/lucene/search/Scorable$ChildScorable;>;
3 7 2 s Lorg/apache/lucene/search/DisiWrapper;
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/Collection<Lorg/apache/lucene/search/Scorable$ChildScorable;>;
public org.apache.lucene.search.DocIdSetIterator iterator();
descriptor: ()Lorg/apache/lucene/search/DocIdSetIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.search.WANDScorer.twoPhaseIterator:()Lorg/apache/lucene/search/TwoPhaseIterator;
invokestatic org.apache.lucene.search.TwoPhaseIterator.asDocIdSetIterator:(Lorg/apache/lucene/search/TwoPhaseIterator;)Lorg/apache/lucene/search/DocIdSetIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/WANDScorer;
public org.apache.lucene.search.TwoPhaseIterator twoPhaseIterator();
descriptor: ()Lorg/apache/lucene/search/TwoPhaseIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new org.apache.lucene.search.WANDScorer$1
dup
aload 0
invokespecial org.apache.lucene.search.WANDScorer$1.<init>:(Lorg/apache/lucene/search/WANDScorer;)V
astore 1
start local 1 1: new org.apache.lucene.search.WANDScorer$2
dup
aload 0
aload 1
invokespecial org.apache.lucene.search.WANDScorer$2.<init>:(Lorg/apache/lucene/search/WANDScorer;Lorg/apache/lucene/search/DocIdSetIterator;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/WANDScorer;
1 2 1 approximation Lorg/apache/lucene/search/DocIdSetIterator;
private void addLead(org.apache.lucene.search.DisiWrapper);
descriptor: (Lorg/apache/lucene/search/DisiWrapper;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.apache.lucene.search.WANDScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
putfield org.apache.lucene.search.DisiWrapper.next:Lorg/apache/lucene/search/DisiWrapper;
1: aload 0
aload 1
putfield org.apache.lucene.search.WANDScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
2: aload 0
dup
getfield org.apache.lucene.search.WANDScorer.leadMaxScore:J
aload 1
getfield org.apache.lucene.search.DisiWrapper.maxScore:J
ladd
putfield org.apache.lucene.search.WANDScorer.leadMaxScore:J
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/search/WANDScorer;
0 4 1 lead Lorg/apache/lucene/search/DisiWrapper;
MethodParameters:
Name Flags
lead
private void pushBackLeads(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.WANDScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
astore 2
start local 2 1: goto 7
2: StackMap locals: org.apache.lucene.search.DisiWrapper
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.lucene.search.WANDScorer.insertTailWithOverFlow:(Lorg/apache/lucene/search/DisiWrapper;)Lorg/apache/lucene/search/DisiWrapper;
astore 3
start local 3 3: aload 3
ifnull 6
4: aload 3
aload 3
getfield org.apache.lucene.search.DisiWrapper.iterator:Lorg/apache/lucene/search/DocIdSetIterator;
iload 1
invokevirtual org.apache.lucene.search.DocIdSetIterator.advance:(I)I
putfield org.apache.lucene.search.DisiWrapper.doc:I
5: aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
aload 3
invokevirtual org.apache.lucene.search.DisiPriorityQueue.add:(Lorg/apache/lucene/search/DisiWrapper;)Lorg/apache/lucene/search/DisiWrapper;
pop
end local 3 6: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.search.DisiWrapper.next:Lorg/apache/lucene/search/DisiWrapper;
astore 2
StackMap locals:
StackMap stack:
7: aload 2
ifnonnull 2
end local 2 8: aload 0
aconst_null
putfield org.apache.lucene.search.WANDScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
9: aload 0
lconst_0
putfield org.apache.lucene.search.WANDScorer.leadMaxScore:J
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/search/WANDScorer;
0 11 1 target I
1 8 2 s Lorg/apache/lucene/search/DisiWrapper;
3 6 3 evicted Lorg/apache/lucene/search/DisiWrapper;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
private void advanceHead(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.top:()Lorg/apache/lucene/search/DisiWrapper;
astore 2
start local 2 1: goto 9
2: StackMap locals: org.apache.lucene.search.DisiWrapper
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.lucene.search.WANDScorer.insertTailWithOverFlow:(Lorg/apache/lucene/search/DisiWrapper;)Lorg/apache/lucene/search/DisiWrapper;
astore 3
start local 3 3: aload 3
ifnull 7
4: aload 3
aload 3
getfield org.apache.lucene.search.DisiWrapper.iterator:Lorg/apache/lucene/search/DocIdSetIterator;
iload 1
invokevirtual org.apache.lucene.search.DocIdSetIterator.advance:(I)I
putfield org.apache.lucene.search.DisiWrapper.doc:I
5: aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
aload 3
invokevirtual org.apache.lucene.search.DisiPriorityQueue.updateTop:(Lorg/apache/lucene/search/DisiWrapper;)Lorg/apache/lucene/search/DisiWrapper;
astore 2
6: goto 9
7: StackMap locals: org.apache.lucene.search.DisiWrapper
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.pop:()Lorg/apache/lucene/search/DisiWrapper;
pop
8: aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.top:()Lorg/apache/lucene/search/DisiWrapper;
astore 2
end local 3 9: StackMap locals:
StackMap stack:
aload 2
ifnull 10
aload 2
getfield org.apache.lucene.search.DisiWrapper.doc:I
iload 1
if_icmplt 2
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/search/WANDScorer;
0 11 1 target I
1 11 2 headTop Lorg/apache/lucene/search/DisiWrapper;
3 9 3 evicted Lorg/apache/lucene/search/DisiWrapper;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
private void advanceTail(org.apache.lucene.search.DisiWrapper);
descriptor: (Lorg/apache/lucene/search/DisiWrapper;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 1
getfield org.apache.lucene.search.DisiWrapper.iterator:Lorg/apache/lucene/search/DocIdSetIterator;
aload 0
getfield org.apache.lucene.search.WANDScorer.doc:I
invokevirtual org.apache.lucene.search.DocIdSetIterator.advance:(I)I
putfield org.apache.lucene.search.DisiWrapper.doc:I
1: aload 1
getfield org.apache.lucene.search.DisiWrapper.doc:I
aload 0
getfield org.apache.lucene.search.WANDScorer.doc:I
if_icmpne 4
2: aload 0
aload 1
invokevirtual org.apache.lucene.search.WANDScorer.addLead:(Lorg/apache/lucene/search/DisiWrapper;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
aload 1
invokevirtual org.apache.lucene.search.DisiPriorityQueue.add:(Lorg/apache/lucene/search/DisiWrapper;)Lorg/apache/lucene/search/DisiWrapper;
pop
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/search/WANDScorer;
0 6 1 disi Lorg/apache/lucene/search/DisiWrapper;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
disi
private void advanceTail();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.search.WANDScorer.popTail:()Lorg/apache/lucene/search/DisiWrapper;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual org.apache.lucene.search.WANDScorer.advanceTail:(Lorg/apache/lucene/search/DisiWrapper;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/search/WANDScorer;
1 3 1 top Lorg/apache/lucene/search/DisiWrapper;
Exceptions:
throws java.io.IOException
private void updateMaxScores(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.size:()I
ifne 3
1: aload 0
aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iconst_0
aaload
getfield org.apache.lucene.search.DisiWrapper.scorer:Lorg/apache/lucene/search/Scorer;
iload 1
invokevirtual org.apache.lucene.search.Scorer.advanceShallow:(I)I
putfield org.apache.lucene.search.WANDScorer.upTo:I
2: goto 11
3: StackMap locals:
StackMap stack:
ldc 2147483647
istore 2
start local 2 4: aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: org.apache.lucene.search.WANDScorer int int top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.search.DisiWrapper
astore 3
start local 3 6: aload 3
getfield org.apache.lucene.search.DisiWrapper.doc:I
iload 2
if_icmpgt 9
7: aload 3
getfield org.apache.lucene.search.DisiWrapper.scorer:Lorg/apache/lucene/search/Scorer;
aload 3
getfield org.apache.lucene.search.DisiWrapper.doc:I
invokevirtual org.apache.lucene.search.Scorer.advanceShallow:(I)I
iload 2
invokestatic java.lang.Math.min:(II)I
istore 2
8: aload 3
aload 3
getfield org.apache.lucene.search.DisiWrapper.scorer:Lorg/apache/lucene/search/Scorer;
iload 2
invokevirtual org.apache.lucene.search.Scorer.getMaxScore:(I)F
aload 0
getfield org.apache.lucene.search.WANDScorer.scalingFactor:I
invokestatic org.apache.lucene.search.WANDScorer.scaleMaxScore:(FI)J
putfield org.apache.lucene.search.DisiWrapper.maxScore:J
end local 3 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
10: aload 0
iload 2
putfield org.apache.lucene.search.WANDScorer.upTo:I
end local 2 11: StackMap locals: org.apache.lucene.search.WANDScorer int
StackMap stack:
aload 0
lconst_0
putfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
12: iconst_0
istore 2
start local 2 13: goto 20
14: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iload 2
aaload
astore 3
start local 3 15: aload 3
getfield org.apache.lucene.search.DisiWrapper.scorer:Lorg/apache/lucene/search/Scorer;
iload 1
invokevirtual org.apache.lucene.search.Scorer.advanceShallow:(I)I
pop
16: aload 3
aload 3
getfield org.apache.lucene.search.DisiWrapper.scorer:Lorg/apache/lucene/search/Scorer;
aload 0
getfield org.apache.lucene.search.WANDScorer.upTo:I
invokevirtual org.apache.lucene.search.Scorer.getMaxScore:(I)F
aload 0
getfield org.apache.lucene.search.WANDScorer.scalingFactor:I
invokestatic org.apache.lucene.search.WANDScorer.scaleMaxScore:(FI)J
putfield org.apache.lucene.search.DisiWrapper.maxScore:J
17: aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iload 2
invokestatic org.apache.lucene.search.WANDScorer.upHeapMaxScore:([Lorg/apache/lucene/search/DisiWrapper;I)V
18: aload 0
dup
getfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
aload 3
getfield org.apache.lucene.search.DisiWrapper.maxScore:J
ladd
putfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
end local 3 19: iinc 2 1
StackMap locals:
StackMap stack:
20: iload 2
aload 0
getfield org.apache.lucene.search.WANDScorer.tailSize:I
if_icmplt 14
end local 2 21: goto 25
22: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.search.WANDScorer.popTail:()Lorg/apache/lucene/search/DisiWrapper;
astore 2
start local 2 23: aload 2
aload 2
getfield org.apache.lucene.search.DisiWrapper.iterator:Lorg/apache/lucene/search/DocIdSetIterator;
iload 1
invokevirtual org.apache.lucene.search.DocIdSetIterator.advance:(I)I
putfield org.apache.lucene.search.DisiWrapper.doc:I
24: aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
aload 2
invokevirtual org.apache.lucene.search.DisiPriorityQueue.add:(Lorg/apache/lucene/search/DisiWrapper;)Lorg/apache/lucene/search/DisiWrapper;
pop
end local 2 25: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.tailSize:I
ifle 26
aload 0
getfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
aload 0
getfield org.apache.lucene.search.WANDScorer.minCompetitiveScore:J
lcmp
ifge 22
26: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/apache/lucene/search/WANDScorer;
0 27 1 target I
4 11 2 newUpTo I
6 9 3 w Lorg/apache/lucene/search/DisiWrapper;
13 21 2 i I
15 19 3 w Lorg/apache/lucene/search/DisiWrapper;
23 25 2 w Lorg/apache/lucene/search/DisiWrapper;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
private void updateMaxScoresIfNecessary(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 9
aload 0
getfield org.apache.lucene.search.WANDScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
ifnull 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.size:()I
ifne 5
2: iload 1
aload 0
getfield org.apache.lucene.search.WANDScorer.upTo:I
iconst_1
iadd
invokestatic java.lang.Math.max:(II)I
istore 1
3: aload 0
iload 1
invokevirtual org.apache.lucene.search.WANDScorer.updateMaxScores:(I)V
4: goto 9
StackMap locals:
StackMap stack:
5: aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.top:()Lorg/apache/lucene/search/DisiWrapper;
getfield org.apache.lucene.search.DisiWrapper.doc:I
aload 0
getfield org.apache.lucene.search.WANDScorer.upTo:I
if_icmple 10
6: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 7
aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.top:()Lorg/apache/lucene/search/DisiWrapper;
getfield org.apache.lucene.search.DisiWrapper.doc:I
iload 1
if_icmpge 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual org.apache.lucene.search.WANDScorer.updateMaxScores:(I)V
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.upTo:I
ldc 2147483647
if_icmplt 1
10: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 12
aload 0
getfield org.apache.lucene.search.WANDScorer.upTo:I
ldc 2147483647
if_icmpeq 12
aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.size:()I
ifle 11
aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.top:()Lorg/apache/lucene/search/DisiWrapper;
getfield org.apache.lucene.search.DisiWrapper.doc:I
aload 0
getfield org.apache.lucene.search.WANDScorer.upTo:I
if_icmple 12
StackMap locals:
StackMap stack:
11: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/lucene/search/WANDScorer;
0 13 1 target I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
private void moveToNextCandidate(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual org.apache.lucene.search.WANDScorer.updateMaxScoresIfNecessary:(I)V
1: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.lucene.search.WANDScorer.upTo:I
iload 1
if_icmpge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.size:()I
ifne 6
3: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.apache.lucene.search.WANDScorer.upTo:I
ldc 2147483647
if_icmpeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
ldc 2147483647
putfield org.apache.lucene.search.WANDScorer.doc:I
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.pop:()Lorg/apache/lucene/search/DisiWrapper;
putfield org.apache.lucene.search.WANDScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
7: aload 0
getfield org.apache.lucene.search.WANDScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
aconst_null
putfield org.apache.lucene.search.DisiWrapper.next:Lorg/apache/lucene/search/DisiWrapper;
8: aload 0
aload 0
getfield org.apache.lucene.search.WANDScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
getfield org.apache.lucene.search.DisiWrapper.maxScore:J
putfield org.apache.lucene.search.WANDScorer.leadMaxScore:J
9: aload 0
aload 0
getfield org.apache.lucene.search.WANDScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
getfield org.apache.lucene.search.DisiWrapper.doc:I
putfield org.apache.lucene.search.WANDScorer.doc:I
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.pop:()Lorg/apache/lucene/search/DisiWrapper;
invokevirtual org.apache.lucene.search.WANDScorer.addLead:(Lorg/apache/lucene/search/DisiWrapper;)V
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.size:()I
ifle 13
aload 0
getfield org.apache.lucene.search.WANDScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.top:()Lorg/apache/lucene/search/DisiWrapper;
getfield org.apache.lucene.search.DisiWrapper.doc:I
aload 0
getfield org.apache.lucene.search.WANDScorer.doc:I
if_icmpeq 11
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/lucene/search/WANDScorer;
0 14 1 target I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
private int doNextCompetitiveCandidate();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: goto 6
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.search.WANDScorer.doc:I
iconst_1
iadd
invokevirtual org.apache.lucene.search.WANDScorer.pushBackLeads:(I)V
2: aload 0
aload 0
getfield org.apache.lucene.search.WANDScorer.doc:I
iconst_1
iadd
invokevirtual org.apache.lucene.search.WANDScorer.moveToNextCandidate:(I)V
3: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 4
aload 0
invokevirtual org.apache.lucene.search.WANDScorer.ensureConsistent:()Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.doc:I
ldc 2147483647
if_icmpne 6
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.leadMaxScore:J
aload 0
getfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
ladd
aload 0
getfield org.apache.lucene.search.WANDScorer.minCompetitiveScore:J
lcmp
iflt 1
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.doc:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/search/WANDScorer;
Exceptions:
throws java.io.IOException
private void advanceAllTail();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.WANDScorer.tailSize:I
iconst_1
isub
istore 1
start local 1 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iload 1
aaload
invokevirtual org.apache.lucene.search.WANDScorer.advanceTail:(Lorg/apache/lucene/search/DisiWrapper;)V
3: iinc 1 -1
StackMap locals:
StackMap stack:
4: iload 1
ifge 2
end local 1 5: aload 0
iconst_0
putfield org.apache.lucene.search.WANDScorer.tailSize:I
6: aload 0
lconst_0
putfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
7: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 8
aload 0
invokevirtual org.apache.lucene.search.WANDScorer.ensureConsistent:()Z
ifne 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/search/WANDScorer;
1 5 1 i I
Exceptions:
throws java.io.IOException
public float score();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.search.WANDScorer.advanceAllTail:()V
1: dconst_0
dstore 1
start local 1 2: aload 0
getfield org.apache.lucene.search.WANDScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
astore 3
start local 3 3: goto 6
4: StackMap locals: double org.apache.lucene.search.DisiWrapper
StackMap stack:
dload 1
aload 3
getfield org.apache.lucene.search.DisiWrapper.scorer:Lorg/apache/lucene/search/Scorer;
invokevirtual org.apache.lucene.search.Scorer.score:()F
f2d
dadd
dstore 1
5: aload 3
getfield org.apache.lucene.search.DisiWrapper.next:Lorg/apache/lucene/search/DisiWrapper;
astore 3
StackMap locals:
StackMap stack:
6: aload 3
ifnonnull 4
end local 3 7: dload 1
d2f
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/search/WANDScorer;
2 8 1 score D
3 7 3 s Lorg/apache/lucene/search/DisiWrapper;
Exceptions:
throws java.io.IOException
public int advanceShallow(int);
descriptor: (I)I
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.WANDScorer.maxScorePropagator:Lorg/apache/lucene/search/MaxScoreSumPropagator;
iload 1
invokevirtual org.apache.lucene.search.MaxScoreSumPropagator.advanceShallow:(I)V
1: iload 1
aload 0
getfield org.apache.lucene.search.WANDScorer.upTo:I
if_icmpgt 3
2: aload 0
getfield org.apache.lucene.search.WANDScorer.upTo:I
ireturn
3: StackMap locals:
StackMap stack:
ldc 2147483647
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/search/WANDScorer;
0 4 1 target I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
public float getMaxScore(int);
descriptor: (I)F
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.WANDScorer.maxScorePropagator:Lorg/apache/lucene/search/MaxScoreSumPropagator;
iload 1
invokevirtual org.apache.lucene.search.MaxScoreSumPropagator.getMaxScore:(I)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/WANDScorer;
0 1 1 upTo I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
upTo
public int docID();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.WANDScorer.doc:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/WANDScorer;
private org.apache.lucene.search.DisiWrapper insertTailWithOverFlow(org.apache.lucene.search.DisiWrapper);
descriptor: (Lorg/apache/lucene/search/DisiWrapper;)Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
aload 1
getfield org.apache.lucene.search.DisiWrapper.maxScore:J
ladd
aload 0
getfield org.apache.lucene.search.WANDScorer.minCompetitiveScore:J
lcmp
ifge 4
1: aload 0
aload 1
invokevirtual org.apache.lucene.search.WANDScorer.addTail:(Lorg/apache/lucene/search/DisiWrapper;)V
2: aload 0
dup
getfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
aload 1
getfield org.apache.lucene.search.DisiWrapper.maxScore:J
ladd
putfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.tailSize:I
ifne 6
5: aload 1
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iconst_0
aaload
astore 2
start local 2 7: aload 2
aload 1
invokestatic org.apache.lucene.search.WANDScorer.greaterMaxScore:(Lorg/apache/lucene/search/DisiWrapper;Lorg/apache/lucene/search/DisiWrapper;)Z
ifne 9
8: aload 1
areturn
9: StackMap locals: org.apache.lucene.search.DisiWrapper
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iconst_0
aload 1
aastore
10: aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
aload 0
getfield org.apache.lucene.search.WANDScorer.tailSize:I
invokestatic org.apache.lucene.search.WANDScorer.downHeapMaxScore:([Lorg/apache/lucene/search/DisiWrapper;I)V
11: aload 0
aload 0
getfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
aload 2
getfield org.apache.lucene.search.DisiWrapper.maxScore:J
lsub
aload 1
getfield org.apache.lucene.search.DisiWrapper.maxScore:J
ladd
putfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
12: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/lucene/search/WANDScorer;
0 13 1 s Lorg/apache/lucene/search/DisiWrapper;
7 13 2 top Lorg/apache/lucene/search/DisiWrapper;
MethodParameters:
Name Flags
s
private void addTail(org.apache.lucene.search.DisiWrapper);
descriptor: (Lorg/apache/lucene/search/DisiWrapper;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
aload 0
getfield org.apache.lucene.search.WANDScorer.tailSize:I
aload 1
aastore
1: aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
aload 0
getfield org.apache.lucene.search.WANDScorer.tailSize:I
invokestatic org.apache.lucene.search.WANDScorer.upHeapMaxScore:([Lorg/apache/lucene/search/DisiWrapper;I)V
2: aload 0
dup
getfield org.apache.lucene.search.WANDScorer.tailSize:I
iconst_1
iadd
putfield org.apache.lucene.search.WANDScorer.tailSize:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/search/WANDScorer;
0 4 1 s Lorg/apache/lucene/search/DisiWrapper;
MethodParameters:
Name Flags
s
private org.apache.lucene.search.DisiWrapper popTail();
descriptor: ()Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=1
start local 0 0: getstatic org.apache.lucene.search.WANDScorer.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.search.WANDScorer.tailSize:I
ifgt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iconst_0
aaload
astore 1
start local 1 2: aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iconst_0
aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
aload 0
dup
getfield org.apache.lucene.search.WANDScorer.tailSize:I
iconst_1
isub
dup_x1
putfield org.apache.lucene.search.WANDScorer.tailSize:I
aaload
aastore
3: aload 0
getfield org.apache.lucene.search.WANDScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
aload 0
getfield org.apache.lucene.search.WANDScorer.tailSize:I
invokestatic org.apache.lucene.search.WANDScorer.downHeapMaxScore:([Lorg/apache/lucene/search/DisiWrapper;I)V
4: aload 0
dup
getfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
aload 1
getfield org.apache.lucene.search.DisiWrapper.maxScore:J
lsub
putfield org.apache.lucene.search.WANDScorer.tailMaxScore:J
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/search/WANDScorer;
2 6 1 result Lorg/apache/lucene/search/DisiWrapper;
private static void upHeapMaxScore(org.apache.lucene.search.DisiWrapper[], int);
descriptor: ([Lorg/apache/lucene/search/DisiWrapper;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aaload
astore 2
start local 2 1: iload 1
invokestatic org.apache.lucene.search.DisiPriorityQueue.parentNode:(I)I
istore 3
start local 3 2: goto 6
3: StackMap locals: org.apache.lucene.search.DisiWrapper int
StackMap stack:
aload 0
iload 1
aload 0
iload 3
aaload
aastore
4: iload 3
istore 1
5: iload 3
invokestatic org.apache.lucene.search.DisiPriorityQueue.parentNode:(I)I
istore 3
6: StackMap locals:
StackMap stack:
iload 3
iflt 7
aload 2
aload 0
iload 3
aaload
invokestatic org.apache.lucene.search.WANDScorer.greaterMaxScore:(Lorg/apache/lucene/search/DisiWrapper;Lorg/apache/lucene/search/DisiWrapper;)Z
ifne 3
7: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
aastore
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 heap [Lorg/apache/lucene/search/DisiWrapper;
0 9 1 i I
1 9 2 node Lorg/apache/lucene/search/DisiWrapper;
2 9 3 j I
MethodParameters:
Name Flags
heap
i
private static void downHeapMaxScore(org.apache.lucene.search.DisiWrapper[], int);
descriptor: ([Lorg/apache/lucene/search/DisiWrapper;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
iconst_0
aaload
astore 3
start local 3 2: iload 2
invokestatic org.apache.lucene.search.DisiPriorityQueue.leftNode:(I)I
istore 4
start local 4 3: iload 4
iload 1
if_icmpge 16
4: iload 4
invokestatic org.apache.lucene.search.DisiPriorityQueue.rightNode:(I)I
istore 5
start local 5 5: iload 5
iload 1
if_icmpge 7
aload 0
iload 5
aaload
aload 0
iload 4
aaload
invokestatic org.apache.lucene.search.WANDScorer.greaterMaxScore:(Lorg/apache/lucene/search/DisiWrapper;Lorg/apache/lucene/search/DisiWrapper;)Z
ifeq 7
6: iload 5
istore 4
7: StackMap locals: org.apache.lucene.search.DisiWrapper[] int int org.apache.lucene.search.DisiWrapper int int
StackMap stack:
aload 0
iload 4
aaload
aload 3
invokestatic org.apache.lucene.search.WANDScorer.greaterMaxScore:(Lorg/apache/lucene/search/DisiWrapper;Lorg/apache/lucene/search/DisiWrapper;)Z
ifeq 16
8: StackMap locals:
StackMap stack:
aload 0
iload 2
aload 0
iload 4
aaload
aastore
9: iload 4
istore 2
10: iload 2
invokestatic org.apache.lucene.search.DisiPriorityQueue.leftNode:(I)I
istore 4
11: iload 4
invokestatic org.apache.lucene.search.DisiPriorityQueue.rightNode:(I)I
istore 5
12: iload 5
iload 1
if_icmpge 14
aload 0
iload 5
aaload
aload 0
iload 4
aaload
invokestatic org.apache.lucene.search.WANDScorer.greaterMaxScore:(Lorg/apache/lucene/search/DisiWrapper;Lorg/apache/lucene/search/DisiWrapper;)Z
ifeq 14
13: iload 5
istore 4
14: StackMap locals:
StackMap stack:
iload 4
iload 1
if_icmpge 15
aload 0
iload 4
aaload
aload 3
invokestatic org.apache.lucene.search.WANDScorer.greaterMaxScore:(Lorg/apache/lucene/search/DisiWrapper;Lorg/apache/lucene/search/DisiWrapper;)Z
ifne 8
15: StackMap locals:
StackMap stack:
aload 0
iload 2
aload 3
aastore
end local 5 16: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 heap [Lorg/apache/lucene/search/DisiWrapper;
0 17 1 size I
1 17 2 i I
2 17 3 node Lorg/apache/lucene/search/DisiWrapper;
3 17 4 j I
5 16 5 k I
MethodParameters:
Name Flags
heap
size
private static boolean greaterMaxScore(org.apache.lucene.search.DisiWrapper, org.apache.lucene.search.DisiWrapper);
descriptor: (Lorg/apache/lucene/search/DisiWrapper;Lorg/apache/lucene/search/DisiWrapper;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.DisiWrapper.maxScore:J
aload 1
getfield org.apache.lucene.search.DisiWrapper.maxScore:J
lcmp
ifle 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.DisiWrapper.maxScore:J
aload 1
getfield org.apache.lucene.search.DisiWrapper.maxScore:J
lcmp
ifge 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.DisiWrapper.cost:J
aload 1
getfield org.apache.lucene.search.DisiWrapper.cost:J
lcmp
ifge 5
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 w1 Lorg/apache/lucene/search/DisiWrapper;
0 6 1 w2 Lorg/apache/lucene/search/DisiWrapper;
MethodParameters:
Name Flags
w1
w2
}
SourceFile: "WANDScorer.java"
NestMembers:
org.apache.lucene.search.WANDScorer$1 org.apache.lucene.search.WANDScorer$2
InnerClasses:
public ChildScorable = org.apache.lucene.search.Scorable$ChildScorable of org.apache.lucene.search.Scorable
org.apache.lucene.search.WANDScorer$1
org.apache.lucene.search.WANDScorer$2