class org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg extends org.apache.lucene.search.join.TermsWithScoreCollector$MV
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg
super_class: org.apache.lucene.search.join.TermsWithScoreCollector$MV
{
int[] scoreCounts;
descriptor: [I
flags: (0x0000)
void <init>(org.apache.lucene.search.join.DocValuesTermsCollector$Function<org.apache.lucene.index.SortedSetDocValues>);
descriptor: (Lorg/apache/lucene/search/join/DocValuesTermsCollector$Function;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 // org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg this
start local 1 // org.apache.lucene.search.join.DocValuesTermsCollector$Function docValuesCall
0: .line 244
aload 0 /* this */
aload 1 /* docValuesCall */
getstatic org.apache.lucene.search.join.ScoreMode.Avg:Lorg/apache/lucene/search/join/ScoreMode;
invokespecial org.apache.lucene.search.join.TermsWithScoreCollector$MV.<init>:(Lorg/apache/lucene/search/join/DocValuesTermsCollector$Function;Lorg/apache/lucene/search/join/ScoreMode;)V
1: .line 241
aload 0 /* this */
iconst_0
newarray 10
putfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreCounts:[I
2: .line 245
return
end local 1 // org.apache.lucene.search.join.DocValuesTermsCollector$Function docValuesCall
end local 0 // org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/search/join/TermsWithScoreCollector$MV$Avg;
0 3 1 docValuesCall Lorg/apache/lucene/search/join/DocValuesTermsCollector$Function<Lorg/apache/lucene/index/SortedSetDocValues;>;
Signature: (Lorg/apache/lucene/search/join/DocValuesTermsCollector$Function<Lorg/apache/lucene/index/SortedSetDocValues;>;)V
MethodParameters:
Name Flags
docValuesCall
public void collect(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 // org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg this
start local 1 // int doc
0: .line 249
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.docValues:Ljava/lang/Object;
checkcast org.apache.lucene.index.SortedSetDocValues
iload 1 /* doc */
invokevirtual org.apache.lucene.index.SortedSetDocValues.advanceExact:(I)Z
ifeq 13
1: .line 251
goto 11
start local 2 // long ord
2: .line 252
StackMap locals: long
StackMap stack:
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.collectedTerms:Lorg/apache/lucene/util/BytesRefHash;
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.docValues:Ljava/lang/Object;
checkcast org.apache.lucene.index.SortedSetDocValues
lload 2 /* ord */
invokevirtual org.apache.lucene.index.SortedSetDocValues.lookupOrd:(J)Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.util.BytesRefHash.add:(Lorg/apache/lucene/util/BytesRef;)I
istore 4 /* termID */
start local 4 // int termID
3: .line 253
iload 4 /* termID */
ifge 6
4: .line 254
iload 4 /* termID */
ineg
iconst_1
isub
istore 4 /* termID */
5: .line 255
goto 9
6: .line 256
StackMap locals: int
StackMap stack:
iload 4 /* termID */
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreSums:[F
arraylength
if_icmplt 9
7: .line 257
aload 0 /* this */
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreSums:[F
invokestatic org.apache.lucene.util.ArrayUtil.grow:([F)[F
putfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreSums:[F
8: .line 258
aload 0 /* this */
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreCounts:[I
invokestatic org.apache.lucene.util.ArrayUtil.grow:([I)[I
putfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreCounts:[I
9: .line 262
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreSums:[F
iload 4 /* termID */
dup2
faload
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scorer:Lorg/apache/lucene/search/Scorable;
invokevirtual org.apache.lucene.search.Scorable.score:()F
fadd
fastore
10: .line 263
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreCounts:[I
iload 4 /* termID */
dup2
iaload
iconst_1
iadd
iastore
end local 4 // int termID
end local 2 // long ord
11: .line 251
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.docValues:Ljava/lang/Object;
checkcast org.apache.lucene.index.SortedSetDocValues
invokevirtual org.apache.lucene.index.SortedSetDocValues.nextOrd:()J
dup2
lstore 2 /* ord */
start local 2 // long ord
12: ldc -1
lcmp
ifne 2
end local 2 // long ord
13: .line 266
StackMap locals:
StackMap stack:
return
end local 1 // int doc
end local 0 // org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg this
LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/lucene/search/join/TermsWithScoreCollector$MV$Avg;
0 14 1 doc I
2 11 2 ord J
12 13 2 ord J
3 11 4 termID I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
doc
public float[] getScoresPerTerm();
descriptor: ()[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 // org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg this
0: .line 270
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreCounts:[I
ifnull 7
1: .line 271
iconst_0
istore 1 /* i */
start local 1 // int i
2: goto 5
3: .line 272
StackMap locals: int
StackMap stack:
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreSums:[F
iload 1 /* i */
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreSums:[F
iload 1 /* i */
faload
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreCounts:[I
iload 1 /* i */
iaload
i2f
fdiv
fastore
4: .line 271
iinc 1 /* i */ 1
StackMap locals:
StackMap stack:
5: iload 1 /* i */
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreCounts:[I
arraylength
if_icmplt 3
end local 1 // int i
6: .line 274
aload 0 /* this */
aconst_null
putfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreCounts:[I
7: .line 276
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg.scoreSums:[F
areturn
end local 0 // org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/search/join/TermsWithScoreCollector$MV$Avg;
2 6 1 i I
}
SourceFile: "TermsWithScoreCollector.java"
NestHost: org.apache.lucene.search.join.TermsWithScoreCollector
InnerClasses:
abstract Function = org.apache.lucene.search.join.DocValuesTermsCollector$Function of org.apache.lucene.search.join.DocValuesTermsCollector
MV = org.apache.lucene.search.join.TermsWithScoreCollector$MV of org.apache.lucene.search.join.TermsWithScoreCollector
Avg = org.apache.lucene.search.join.TermsWithScoreCollector$MV$Avg of org.apache.lucene.search.join.TermsWithScoreCollector$MV