class org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1 extends org.apache.lucene.search.Weight
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1
super_class: org.apache.lucene.search.Weight
{
final org.apache.lucene.document.LatLonPointDistanceFeatureQuery this$0;
descriptor: Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
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.LatLonPointDistanceFeatureQuery, org.apache.lucene.search.Query, float);
descriptor: (Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;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.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
aload 0
fload 3
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$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/LatLonPointDistanceFeatureQuery$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/LatLonPointDistanceFeatureQuery$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/LatLonPointDistanceFeatureQuery$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=15, 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.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.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.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.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.LatLonPointDistanceFeatureQuery$1.selectValue:(Lorg/apache/lucene/index/SortedNumericDocValues;)J
lstore 4
start local 4 4: lload 4
bipush 32
lshr
l2i
istore 6
start local 6 5: lload 4
ldc -1
land
l2i
istore 7
start local 7 6: iload 6
invokestatic org.apache.lucene.geo.GeoEncodingUtils.decodeLatitude:(I)D
dstore 8
start local 8 7: iload 7
invokestatic org.apache.lucene.geo.GeoEncodingUtils.decodeLongitude:(I)D
dstore 10
start local 10 8: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.originLat:D
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.originLon:D
dload 8
dload 10
invokestatic org.apache.lucene.util.SloppyMath.haversinMeters:(DDDD)D
dstore 12
start local 12 9: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1.val$boost:F
f2d
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.pivotDistance:D
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.pivotDistance:D
dload 12
dadd
ddiv
dmul
d2f
fstore 14
start local 14 10: fload 14
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
ldc "Distance score, computed as weight * pivotDistance / (pivotDistance + abs(distance)) from:"
bipush 7
anewarray org.apache.lucene.search.Explanation
dup
iconst_0
11: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$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
12: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.pivotDistance:D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
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
13: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.originLat:D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
ldc "originLat"
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
14: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.originLon:D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
ldc "originLon"
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_4
15: dload 8
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
ldc "current lat"
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_5
16: dload 10
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
ldc "current lon"
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
bipush 6
17: dload 12
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
ldc "distance"
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
18: 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 14 end local 12 end local 10 end local 8 end local 7 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 19 0 this Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$1;
0 19 1 context Lorg/apache/lucene/index/LeafReaderContext;
0 19 2 doc I
1 19 3 multiDocValues Lorg/apache/lucene/index/SortedNumericDocValues;
4 19 4 encoded J
5 19 6 latitudeBits I
6 19 7 longitudeBits I
7 19 8 lat D
8 19 10 lon D
9 19 12 distance D
10 19 14 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=4, locals=12, 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_icmpne 4
3: lload 3
lreturn
4: StackMap locals: int long
StackMap stack:
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
lload 3
invokevirtual org.apache.lucene.document.LatLonPointDistanceFeatureQuery.getDistanceKeyFromEncoded:(J)D
dstore 5
start local 5 5: iconst_1
istore 7
start local 7 6: goto 13
7: StackMap locals: double int
StackMap stack:
aload 1
invokevirtual org.apache.lucene.index.SortedNumericDocValues.nextValue:()J
lstore 8
start local 8 8: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
lload 8
invokevirtual org.apache.lucene.document.LatLonPointDistanceFeatureQuery.getDistanceKeyFromEncoded:(J)D
dstore 10
start local 10 9: dload 10
dload 5
dcmpg
ifge 12
10: dload 10
dstore 5
11: lload 8
lstore 3
end local 10 end local 8 12: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
iload 2
if_icmplt 7
end local 7 14: 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 15 0 this Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$1;
0 15 1 multiDocValues Lorg/apache/lucene/index/SortedNumericDocValues;
1 15 2 count I
2 15 3 value J
5 15 5 distance D
6 14 7 i I
8 12 8 nextValue J
9 12 10 nextDistance D
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.LatLonPointDistanceFeatureQuery$1$1
dup
aload 0
aload 1
invokespecial org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1$1.<init>:(Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$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/LatLonPointDistanceFeatureQuery$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.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.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.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.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.LatLonPointDistanceFeatureQuery$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.LatLonPointDistanceFeatureQuery$1$2
dup
aload 0
aload 5
aload 1
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1.val$boost:F
aload 2
aload 4
invokespecial org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1$2.<init>:(Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$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/LatLonPointDistanceFeatureQuery$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.LatLonPointDistanceFeatureQuery$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/LatLonPointDistanceFeatureQuery$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.LatLonPointDistanceFeatureQuery access$0(org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1);
descriptor: (Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$1;)Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "LatLonPointDistanceFeatureQuery.java"
EnclosingMethod: org.apache.lucene.document.LatLonPointDistanceFeatureQuery.createWeight:(Lorg/apache/lucene/search/IndexSearcher;Lorg/apache/lucene/search/ScoreMode;F)Lorg/apache/lucene/search/Weight;
NestHost: org.apache.lucene.document.LatLonPointDistanceFeatureQuery
InnerClasses:
org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1
org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1$1
org.apache.lucene.document.LatLonPointDistanceFeatureQuery$1$2