class org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer extends org.apache.lucene.search.Scorer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer
super_class: org.apache.lucene.search.Scorer
{
private final int maxDoc;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.apache.lucene.search.DocIdSetIterator it;
descriptor: Lorg/apache/lucene/search/DocIdSetIterator;
flags: (0x0002) ACC_PRIVATE
private int doc;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final long leadCost;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float boost;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.index.PointValues pointValues;
descriptor: Lorg/apache/lucene/index/PointValues;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.index.NumericDocValues docValues;
descriptor: Lorg/apache/lucene/index/NumericDocValues;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private double maxDistance;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private int setMinCompetitiveScoreCounter;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final org.apache.lucene.document.LatLonPointDistanceFeatureQuery this$0;
descriptor: Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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/document/LatLonPointDistanceFeatureQuery;
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.document.LatLonPointDistanceFeatureQuery$DistanceScorer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.apache.lucene.document.LatLonPointDistanceFeatureQuery, org.apache.lucene.search.Weight, int, long, float, org.apache.lucene.index.PointValues, org.apache.lucene.index.NumericDocValues);
descriptor: (Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;Lorg/apache/lucene/search/Weight;IJFLorg/apache/lucene/index/PointValues;Lorg/apache/lucene/index/NumericDocValues;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=9, args_size=8
start local 0 start local 2 start local 3 start local 4 start local 6 start local 7 start local 8 0: aload 0
aload 1
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
1: aload 0
aload 2
invokespecial org.apache.lucene.search.Scorer.<init>:(Lorg/apache/lucene/search/Weight;)V
2: aload 0
iconst_m1
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.doc:I
3: aload 0
ldc 2.0015114352186374E7
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.maxDistance:D
4: aload 0
iconst_0
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.setMinCompetitiveScoreCounter:I
5: aload 0
iload 3
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.maxDoc:I
6: aload 0
lload 4
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.leadCost:J
7: aload 0
fload 6
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.boost:F
8: aload 0
aload 7
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.pointValues:Lorg/apache/lucene/index/PointValues;
9: aload 0
aload 8
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.docValues:Lorg/apache/lucene/index/NumericDocValues;
10: aload 0
aload 8
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.it:Lorg/apache/lucene/search/DocIdSetIterator;
11: return
end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$DistanceScorer;
0 12 2 weight Lorg/apache/lucene/search/Weight;
0 12 3 maxDoc I
0 12 4 leadCost J
0 12 6 boost F
0 12 7 pointValues Lorg/apache/lucene/index/PointValues;
0 12 8 docValues Lorg/apache/lucene/index/NumericDocValues;
MethodParameters:
Name Flags
this$0 final
weight
maxDoc
leadCost
boost
pointValues
docValues
public int docID();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.doc:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$DistanceScorer;
private float score(double);
descriptor: (D)F
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.boost:F
f2d
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.pivotDistance:D
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.pivotDistance:D
dload 1
dadd
ddiv
dmul
d2f
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$DistanceScorer;
0 1 1 distance D
MethodParameters:
Name Flags
distance
private double computeMaxDistance(float, double);
descriptor: (FD)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.$assertionsDisabled:Z
ifne 1
aload 0
dconst_0
invokevirtual org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.score:(D)F
fload 1
fcmpl
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
dload 2
invokevirtual org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.score:(D)F
fload 1
fcmpl
iflt 3
2: dload 2
dreturn
3: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.$assertionsDisabled:Z
ifne 4
aload 0
dload 2
invokevirtual org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.score:(D)F
fload 1
fcmpg
iflt 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
dconst_0
dstore 4
start local 4 5: dload 2
dstore 6
start local 6 6: goto 13
7: StackMap locals: double double
StackMap stack:
dload 4
dload 6
dadd
ldc 2.0
ddiv
dstore 8
start local 8 8: aload 0
dload 8
invokevirtual org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.score:(D)F
fstore 10
start local 10 9: fload 10
fload 1
fcmpl
iflt 12
10: dload 8
dstore 4
11: goto 13
12: StackMap locals: double float
StackMap stack:
dload 8
dstore 6
end local 10 end local 8 13: StackMap locals:
StackMap stack:
dload 6
dload 4
dsub
dconst_1
dcmpl
ifgt 7
14: getstatic org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.$assertionsDisabled:Z
ifne 15
aload 0
dload 4
invokevirtual org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.score:(D)F
fload 1
fcmpl
ifge 15
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
15: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.$assertionsDisabled:Z
ifne 16
dload 4
ldc 1.7976931348623157E308
dcmpl
ifeq 16
aload 0
dload 4
dconst_1
dadd
invokevirtual org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.score:(D)F
fload 1
fcmpg
iflt 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
dload 4
dreturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$DistanceScorer;
0 17 1 minScore F
0 17 2 previousMaxDistance D
5 17 4 min D
6 17 6 max D
8 13 8 mid D
9 13 10 score F
MethodParameters:
Name Flags
minScore
previousMaxDistance
public float score();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.docValues:Lorg/apache/lucene/index/NumericDocValues;
aload 0
invokevirtual org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.docID:()I
invokevirtual org.apache.lucene.index.NumericDocValues.advanceExact:(I)Z
ifne 2
1: fconst_0
freturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.docValues:Lorg/apache/lucene/index/NumericDocValues;
invokevirtual org.apache.lucene.index.NumericDocValues.longValue:()J
invokevirtual org.apache.lucene.document.LatLonPointDistanceFeatureQuery.getDistanceFromEncoded:(J)D
invokevirtual org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.score:(D)F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$DistanceScorer;
Exceptions:
throws java.io.IOException
public org.apache.lucene.search.DocIdSetIterator iterator();
descriptor: ()Lorg/apache/lucene/search/DocIdSetIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer$1
dup
aload 0
invokespecial org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer$1.<init>:(Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$DistanceScorer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$DistanceScorer;
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: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.boost:F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$DistanceScorer;
0 1 1 upTo I
MethodParameters:
Name Flags
upTo
public void setMinCompetitiveScore(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=19, args_size=2
start local 0 start local 1 0: fload 1
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.boost:F
fcmpl
ifle 3
1: aload 0
invokestatic org.apache.lucene.search.DocIdSetIterator.empty:()Lorg/apache/lucene/search/DocIdSetIterator;
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.it:Lorg/apache/lucene/search/DocIdSetIterator;
2: return
3: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.setMinCompetitiveScoreCounter:I
iconst_1
iadd
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.setMinCompetitiveScoreCounter:I
4: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.setMinCompetitiveScoreCounter:I
sipush 256
if_icmple 6
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.setMinCompetitiveScoreCounter:I
bipush 31
iand
bipush 31
if_icmpeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.maxDistance:D
dstore 2
start local 2 7: aload 0
aload 0
fload 1
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.maxDistance:D
invokevirtual org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.computeMaxDistance:(FD)D
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.maxDistance:D
8: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.maxDistance:D
dload 2
dcmpl
ifne 10
9: return
10: StackMap locals: double
StackMap stack:
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.originLat:D
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.this$0:Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery;
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery.originLon:D
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.maxDistance:D
invokestatic org.apache.lucene.geo.Rectangle.fromPointDistance:(DDD)Lorg/apache/lucene/geo/Rectangle;
astore 4
start local 4 11: iconst_4
newarray 8
astore 5
start local 5 12: iconst_4
newarray 8
astore 6
start local 6 13: iconst_4
newarray 8
astore 7
start local 7 14: iconst_4
newarray 8
astore 8
start local 8 15: aload 4
invokevirtual org.apache.lucene.geo.Rectangle.crossesDateline:()Z
istore 9
start local 9 16: aload 4
getfield org.apache.lucene.geo.Rectangle.minLat:D
invokestatic org.apache.lucene.geo.GeoEncodingUtils.encodeLatitude:(D)I
aload 5
iconst_0
invokestatic org.apache.lucene.util.NumericUtils.intToSortableBytes:(I[BI)V
17: aload 4
getfield org.apache.lucene.geo.Rectangle.maxLat:D
invokestatic org.apache.lucene.geo.GeoEncodingUtils.encodeLatitude:(D)I
aload 6
iconst_0
invokestatic org.apache.lucene.util.NumericUtils.intToSortableBytes:(I[BI)V
18: aload 4
getfield org.apache.lucene.geo.Rectangle.minLon:D
invokestatic org.apache.lucene.geo.GeoEncodingUtils.encodeLongitude:(D)I
aload 7
iconst_0
invokestatic org.apache.lucene.util.NumericUtils.intToSortableBytes:(I[BI)V
19: aload 4
getfield org.apache.lucene.geo.Rectangle.maxLon:D
invokestatic org.apache.lucene.geo.GeoEncodingUtils.encodeLongitude:(D)I
aload 8
iconst_0
invokestatic org.apache.lucene.util.NumericUtils.intToSortableBytes:(I[BI)V
20: new org.apache.lucene.util.DocIdSetBuilder
dup
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.maxDoc:I
invokespecial org.apache.lucene.util.DocIdSetBuilder.<init>:(I)V
astore 10
start local 10 21: aload 0
invokevirtual org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.docID:()I
istore 11
start local 11 22: new org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer$2
dup
aload 0
aload 10
iload 11
aload 6
aload 5
iload 9
aload 7
aload 8
invokespecial org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer$2.<init>:(Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$DistanceScorer;Lorg/apache/lucene/util/DocIdSetBuilder;I[B[BZ[B[B)V
astore 12
start local 12 23: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.leadCost:J
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.it:Lorg/apache/lucene/search/DocIdSetIterator;
invokevirtual org.apache.lucene.search.DocIdSetIterator.cost:()J
invokestatic java.lang.Math.min:(JJ)J
lstore 13
start local 13 24: lload 13
iconst_3
lushr
lstore 15
start local 15 25: aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.pointValues:Lorg/apache/lucene/index/PointValues;
aload 12
invokevirtual org.apache.lucene.index.PointValues.estimatePointCount:(Lorg/apache/lucene/index/PointValues$IntersectVisitor;)J
lstore 17
start local 17 26: lload 17
lload 15
lcmp
iflt 28
27: return
28: StackMap locals: org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer float double org.apache.lucene.geo.Rectangle byte[] byte[] byte[] byte[] int org.apache.lucene.util.DocIdSetBuilder int org.apache.lucene.index.PointValues$IntersectVisitor long long long
StackMap stack:
aload 0
getfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.pointValues:Lorg/apache/lucene/index/PointValues;
aload 12
invokevirtual org.apache.lucene.index.PointValues.intersect:(Lorg/apache/lucene/index/PointValues$IntersectVisitor;)V
29: aload 0
aload 10
invokevirtual org.apache.lucene.util.DocIdSetBuilder.build:()Lorg/apache/lucene/search/DocIdSet;
invokevirtual org.apache.lucene.search.DocIdSet.iterator:()Lorg/apache/lucene/search/DocIdSetIterator;
putfield org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer.it:Lorg/apache/lucene/search/DocIdSetIterator;
30: return
end local 17 end local 15 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/apache/lucene/document/LatLonPointDistanceFeatureQuery$DistanceScorer;
0 31 1 minScore F
7 31 2 previousMaxDistance D
11 31 4 box Lorg/apache/lucene/geo/Rectangle;
12 31 5 minLat [B
13 31 6 maxLat [B
14 31 7 minLon [B
15 31 8 maxLon [B
16 31 9 crossDateLine Z
21 31 10 result Lorg/apache/lucene/util/DocIdSetBuilder;
22 31 11 doc I
23 31 12 visitor Lorg/apache/lucene/index/PointValues$IntersectVisitor;
24 31 13 currentQueryCost J
25 31 15 threshold J
26 31 17 estimatedNumberOfMatches J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
minScore
}
SourceFile: "LatLonPointDistanceFeatureQuery.java"
NestHost: org.apache.lucene.document.LatLonPointDistanceFeatureQuery
InnerClasses:
private DistanceScorer = org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer of org.apache.lucene.document.LatLonPointDistanceFeatureQuery
org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer$1
org.apache.lucene.document.LatLonPointDistanceFeatureQuery$DistanceScorer$2
public abstract IntersectVisitor = org.apache.lucene.index.PointValues$IntersectVisitor of org.apache.lucene.index.PointValues