abstract class org.apache.lucene.search.DisjunctionScorer extends org.apache.lucene.search.Scorer
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.lucene.search.DisjunctionScorer
super_class: org.apache.lucene.search.Scorer
{
private final boolean needsScores;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.search.DisiPriorityQueue subScorers;
descriptor: Lorg/apache/lucene/search/DisiPriorityQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.search.DocIdSetIterator approximation;
descriptor: Lorg/apache/lucene/search/DocIdSetIterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.search.BlockMaxDISI blockMaxApprox;
descriptor: Lorg/apache/lucene/search/BlockMaxDISI;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.search.DisjunctionScorer$TwoPhase twoPhase;
descriptor: Lorg/apache/lucene/search/DisjunctionScorer$TwoPhase;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(org.apache.lucene.search.Weight, java.util.List<org.apache.lucene.search.Scorer>, org.apache.lucene.search.ScoreMode);
descriptor: (Lorg/apache/lucene/search/Weight;Ljava/util/List;Lorg/apache/lucene/search/ScoreMode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial org.apache.lucene.search.Scorer.<init>:(Lorg/apache/lucene/search/Weight;)V
1: aload 2
invokeinterface java.util.List.size:()I
iconst_1
if_icmpgt 3
2: new java.lang.IllegalArgumentException
dup
ldc "There must be at least 2 subScorers"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.lucene.search.DisjunctionScorer org.apache.lucene.search.Weight java.util.List org.apache.lucene.search.ScoreMode
StackMap stack:
aload 0
new org.apache.lucene.search.DisiPriorityQueue
dup
aload 2
invokeinterface java.util.List.size:()I
invokespecial org.apache.lucene.search.DisiPriorityQueue.<init>:(I)V
putfield org.apache.lucene.search.DisjunctionScorer.subScorers:Lorg/apache/lucene/search/DisiPriorityQueue;
4: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: org.apache.lucene.search.DisjunctionScorer org.apache.lucene.search.Weight java.util.List org.apache.lucene.search.ScoreMode top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.search.Scorer
astore 4
start local 4 6: new org.apache.lucene.search.DisiWrapper
dup
aload 4
invokespecial org.apache.lucene.search.DisiWrapper.<init>:(Lorg/apache/lucene/search/Scorer;)V
astore 6
start local 6 7: aload 0
getfield org.apache.lucene.search.DisjunctionScorer.subScorers:Lorg/apache/lucene/search/DisiPriorityQueue;
aload 6
invokevirtual org.apache.lucene.search.DisiPriorityQueue.add:(Lorg/apache/lucene/search/DisiWrapper;)Lorg/apache/lucene/search/DisiWrapper;
pop
end local 6 end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: aload 0
aload 3
getstatic org.apache.lucene.search.ScoreMode.COMPLETE_NO_SCORES:Lorg/apache/lucene/search/ScoreMode;
if_acmpeq 10
iconst_1
goto 11
StackMap locals: org.apache.lucene.search.DisjunctionScorer org.apache.lucene.search.Weight java.util.List org.apache.lucene.search.ScoreMode
StackMap stack: org.apache.lucene.search.DisjunctionScorer
10: iconst_0
StackMap locals: org.apache.lucene.search.DisjunctionScorer org.apache.lucene.search.Weight java.util.List org.apache.lucene.search.ScoreMode
StackMap stack: org.apache.lucene.search.DisjunctionScorer int
11: putfield org.apache.lucene.search.DisjunctionScorer.needsScores:Z
12: aload 3
getstatic org.apache.lucene.search.ScoreMode.TOP_SCORES:Lorg/apache/lucene/search/ScoreMode;
if_acmpne 20
13: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 16
StackMap locals: org.apache.lucene.search.DisjunctionScorer org.apache.lucene.search.Weight java.util.List org.apache.lucene.search.ScoreMode top java.util.Iterator
StackMap stack:
14: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.search.Scorer
astore 4
start local 4 15: aload 4
iconst_0
invokevirtual org.apache.lucene.search.Scorer.advanceShallow:(I)I
pop
end local 4 16: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
17: aload 0
new org.apache.lucene.search.BlockMaxDISI
dup
new org.apache.lucene.search.DisjunctionDISIApproximation
dup
aload 0
getfield org.apache.lucene.search.DisjunctionScorer.subScorers:Lorg/apache/lucene/search/DisiPriorityQueue;
invokespecial org.apache.lucene.search.DisjunctionDISIApproximation.<init>:(Lorg/apache/lucene/search/DisiPriorityQueue;)V
aload 0
invokespecial org.apache.lucene.search.BlockMaxDISI.<init>:(Lorg/apache/lucene/search/DocIdSetIterator;Lorg/apache/lucene/search/Scorer;)V
putfield org.apache.lucene.search.DisjunctionScorer.blockMaxApprox:Lorg/apache/lucene/search/BlockMaxDISI;
18: aload 0
aload 0
getfield org.apache.lucene.search.DisjunctionScorer.blockMaxApprox:Lorg/apache/lucene/search/BlockMaxDISI;
putfield org.apache.lucene.search.DisjunctionScorer.approximation:Lorg/apache/lucene/search/DocIdSetIterator;
19: goto 22
20: StackMap locals: org.apache.lucene.search.DisjunctionScorer org.apache.lucene.search.Weight java.util.List org.apache.lucene.search.ScoreMode
StackMap stack:
aload 0
new org.apache.lucene.search.DisjunctionDISIApproximation
dup
aload 0
getfield org.apache.lucene.search.DisjunctionScorer.subScorers:Lorg/apache/lucene/search/DisiPriorityQueue;
invokespecial org.apache.lucene.search.DisjunctionDISIApproximation.<init>:(Lorg/apache/lucene/search/DisiPriorityQueue;)V
putfield org.apache.lucene.search.DisjunctionScorer.approximation:Lorg/apache/lucene/search/DocIdSetIterator;
21: aload 0
aconst_null
putfield org.apache.lucene.search.DisjunctionScorer.blockMaxApprox:Lorg/apache/lucene/search/BlockMaxDISI;
22: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 23: fconst_0
fstore 5
start local 5 24: lconst_0
lstore 6
start local 6 25: aload 0
getfield org.apache.lucene.search.DisjunctionScorer.subScorers:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.iterator:()Ljava/util/Iterator;
astore 9
goto 34
StackMap locals: org.apache.lucene.search.DisjunctionScorer org.apache.lucene.search.Weight java.util.List org.apache.lucene.search.ScoreMode int float long top java.util.Iterator
StackMap stack:
26: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.search.DisiWrapper
astore 8
start local 8 27: aload 8
getfield org.apache.lucene.search.DisiWrapper.cost:J
lconst_1
lcmp
ifgt 28
lconst_1
goto 29
StackMap locals: org.apache.lucene.search.DisjunctionScorer org.apache.lucene.search.Weight java.util.List org.apache.lucene.search.ScoreMode int float long org.apache.lucene.search.DisiWrapper java.util.Iterator
StackMap stack:
28: aload 8
getfield org.apache.lucene.search.DisiWrapper.cost:J
StackMap locals:
StackMap stack: long
29: lstore 10
start local 10 30: lload 6
lload 10
ladd
lstore 6
31: aload 8
getfield org.apache.lucene.search.DisiWrapper.twoPhaseView:Lorg/apache/lucene/search/TwoPhaseIterator;
ifnull 34
32: iconst_1
istore 4
33: fload 5
aload 8
getfield org.apache.lucene.search.DisiWrapper.matchCost:F
lload 10
l2f
fmul
fadd
fstore 5
end local 10 end local 8 34: StackMap locals: org.apache.lucene.search.DisjunctionScorer org.apache.lucene.search.Weight java.util.List org.apache.lucene.search.ScoreMode int float long top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
35: iload 4
ifne 38
36: aload 0
aconst_null
putfield org.apache.lucene.search.DisjunctionScorer.twoPhase:Lorg/apache/lucene/search/DisjunctionScorer$TwoPhase;
37: goto 40
38: StackMap locals: org.apache.lucene.search.DisjunctionScorer org.apache.lucene.search.Weight java.util.List org.apache.lucene.search.ScoreMode int float long
StackMap stack:
fload 5
lload 6
l2f
fdiv
fstore 8
start local 8 39: aload 0
new org.apache.lucene.search.DisjunctionScorer$TwoPhase
dup
aload 0
aload 0
getfield org.apache.lucene.search.DisjunctionScorer.approximation:Lorg/apache/lucene/search/DocIdSetIterator;
fload 8
invokespecial org.apache.lucene.search.DisjunctionScorer$TwoPhase.<init>:(Lorg/apache/lucene/search/DisjunctionScorer;Lorg/apache/lucene/search/DocIdSetIterator;F)V
putfield org.apache.lucene.search.DisjunctionScorer.twoPhase:Lorg/apache/lucene/search/DisjunctionScorer$TwoPhase;
end local 8 40: StackMap locals:
StackMap stack:
return
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 41 0 this Lorg/apache/lucene/search/DisjunctionScorer;
0 41 1 weight Lorg/apache/lucene/search/Weight;
0 41 2 subScorers Ljava/util/List<Lorg/apache/lucene/search/Scorer;>;
0 41 3 scoreMode Lorg/apache/lucene/search/ScoreMode;
6 8 4 scorer Lorg/apache/lucene/search/Scorer;
7 8 6 w Lorg/apache/lucene/search/DisiWrapper;
15 16 4 scorer Lorg/apache/lucene/search/Scorer;
23 41 4 hasApproximation Z
24 41 5 sumMatchCost F
25 41 6 sumApproxCost J
27 34 8 w Lorg/apache/lucene/search/DisiWrapper;
30 34 10 costWeight J
39 40 8 matchCost F
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/lucene/search/Weight;Ljava/util/List<Lorg/apache/lucene/search/Scorer;>;Lorg/apache/lucene/search/ScoreMode;)V
MethodParameters:
Name Flags
weight
subScorers
scoreMode
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
getfield org.apache.lucene.search.DisjunctionScorer.twoPhase:Lorg/apache/lucene/search/DisjunctionScorer$TwoPhase;
ifnull 2
1: aload 0
getfield org.apache.lucene.search.DisjunctionScorer.twoPhase:Lorg/apache/lucene/search/DisjunctionScorer$TwoPhase;
invokestatic org.apache.lucene.search.TwoPhaseIterator.asDocIdSetIterator:(Lorg/apache/lucene/search/TwoPhaseIterator;)Lorg/apache/lucene/search/DocIdSetIterator;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.DisjunctionScorer.approximation:Lorg/apache/lucene/search/DocIdSetIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/search/DisjunctionScorer;
public org.apache.lucene.search.TwoPhaseIterator twoPhaseIterator();
descriptor: ()Lorg/apache/lucene/search/TwoPhaseIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisjunctionScorer.twoPhase:Lorg/apache/lucene/search/DisjunctionScorer$TwoPhase;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/DisjunctionScorer;
public final int docID();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisjunctionScorer.subScorers: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
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/DisjunctionScorer;
org.apache.lucene.search.BlockMaxDISI getBlockMaxApprox();
descriptor: ()Lorg/apache/lucene/search/BlockMaxDISI;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisjunctionScorer.blockMaxApprox:Lorg/apache/lucene/search/BlockMaxDISI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/DisjunctionScorer;
org.apache.lucene.search.DisiWrapper getSubMatches();
descriptor: ()Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisjunctionScorer.twoPhase:Lorg/apache/lucene/search/DisjunctionScorer$TwoPhase;
ifnonnull 2
1: aload 0
getfield org.apache.lucene.search.DisjunctionScorer.subScorers:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.topList:()Lorg/apache/lucene/search/DisiWrapper;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.DisjunctionScorer.twoPhase:Lorg/apache/lucene/search/DisjunctionScorer$TwoPhase;
invokevirtual org.apache.lucene.search.DisjunctionScorer$TwoPhase.getSubMatches:()Lorg/apache/lucene/search/DisiWrapper;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/search/DisjunctionScorer;
Exceptions:
throws java.io.IOException
public final float score();
descriptor: ()F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.apache.lucene.search.DisjunctionScorer.getSubMatches:()Lorg/apache/lucene/search/DisiWrapper;
invokevirtual org.apache.lucene.search.DisjunctionScorer.score:(Lorg/apache/lucene/search/DisiWrapper;)F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/DisjunctionScorer;
Exceptions:
throws java.io.IOException
protected abstract float score(org.apache.lucene.search.DisiWrapper);
descriptor: (Lorg/apache/lucene/search/DisiWrapper;)F
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
topList
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.DisjunctionScorer.getSubMatches:()Lorg/apache/lucene/search/DisiWrapper;
astore 2
start local 2 2: goto 5
3: StackMap locals: java.util.ArrayList 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
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
4: aload 2
getfield org.apache.lucene.search.DisiWrapper.next:Lorg/apache/lucene/search/DisiWrapper;
astore 2
StackMap locals:
StackMap stack:
5: aload 2
ifnonnull 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/search/DisjunctionScorer;
1 7 1 children Ljava/util/ArrayList<Lorg/apache/lucene/search/Scorable$ChildScorable;>;
2 6 2 scorer Lorg/apache/lucene/search/DisiWrapper;
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/Collection<Lorg/apache/lucene/search/Scorable$ChildScorable;>;
}
SourceFile: "DisjunctionScorer.java"
NestMembers:
org.apache.lucene.search.DisjunctionScorer$TwoPhase org.apache.lucene.search.DisjunctionScorer$TwoPhase$1
InnerClasses:
private TwoPhase = org.apache.lucene.search.DisjunctionScorer$TwoPhase of org.apache.lucene.search.DisjunctionScorer
public ChildScorable = org.apache.lucene.search.Scorable$ChildScorable of org.apache.lucene.search.Scorable