final class org.apache.lucene.search.MinShouldMatchSumScorer 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.MinShouldMatchSumScorer
super_class: org.apache.lucene.search.Scorer
{
final int minShouldMatch;
descriptor: I
flags: (0x0010) ACC_FINAL
org.apache.lucene.search.DisiWrapper lead;
descriptor: Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0000)
int doc;
descriptor: I
flags: (0x0000)
int freq;
descriptor: I
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
int tailSize;
descriptor: I
flags: (0x0000)
final long cost;
descriptor: J
flags: (0x0010) ACC_FINAL
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/MinShouldMatchSumScorer;
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.MinShouldMatchSumScorer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
static long cost(java.util.stream.LongStream, int, int);
descriptor: (Ljava/util/stream/LongStream;II)J
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.lucene.search.MinShouldMatchSumScorer$1
dup
iload 1
iload 2
isub
iconst_1
iadd
invokespecial org.apache.lucene.search.MinShouldMatchSumScorer$1.<init>:(I)V
astore 3
start local 3 1: aload 0
aload 3
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Lorg/apache/lucene/util/PriorityQueue;)Ljava/util/function/LongConsumer;
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:
(J)V
org/apache/lucene/util/PriorityQueue.insertWithOverflow(Ljava/lang/Object;)Ljava/lang/Object; (5)
(J)V
invokeinterface java.util.stream.LongStream.forEach:(Ljava/util/function/LongConsumer;)V
2: aload 3
invokevirtual org.apache.lucene.util.PriorityQueue.spliterator:()Ljava/util/Spliterator;
iconst_0
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
invokedynamic applyAsLong()Ljava/util/function/ToLongFunction;
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;)J
java/lang/Number.longValue()J (5)
(Ljava/lang/Long;)J
invokeinterface java.util.stream.Stream.mapToLong:(Ljava/util/function/ToLongFunction;)Ljava/util/stream/LongStream;
invokeinterface java.util.stream.LongStream.sum:()J
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 costs Ljava/util/stream/LongStream;
0 3 1 numScorers I
0 3 2 minShouldMatch I
1 3 3 pq Lorg/apache/lucene/util/PriorityQueue<Ljava/lang/Long;>;
MethodParameters:
Name Flags
costs
numScorers
minShouldMatch
void <init>(org.apache.lucene.search.Weight, java.util.Collection<org.apache.lucene.search.Scorer>, );
descriptor: (Lorg/apache/lucene/search/Weight;Ljava/util/Collection;I)V
flags: (0x0000)
Code:
stack=5, locals=6, 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: iload 3
aload 2
invokeinterface java.util.Collection.size:()I
if_icmple 3
2: new java.lang.IllegalArgumentException
dup
ldc "minShouldMatch should be <= the number of scorers"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.lucene.search.MinShouldMatchSumScorer org.apache.lucene.search.Weight java.util.Collection int
StackMap stack:
iload 3
iconst_1
if_icmpge 5
4: new java.lang.IllegalArgumentException
dup
ldc "minShouldMatch should be >= 1"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield org.apache.lucene.search.MinShouldMatchSumScorer.minShouldMatch:I
6: aload 0
iconst_m1
putfield org.apache.lucene.search.MinShouldMatchSumScorer.doc:I
7: aload 0
new org.apache.lucene.search.DisiPriorityQueue
dup
aload 2
invokeinterface java.util.Collection.size:()I
iload 3
isub
iconst_1
iadd
invokespecial org.apache.lucene.search.DisiPriorityQueue.<init>:(I)V
putfield org.apache.lucene.search.MinShouldMatchSumScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
8: aload 0
iload 3
iconst_1
isub
anewarray org.apache.lucene.search.DisiWrapper
putfield org.apache.lucene.search.MinShouldMatchSumScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
9: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 12
StackMap locals: org.apache.lucene.search.MinShouldMatchSumScorer org.apache.lucene.search.Weight java.util.Collection int top java.util.Iterator
StackMap stack:
10: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.search.Scorer
astore 4
start local 4 11: aload 0
new org.apache.lucene.search.DisiWrapper
dup
aload 4
invokespecial org.apache.lucene.search.DisiWrapper.<init>:(Lorg/apache/lucene/search/Scorer;)V
invokevirtual org.apache.lucene.search.MinShouldMatchSumScorer.addLead:(Lorg/apache/lucene/search/DisiWrapper;)V
end local 4 12: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 0
aload 2
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
org/apache/lucene/search/Scorer.iterator()Lorg/apache/lucene/search/DocIdSetIterator; (5)
(Lorg/apache/lucene/search/Scorer;)Lorg/apache/lucene/search/DocIdSetIterator;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokedynamic applyAsLong()Ljava/util/function/ToLongFunction;
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;)J
org/apache/lucene/search/DocIdSetIterator.cost()J (5)
(Lorg/apache/lucene/search/DocIdSetIterator;)J
invokeinterface java.util.stream.Stream.mapToLong:(Ljava/util/function/ToLongFunction;)Ljava/util/stream/LongStream;
aload 2
invokeinterface java.util.Collection.size:()I
iload 3
invokestatic org.apache.lucene.search.MinShouldMatchSumScorer.cost:(Ljava/util/stream/LongStream;II)J
putfield org.apache.lucene.search.MinShouldMatchSumScorer.cost:J
14: return
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/MinShouldMatchSumScorer;
0 15 1 weight Lorg/apache/lucene/search/Weight;
0 15 2 scorers Ljava/util/Collection<Lorg/apache/lucene/search/Scorer;>;
0 15 3 minShouldMatch I
11 12 4 scorer Lorg/apache/lucene/search/Scorer;
Signature: (Lorg/apache/lucene/search/Weight;Ljava/util/Collection<Lorg/apache/lucene/search/Scorer;>;I)V
MethodParameters:
Name Flags
weight
scorers
minShouldMatch
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.MinShouldMatchSumScorer.updateFreq:()V
2: aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.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/MinShouldMatchSumScorer;
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.MinShouldMatchSumScorer.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/MinShouldMatchSumScorer;
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.MinShouldMatchSumScorer$2
dup
aload 0
invokespecial org.apache.lucene.search.MinShouldMatchSumScorer$2.<init>:(Lorg/apache/lucene/search/MinShouldMatchSumScorer;)V
astore 1
start local 1 1: new org.apache.lucene.search.MinShouldMatchSumScorer$3
dup
aload 0
aload 1
invokespecial org.apache.lucene.search.MinShouldMatchSumScorer$3.<init>:(Lorg/apache/lucene/search/MinShouldMatchSumScorer;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/MinShouldMatchSumScorer;
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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.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.MinShouldMatchSumScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
2: aload 0
dup
getfield org.apache.lucene.search.MinShouldMatchSumScorer.freq:I
iconst_1
iadd
putfield org.apache.lucene.search.MinShouldMatchSumScorer.freq:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/search/MinShouldMatchSumScorer;
0 4 1 lead Lorg/apache/lucene/search/DisiWrapper;
MethodParameters:
Name Flags
lead
private void pushBackLeads();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
astore 1
start local 1 1: goto 4
2: StackMap locals: org.apache.lucene.search.DisiWrapper
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.lucene.search.MinShouldMatchSumScorer.addTail:(Lorg/apache/lucene/search/DisiWrapper;)V
3: aload 1
getfield org.apache.lucene.search.DisiWrapper.next:Lorg/apache/lucene/search/DisiWrapper;
astore 1
StackMap locals:
StackMap stack:
4: aload 1
ifnonnull 2
end local 1 5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/search/MinShouldMatchSumScorer;
1 5 1 s Lorg/apache/lucene/search/DisiWrapper;
Exceptions:
throws java.io.IOException
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.MinShouldMatchSumScorer.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.MinShouldMatchSumScorer.doc:I
if_icmpne 4
2: aload 0
aload 1
invokevirtual org.apache.lucene.search.MinShouldMatchSumScorer.addLead:(Lorg/apache/lucene/search/DisiWrapper;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.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/MinShouldMatchSumScorer;
0 6 1 top Lorg/apache/lucene/search/DisiWrapper;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
top
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.MinShouldMatchSumScorer.popTail:()Lorg/apache/lucene/search/DisiWrapper;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual org.apache.lucene.search.MinShouldMatchSumScorer.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/MinShouldMatchSumScorer;
1 3 1 top Lorg/apache/lucene/search/DisiWrapper;
Exceptions:
throws java.io.IOException
private void setDocAndFreq();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.search.MinShouldMatchSumScorer.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.size:()I
ifgt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.pop:()Lorg/apache/lucene/search/DisiWrapper;
putfield org.apache.lucene.search.MinShouldMatchSumScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
2: aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
aconst_null
putfield org.apache.lucene.search.DisiWrapper.next:Lorg/apache/lucene/search/DisiWrapper;
3: aload 0
iconst_1
putfield org.apache.lucene.search.MinShouldMatchSumScorer.freq:I
4: aload 0
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
getfield org.apache.lucene.search.DisiWrapper.doc:I
putfield org.apache.lucene.search.MinShouldMatchSumScorer.doc:I
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.pop:()Lorg/apache/lucene/search/DisiWrapper;
invokevirtual org.apache.lucene.search.MinShouldMatchSumScorer.addLead:(Lorg/apache/lucene/search/DisiWrapper;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.head:Lorg/apache/lucene/search/DisiPriorityQueue;
invokevirtual org.apache.lucene.search.DisiPriorityQueue.size:()I
ifle 8
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.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.MinShouldMatchSumScorer.doc:I
if_icmpeq 6
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/search/MinShouldMatchSumScorer;
private int doNext();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: goto 7
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.search.MinShouldMatchSumScorer.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.freq:I
ifgt 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.MinShouldMatchSumScorer.freq:I
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tailSize:I
iadd
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.minShouldMatch:I
if_icmplt 5
3: aload 0
invokevirtual org.apache.lucene.search.MinShouldMatchSumScorer.advanceTail:()V
4: goto 7
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.search.MinShouldMatchSumScorer.pushBackLeads:()V
6: aload 0
invokevirtual org.apache.lucene.search.MinShouldMatchSumScorer.setDocAndFreq:()V
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.freq:I
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.minShouldMatch:I
if_icmplt 1
8: aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.doc:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/search/MinShouldMatchSumScorer;
Exceptions:
throws java.io.IOException
private int doNextCandidate();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: goto 3
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.search.MinShouldMatchSumScorer.pushBackLeads:()V
2: aload 0
invokevirtual org.apache.lucene.search.MinShouldMatchSumScorer.setDocAndFreq:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.freq:I
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tailSize:I
iadd
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.minShouldMatch:I
if_icmplt 1
4: aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.doc:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/search/MinShouldMatchSumScorer;
Exceptions:
throws java.io.IOException
private void updateFreq();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic org.apache.lucene.search.MinShouldMatchSumScorer.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.freq:I
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.minShouldMatch:I
if_icmpge 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.MinShouldMatchSumScorer.tailSize:I
iconst_1
isub
istore 1
start local 1 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iload 1
aaload
invokevirtual org.apache.lucene.search.MinShouldMatchSumScorer.advanceTail:(Lorg/apache/lucene/search/DisiWrapper;)V
4: iinc 1 -1
StackMap locals:
StackMap stack:
5: iload 1
ifge 3
end local 1 6: aload 0
iconst_0
putfield org.apache.lucene.search.MinShouldMatchSumScorer.tailSize:I
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/search/MinShouldMatchSumScorer;
2 6 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.MinShouldMatchSumScorer.updateFreq:()V
1: dconst_0
dstore 1
start local 1 2: aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.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/MinShouldMatchSumScorer;
2 8 1 score D
3 7 3 s Lorg/apache/lucene/search/DisiWrapper;
Exceptions:
throws java.io.IOException
public float getMaxScore(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc Infinity
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/MinShouldMatchSumScorer;
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=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.search.MinShouldMatchSumScorer.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.doc:I
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.lead:Lorg/apache/lucene/search/DisiWrapper;
getfield org.apache.lucene.search.DisiWrapper.doc:I
if_icmpeq 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.MinShouldMatchSumScorer.doc:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/MinShouldMatchSumScorer;
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=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tailSize:I
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
arraylength
if_icmpge 3
1: aload 0
aload 1
invokevirtual org.apache.lucene.search.MinShouldMatchSumScorer.addTail:(Lorg/apache/lucene/search/DisiWrapper;)V
2: aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
arraylength
iconst_1
if_icmplt 9
4: aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iconst_0
aaload
astore 2
start local 2 5: aload 2
getfield org.apache.lucene.search.DisiWrapper.cost:J
aload 1
getfield org.apache.lucene.search.DisiWrapper.cost:J
lcmp
ifge 9
6: aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iconst_0
aload 1
aastore
7: aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tailSize:I
invokestatic org.apache.lucene.search.MinShouldMatchSumScorer.downHeapCost:([Lorg/apache/lucene/search/DisiWrapper;I)V
8: aload 2
areturn
end local 2 9: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/search/MinShouldMatchSumScorer;
0 10 1 s Lorg/apache/lucene/search/DisiWrapper;
5 9 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.MinShouldMatchSumScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tailSize:I
aload 1
aastore
1: aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tailSize:I
invokestatic org.apache.lucene.search.MinShouldMatchSumScorer.upHeapCost:([Lorg/apache/lucene/search/DisiWrapper;I)V
2: aload 0
dup
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tailSize:I
iconst_1
iadd
putfield org.apache.lucene.search.MinShouldMatchSumScorer.tailSize:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/search/MinShouldMatchSumScorer;
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.MinShouldMatchSumScorer.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.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.MinShouldMatchSumScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iconst_0
aaload
astore 1
start local 1 2: aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
iconst_0
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
aload 0
dup
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tailSize:I
iconst_1
isub
dup_x1
putfield org.apache.lucene.search.MinShouldMatchSumScorer.tailSize:I
aaload
aastore
3: aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tail:[Lorg/apache/lucene/search/DisiWrapper;
aload 0
getfield org.apache.lucene.search.MinShouldMatchSumScorer.tailSize:I
invokestatic org.apache.lucene.search.MinShouldMatchSumScorer.downHeapCost:([Lorg/apache/lucene/search/DisiWrapper;I)V
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/search/MinShouldMatchSumScorer;
2 5 1 result Lorg/apache/lucene/search/DisiWrapper;
private static void upHeapCost(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: aload 0
iload 1
aaload
astore 2
start local 2 1: aload 2
getfield org.apache.lucene.search.DisiWrapper.cost:J
lstore 3
start local 3 2: iload 1
invokestatic org.apache.lucene.search.DisiPriorityQueue.parentNode:(I)I
istore 5
start local 5 3: goto 7
4: StackMap locals: org.apache.lucene.search.DisiWrapper long int
StackMap stack:
aload 0
iload 1
aload 0
iload 5
aaload
aastore
5: iload 5
istore 1
6: iload 5
invokestatic org.apache.lucene.search.DisiPriorityQueue.parentNode:(I)I
istore 5
7: StackMap locals:
StackMap stack:
iload 5
iflt 8
lload 3
aload 0
iload 5
aaload
getfield org.apache.lucene.search.DisiWrapper.cost:J
lcmp
iflt 4
8: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
aastore
9: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 heap [Lorg/apache/lucene/search/DisiWrapper;
0 10 1 i I
1 10 2 node Lorg/apache/lucene/search/DisiWrapper;
2 10 3 nodeCost J
3 10 5 j I
MethodParameters:
Name Flags
heap
i
private static void downHeapCost(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 17
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
getfield org.apache.lucene.search.DisiWrapper.cost:J
aload 0
iload 4
aaload
getfield org.apache.lucene.search.DisiWrapper.cost:J
lcmp
ifge 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
getfield org.apache.lucene.search.DisiWrapper.cost:J
aload 3
getfield org.apache.lucene.search.DisiWrapper.cost:J
lcmp
ifge 17
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
getfield org.apache.lucene.search.DisiWrapper.cost:J
aload 0
iload 4
aaload
getfield org.apache.lucene.search.DisiWrapper.cost:J
lcmp
ifge 14
13: iload 5
istore 4
14: StackMap locals:
StackMap stack:
iload 4
iload 1
if_icmpge 16
aload 0
iload 4
aaload
getfield org.apache.lucene.search.DisiWrapper.cost:J
aload 3
getfield org.apache.lucene.search.DisiWrapper.cost:J
15: lcmp
iflt 8
16: StackMap locals:
StackMap stack:
aload 0
iload 2
aload 3
aastore
end local 5 17: 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 18 0 heap [Lorg/apache/lucene/search/DisiWrapper;
0 18 1 size I
1 18 2 i I
2 18 3 node Lorg/apache/lucene/search/DisiWrapper;
3 18 4 j I
5 17 5 k I
MethodParameters:
Name Flags
heap
size
}
SourceFile: "MinShouldMatchSumScorer.java"
NestMembers:
org.apache.lucene.search.MinShouldMatchSumScorer$1 org.apache.lucene.search.MinShouldMatchSumScorer$2 org.apache.lucene.search.MinShouldMatchSumScorer$3
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
org.apache.lucene.search.MinShouldMatchSumScorer$1
org.apache.lucene.search.MinShouldMatchSumScorer$2
org.apache.lucene.search.MinShouldMatchSumScorer$3
public ChildScorable = org.apache.lucene.search.Scorable$ChildScorable of org.apache.lucene.search.Scorable