class org.apache.lucene.document.LongDistanceFeatureQuery$1 extends org.apache.lucene.search.Weight
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.document.LongDistanceFeatureQuery$1
super_class: org.apache.lucene.search.Weight
{
final org.apache.lucene.document.LongDistanceFeatureQuery this$0;
descriptor: Lorg/apache/lucene/document/LongDistanceFeatureQuery;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final float val$boost;
descriptor: F
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.lucene.document.LongDistanceFeatureQuery, org.apache.lucene.search.Query, float);
descriptor: (Lorg/apache/lucene/document/LongDistanceFeatureQuery;Lorg/apache/lucene/search/Query;F)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 2 0: aload 0
aload 1
putfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
aload 0
fload 3
putfield org.apache.lucene.document.LongDistanceFeatureQuery$1.val$boost:F
aload 0
aload 2
invokespecial org.apache.lucene.search.Weight.<init>:(Lorg/apache/lucene/search/Query;)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/document/LongDistanceFeatureQuery$1;
0 1 2 $anonymous0 Lorg/apache/lucene/search/Query;
MethodParameters:
Name Flags
this$0 final
$anonymous0
val$boost final
public boolean isCacheable(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/document/LongDistanceFeatureQuery$1;
0 1 1 ctx Lorg/apache/lucene/index/LeafReaderContext;
MethodParameters:
Name Flags
ctx
public void extractTerms(java.util.Set<org.apache.lucene.index.Term>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/document/LongDistanceFeatureQuery$1;
0 1 1 terms Ljava/util/Set<Lorg/apache/lucene/index/Term;>;
Signature: (Ljava/util/Set<Lorg/apache/lucene/index/Term;>;)V
MethodParameters:
Name Flags
terms
public org.apache.lucene.search.Explanation explain(org.apache.lucene.index.LeafReaderContext, int);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;I)Lorg/apache/lucene/search/Explanation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.field:Ljava/lang/String;
invokestatic org.apache.lucene.index.DocValues.getSortedNumeric:(Lorg/apache/lucene/index/LeafReader;Ljava/lang/String;)Lorg/apache/lucene/index/SortedNumericDocValues;
astore 3
start local 3 1: aload 3
iload 2
invokevirtual org.apache.lucene.index.SortedNumericDocValues.advanceExact:(I)Z
ifne 3
2: new java.lang.StringBuilder
dup
ldc "Document "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " doesn't have a value for field "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.field:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray org.apache.lucene.search.Explanation
invokestatic org.apache.lucene.search.Explanation.noMatch:(Ljava/lang/String;[Lorg/apache/lucene/search/Explanation;)Lorg/apache/lucene/search/Explanation;
areturn
3: StackMap locals: org.apache.lucene.index.SortedNumericDocValues
StackMap stack:
aload 0
aload 3
invokevirtual org.apache.lucene.document.LongDistanceFeatureQuery$1.selectValue:(Lorg/apache/lucene/index/SortedNumericDocValues;)J
lstore 4
start local 4 4: lload 4
aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.origin:J
invokestatic java.lang.Math.max:(JJ)J
lload 4
aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.origin:J
invokestatic java.lang.Math.min:(JJ)J
lsub
lstore 6
start local 6 5: lload 6
lconst_0
lcmp
ifge 7
6: ldc 9223372036854775807
lstore 6
7: StackMap locals: long long
StackMap stack:
aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.val$boost:F
f2d
aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.pivotDistance:J
l2d
aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.pivotDistance:J
l2d
lload 6
l2d
dadd
ddiv
dmul
d2f
fstore 8
start local 8 8: fload 8
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
ldc "Distance score, computed as weight * pivotDistance / (pivotDistance + abs(value - origin)) from:"
iconst_4
anewarray org.apache.lucene.search.Explanation
dup
iconst_0
9: aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.val$boost:F
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
ldc "weight"
iconst_0
anewarray org.apache.lucene.search.Explanation
invokestatic org.apache.lucene.search.Explanation.match:(Ljava/lang/Number;Ljava/lang/String;[Lorg/apache/lucene/search/Explanation;)Lorg/apache/lucene/search/Explanation;
aastore
dup
iconst_1
10: aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.pivotDistance:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
ldc "pivotDistance"
iconst_0
anewarray org.apache.lucene.search.Explanation
invokestatic org.apache.lucene.search.Explanation.match:(Ljava/lang/Number;Ljava/lang/String;[Lorg/apache/lucene/search/Explanation;)Lorg/apache/lucene/search/Explanation;
aastore
dup
iconst_2
11: aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.origin:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
ldc "origin"
iconst_0
anewarray org.apache.lucene.search.Explanation
invokestatic org.apache.lucene.search.Explanation.match:(Ljava/lang/Number;Ljava/lang/String;[Lorg/apache/lucene/search/Explanation;)Lorg/apache/lucene/search/Explanation;
aastore
dup
iconst_3
12: lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
ldc "current value"
iconst_0
anewarray org.apache.lucene.search.Explanation
invokestatic org.apache.lucene.search.Explanation.match:(Ljava/lang/Number;Ljava/lang/String;[Lorg/apache/lucene/search/Explanation;)Lorg/apache/lucene/search/Explanation;
aastore
13: invokestatic org.apache.lucene.search.Explanation.match:(Ljava/lang/Number;Ljava/lang/String;[Lorg/apache/lucene/search/Explanation;)Lorg/apache/lucene/search/Explanation;
areturn
end local 8 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/lucene/document/LongDistanceFeatureQuery$1;
0 14 1 context Lorg/apache/lucene/index/LeafReaderContext;
0 14 2 doc I
1 14 3 multiDocValues Lorg/apache/lucene/index/SortedNumericDocValues;
4 14 4 value J
5 14 6 distance J
8 14 8 score F
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
doc
private long selectValue(org.apache.lucene.index.SortedNumericDocValues);
descriptor: (Lorg/apache/lucene/index/SortedNumericDocValues;)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.lucene.index.SortedNumericDocValues.docValueCount:()I
istore 2
start local 2 1: aload 1
invokevirtual org.apache.lucene.index.SortedNumericDocValues.nextValue:()J
lstore 3
start local 3 2: iload 2
iconst_1
if_icmpeq 3
lload 3
aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.origin:J
lcmp
iflt 4
3: StackMap locals: int long
StackMap stack:
lload 3
lreturn
4: StackMap locals:
StackMap stack:
lload 3
lstore 5
start local 5 5: iconst_1
istore 7
start local 7 6: goto 14
7: StackMap locals: long int
StackMap stack:
aload 1
invokevirtual org.apache.lucene.index.SortedNumericDocValues.nextValue:()J
lstore 3
8: lload 3
aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.origin:J
lcmp
iflt 12
9: aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.origin:J
lload 5
lsub
lload 3
aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.origin:J
lsub
invokestatic java.lang.Long.compareUnsigned:(JJ)I
ifge 11
10: lload 5
lreturn
11: StackMap locals:
StackMap stack:
lload 3
lreturn
12: StackMap locals:
StackMap stack:
lload 3
lstore 5
13: iinc 7 1
StackMap locals:
StackMap stack:
14: iload 7
iload 2
if_icmplt 7
end local 7 15: getstatic org.apache.lucene.document.LongDistanceFeatureQuery.$assertionsDisabled:Z
ifne 16
lload 3
aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.origin:J
lcmp
iflt 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
lload 3
lreturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/lucene/document/LongDistanceFeatureQuery$1;
0 17 1 multiDocValues Lorg/apache/lucene/index/SortedNumericDocValues;
1 17 2 count I
2 17 3 next J
5 17 5 previous J
6 15 7 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
multiDocValues
private org.apache.lucene.index.NumericDocValues selectValues(org.apache.lucene.index.SortedNumericDocValues);
descriptor: (Lorg/apache/lucene/index/SortedNumericDocValues;)Lorg/apache/lucene/index/NumericDocValues;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.apache.lucene.index.DocValues.unwrapSingleton:(Lorg/apache/lucene/index/SortedNumericDocValues;)Lorg/apache/lucene/index/NumericDocValues;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: org.apache.lucene.index.NumericDocValues
StackMap stack:
new org.apache.lucene.document.LongDistanceFeatureQuery$1$1
dup
aload 0
aload 1
invokespecial org.apache.lucene.document.LongDistanceFeatureQuery$1$1.<init>:(Lorg/apache/lucene/document/LongDistanceFeatureQuery$1;Lorg/apache/lucene/index/SortedNumericDocValues;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/document/LongDistanceFeatureQuery$1;
0 4 1 multiDocValues Lorg/apache/lucene/index/SortedNumericDocValues;
1 4 2 singleton Lorg/apache/lucene/index/NumericDocValues;
MethodParameters:
Name Flags
multiDocValues
public org.apache.lucene.search.ScorerSupplier scorerSupplier(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/ScorerSupplier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.field:Ljava/lang/String;
invokevirtual org.apache.lucene.index.LeafReader.getPointValues:(Ljava/lang/String;)Lorg/apache/lucene/index/PointValues;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.apache.lucene.index.PointValues
StackMap stack:
aload 1
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
getfield org.apache.lucene.document.LongDistanceFeatureQuery.field:Ljava/lang/String;
invokestatic org.apache.lucene.index.DocValues.getSortedNumeric:(Lorg/apache/lucene/index/LeafReader;Ljava/lang/String;)Lorg/apache/lucene/index/SortedNumericDocValues;
astore 3
start local 3 4: aload 0
aload 3
invokevirtual org.apache.lucene.document.LongDistanceFeatureQuery$1.selectValues:(Lorg/apache/lucene/index/SortedNumericDocValues;)Lorg/apache/lucene/index/NumericDocValues;
astore 4
start local 4 5: aload 0
astore 5
start local 5 6: new org.apache.lucene.document.LongDistanceFeatureQuery$1$2
dup
aload 0
aload 5
aload 1
aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.val$boost:F
aload 2
aload 4
invokespecial org.apache.lucene.document.LongDistanceFeatureQuery$1$2.<init>:(Lorg/apache/lucene/document/LongDistanceFeatureQuery$1;Lorg/apache/lucene/search/Weight;Lorg/apache/lucene/index/LeafReaderContext;FLorg/apache/lucene/index/PointValues;Lorg/apache/lucene/index/NumericDocValues;)V
areturn
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 7 0 this Lorg/apache/lucene/document/LongDistanceFeatureQuery$1;
0 7 1 context Lorg/apache/lucene/index/LeafReaderContext;
1 7 2 pointValues Lorg/apache/lucene/index/PointValues;
4 7 3 multiDocValues Lorg/apache/lucene/index/SortedNumericDocValues;
5 7 4 docValues Lorg/apache/lucene/index/NumericDocValues;
6 7 5 weight Lorg/apache/lucene/search/Weight;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
public org.apache.lucene.search.Scorer scorer(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/Scorer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.document.LongDistanceFeatureQuery$1.scorerSupplier:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/ScorerSupplier;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.apache.lucene.search.ScorerSupplier
StackMap stack:
aload 2
ldc 9223372036854775807
invokevirtual org.apache.lucene.search.ScorerSupplier.get:(J)Lorg/apache/lucene/search/Scorer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/document/LongDistanceFeatureQuery$1;
0 4 1 context Lorg/apache/lucene/index/LeafReaderContext;
1 4 2 scorerSupplier Lorg/apache/lucene/search/ScorerSupplier;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
static org.apache.lucene.document.LongDistanceFeatureQuery access$0(org.apache.lucene.document.LongDistanceFeatureQuery$1);
descriptor: (Lorg/apache/lucene/document/LongDistanceFeatureQuery$1;)Lorg/apache/lucene/document/LongDistanceFeatureQuery;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield org.apache.lucene.document.LongDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LongDistanceFeatureQuery;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "LongDistanceFeatureQuery.java"
EnclosingMethod: org.apache.lucene.document.LongDistanceFeatureQuery.createWeight:(Lorg/apache/lucene/search/IndexSearcher;Lorg/apache/lucene/search/ScoreMode;F)Lorg/apache/lucene/search/Weight;
NestHost: org.apache.lucene.document.LongDistanceFeatureQuery
InnerClasses:
org.apache.lucene.document.LongDistanceFeatureQuery$1
org.apache.lucene.document.LongDistanceFeatureQuery$1$1
org.apache.lucene.document.LongDistanceFeatureQuery$1$2