public class org.apache.lucene.spatial.vector.PointVectorStrategy extends org.apache.lucene.spatial.SpatialStrategy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.spatial.vector.PointVectorStrategy
super_class: org.apache.lucene.spatial.SpatialStrategy
{
public static org.apache.lucene.document.FieldType DEFAULT_FIELDTYPE;
descriptor: Lorg/apache/lucene/document/FieldType;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static final java.lang.String SUFFIX_X;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "__x"
public static final java.lang.String SUFFIX_Y;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "__y"
private final java.lang.String fieldNameX;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String fieldNameY;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int fieldsLen;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean hasStored;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean hasDocVals;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean hasPointVals;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, 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=3, locals=1, args_size=0
0: ldc Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
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.spatial.vector.PointVectorStrategy.$assertionsDisabled:Z
3: new org.apache.lucene.document.FieldType
dup
invokespecial org.apache.lucene.document.FieldType.<init>:()V
astore 0
start local 0 4: aload 0
iconst_1
bipush 8
invokevirtual org.apache.lucene.document.FieldType.setDimensions:(II)V
5: aload 0
getstatic org.apache.lucene.index.DocValuesType.NUMERIC:Lorg/apache/lucene/index/DocValuesType;
invokevirtual org.apache.lucene.document.FieldType.setDocValuesType:(Lorg/apache/lucene/index/DocValuesType;)V
6: aload 0
iconst_0
invokevirtual org.apache.lucene.document.FieldType.setStored:(Z)V
7: aload 0
invokevirtual org.apache.lucene.document.FieldType.freeze:()V
8: aload 0
putstatic org.apache.lucene.spatial.vector.PointVectorStrategy.DEFAULT_FIELDTYPE:Lorg/apache/lucene/document/FieldType;
end local 0 9: return
LocalVariableTable:
Start End Slot Name Signature
4 9 0 type Lorg/apache/lucene/document/FieldType;
public static org.apache.lucene.spatial.vector.PointVectorStrategy newInstance(org.locationtech.spatial4j.context.SpatialContext, java.lang.String);
descriptor: (Lorg/locationtech/spatial4j/context/SpatialContext;Ljava/lang/String;)Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.lucene.spatial.vector.PointVectorStrategy
dup
aload 0
aload 1
getstatic org.apache.lucene.spatial.vector.PointVectorStrategy.DEFAULT_FIELDTYPE:Lorg/apache/lucene/document/FieldType;
invokespecial org.apache.lucene.spatial.vector.PointVectorStrategy.<init>:(Lorg/locationtech/spatial4j/context/SpatialContext;Ljava/lang/String;Lorg/apache/lucene/document/FieldType;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
0 1 1 fieldNamePrefix Ljava/lang/String;
MethodParameters:
Name Flags
ctx
fieldNamePrefix
public void <init>(org.locationtech.spatial4j.context.SpatialContext, java.lang.String, org.apache.lucene.document.FieldType);
descriptor: (Lorg/locationtech/spatial4j/context/SpatialContext;Ljava/lang/String;Lorg/apache/lucene/document/FieldType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial org.apache.lucene.spatial.SpatialStrategy.<init>:(Lorg/locationtech/spatial4j/context/SpatialContext;Ljava/lang/String;)V
1: aload 0
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "__x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldNameX:Ljava/lang/String;
2: aload 0
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "__y"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldNameY:Ljava/lang/String;
3: iconst_0
istore 4
start local 4 4: aload 0
aload 3
invokevirtual org.apache.lucene.document.FieldType.stored:()Z
dup_x1
putfield org.apache.lucene.spatial.vector.PointVectorStrategy.hasStored:Z
ifeq 6
5: iinc 4 1
6: StackMap locals: org.apache.lucene.spatial.vector.PointVectorStrategy org.locationtech.spatial4j.context.SpatialContext java.lang.String org.apache.lucene.document.FieldType int
StackMap stack:
aload 0
aload 3
invokevirtual org.apache.lucene.document.FieldType.docValuesType:()Lorg/apache/lucene/index/DocValuesType;
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
if_acmpeq 7
iconst_1
goto 8
StackMap locals:
StackMap stack: org.apache.lucene.spatial.vector.PointVectorStrategy
7: iconst_0
StackMap locals: org.apache.lucene.spatial.vector.PointVectorStrategy org.locationtech.spatial4j.context.SpatialContext java.lang.String org.apache.lucene.document.FieldType int
StackMap stack: org.apache.lucene.spatial.vector.PointVectorStrategy int
8: dup_x1
putfield org.apache.lucene.spatial.vector.PointVectorStrategy.hasDocVals:Z
ifeq 10
9: iinc 4 1
10: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.apache.lucene.document.FieldType.pointDimensionCount:()I
ifle 11
iconst_1
goto 12
StackMap locals:
StackMap stack: org.apache.lucene.spatial.vector.PointVectorStrategy
11: iconst_0
StackMap locals: org.apache.lucene.spatial.vector.PointVectorStrategy org.locationtech.spatial4j.context.SpatialContext java.lang.String org.apache.lucene.document.FieldType int
StackMap stack: org.apache.lucene.spatial.vector.PointVectorStrategy int
12: dup_x1
putfield org.apache.lucene.spatial.vector.PointVectorStrategy.hasPointVals:Z
ifeq 14
13: iinc 4 1
14: StackMap locals:
StackMap stack:
aload 0
iload 4
iconst_2
imul
putfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldsLen:I
15: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
0 16 1 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
0 16 2 fieldNamePrefix Ljava/lang/String;
0 16 3 fieldType Lorg/apache/lucene/document/FieldType;
4 16 4 numPairs I
MethodParameters:
Name Flags
ctx
fieldNamePrefix
fieldType
java.lang.String getFieldNameX();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldNameX:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
java.lang.String getFieldNameY();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldNameY:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
public org.apache.lucene.document.Field[] createIndexableFields(org.locationtech.spatial4j.shape.Shape);
descriptor: (Lorg/locationtech/spatial4j/shape/Shape;)[Lorg/apache/lucene/document/Field;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.locationtech.spatial4j.shape.Point
ifeq 2
1: aload 0
aload 1
checkcast org.locationtech.spatial4j.shape.Point
invokevirtual org.apache.lucene.spatial.vector.PointVectorStrategy.createIndexableFields:(Lorg/locationtech/spatial4j/shape/Point;)[Lorg/apache/lucene/document/Field;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "Can only index Point, not "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
0 3 1 shape Lorg/locationtech/spatial4j/shape/Shape;
MethodParameters:
Name Flags
shape
public org.apache.lucene.document.Field[] createIndexableFields(org.locationtech.spatial4j.shape.Point);
descriptor: (Lorg/locationtech/spatial4j/shape/Point;)[Lorg/apache/lucene/document/Field;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldsLen:I
anewarray org.apache.lucene.document.Field
astore 2
start local 2 1: iconst_m1
istore 3
start local 3 2: aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.hasStored:Z
ifeq 5
3: aload 2
iinc 3 1
iload 3
new org.apache.lucene.document.StoredField
dup
aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldNameX:Ljava/lang/String;
aload 1
invokeinterface org.locationtech.spatial4j.shape.Point.getX:()D
invokespecial org.apache.lucene.document.StoredField.<init>:(Ljava/lang/String;D)V
aastore
4: aload 2
iinc 3 1
iload 3
new org.apache.lucene.document.StoredField
dup
aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldNameY:Ljava/lang/String;
aload 1
invokeinterface org.locationtech.spatial4j.shape.Point.getY:()D
invokespecial org.apache.lucene.document.StoredField.<init>:(Ljava/lang/String;D)V
aastore
5: StackMap locals: org.apache.lucene.document.Field[] int
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.hasDocVals:Z
ifeq 8
6: aload 2
iinc 3 1
iload 3
new org.apache.lucene.document.DoubleDocValuesField
dup
aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldNameX:Ljava/lang/String;
aload 1
invokeinterface org.locationtech.spatial4j.shape.Point.getX:()D
invokespecial org.apache.lucene.document.DoubleDocValuesField.<init>:(Ljava/lang/String;D)V
aastore
7: aload 2
iinc 3 1
iload 3
new org.apache.lucene.document.DoubleDocValuesField
dup
aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldNameY:Ljava/lang/String;
aload 1
invokeinterface org.locationtech.spatial4j.shape.Point.getY:()D
invokespecial org.apache.lucene.document.DoubleDocValuesField.<init>:(Ljava/lang/String;D)V
aastore
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.hasPointVals:Z
ifeq 11
9: aload 2
iinc 3 1
iload 3
new org.apache.lucene.document.DoublePoint
dup
aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldNameX:Ljava/lang/String;
iconst_1
newarray 7
dup
iconst_0
aload 1
invokeinterface org.locationtech.spatial4j.shape.Point.getX:()D
dastore
invokespecial org.apache.lucene.document.DoublePoint.<init>:(Ljava/lang/String;[D)V
aastore
10: aload 2
iinc 3 1
iload 3
new org.apache.lucene.document.DoublePoint
dup
aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldNameY:Ljava/lang/String;
iconst_1
newarray 7
dup
iconst_0
aload 1
invokeinterface org.locationtech.spatial4j.shape.Point.getY:()D
dastore
invokespecial org.apache.lucene.document.DoublePoint.<init>:(Ljava/lang/String;[D)V
aastore
11: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.spatial.vector.PointVectorStrategy.$assertionsDisabled:Z
ifne 12
iload 3
aload 2
arraylength
iconst_1
isub
if_icmpeq 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
12: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
0 13 1 point Lorg/locationtech/spatial4j/shape/Point;
1 13 2 fields [Lorg/apache/lucene/document/Field;
2 13 3 idx I
MethodParameters:
Name Flags
point
public org.apache.lucene.search.DoubleValuesSource makeDistanceValueSource(org.locationtech.spatial4j.shape.Point, double);
descriptor: (Lorg/locationtech/spatial4j/shape/Point;D)Lorg/apache/lucene/search/DoubleValuesSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.lucene.spatial.vector.DistanceValueSource
dup
aload 0
aload 1
dload 2
invokespecial org.apache.lucene.spatial.vector.DistanceValueSource.<init>:(Lorg/apache/lucene/spatial/vector/PointVectorStrategy;Lorg/locationtech/spatial4j/shape/Point;D)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
0 1 1 queryPoint Lorg/locationtech/spatial4j/shape/Point;
0 1 2 multiplier D
MethodParameters:
Name Flags
queryPoint
multiplier
public org.apache.lucene.search.Query makeQuery(org.apache.lucene.spatial.query.SpatialArgs);
descriptor: (Lorg/apache/lucene/spatial/query/SpatialArgs;)Lorg/apache/lucene/search/Query;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getOperation:()Lorg/apache/lucene/spatial/query/SpatialOperation;
iconst_2
anewarray org.apache.lucene.spatial.query.SpatialOperation
dup
iconst_0
1: getstatic org.apache.lucene.spatial.query.SpatialOperation.Intersects:Lorg/apache/lucene/spatial/query/SpatialOperation;
aastore
dup
iconst_1
2: getstatic org.apache.lucene.spatial.query.SpatialOperation.IsWithin:Lorg/apache/lucene/spatial/query/SpatialOperation;
aastore
3: invokestatic org.apache.lucene.spatial.query.SpatialOperation.is:(Lorg/apache/lucene/spatial/query/SpatialOperation;[Lorg/apache/lucene/spatial/query/SpatialOperation;)Z
4: ifne 6
5: new org.apache.lucene.spatial.query.UnsupportedSpatialOperation
dup
aload 1
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getOperation:()Lorg/apache/lucene/spatial/query/SpatialOperation;
invokespecial org.apache.lucene.spatial.query.UnsupportedSpatialOperation.<init>:(Lorg/apache/lucene/spatial/query/SpatialOperation;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getShape:()Lorg/locationtech/spatial4j/shape/Shape;
astore 2
start local 2 7: aload 2
instanceof org.locationtech.spatial4j.shape.Rectangle
ifeq 10
8: aload 2
checkcast org.locationtech.spatial4j.shape.Rectangle
astore 3
start local 3 9: new org.apache.lucene.search.ConstantScoreQuery
dup
aload 0
aload 3
invokevirtual org.apache.lucene.spatial.vector.PointVectorStrategy.makeWithin:(Lorg/locationtech/spatial4j/shape/Rectangle;)Lorg/apache/lucene/search/Query;
invokespecial org.apache.lucene.search.ConstantScoreQuery.<init>:(Lorg/apache/lucene/search/Query;)V
areturn
end local 3 10: StackMap locals: org.locationtech.spatial4j.shape.Shape
StackMap stack:
aload 2
instanceof org.locationtech.spatial4j.shape.Circle
ifeq 14
11: aload 2
checkcast org.locationtech.spatial4j.shape.Circle
astore 3
start local 3 12: aload 3
invokeinterface org.locationtech.spatial4j.shape.Circle.getBoundingBox:()Lorg/locationtech/spatial4j/shape/Rectangle;
astore 4
start local 4 13: new org.apache.lucene.spatial.vector.PointVectorStrategy$DistanceRangeQuery
dup
aload 0
aload 4
invokevirtual org.apache.lucene.spatial.vector.PointVectorStrategy.makeWithin:(Lorg/locationtech/spatial4j/shape/Rectangle;)Lorg/apache/lucene/search/Query;
aload 0
aload 3
invokeinterface org.locationtech.spatial4j.shape.Circle.getCenter:()Lorg/locationtech/spatial4j/shape/Point;
invokevirtual org.apache.lucene.spatial.vector.PointVectorStrategy.makeDistanceValueSource:(Lorg/locationtech/spatial4j/shape/Point;)Lorg/apache/lucene/search/DoubleValuesSource;
aload 3
invokeinterface org.locationtech.spatial4j.shape.Circle.getRadius:()D
invokespecial org.apache.lucene.spatial.vector.PointVectorStrategy$DistanceRangeQuery.<init>:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/DoubleValuesSource;D)V
areturn
end local 4 end local 3 14: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "Only Rectangles and Circles are currently supported, found ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
0 17 1 args Lorg/apache/lucene/spatial/query/SpatialArgs;
7 17 2 shape Lorg/locationtech/spatial4j/shape/Shape;
9 10 3 bbox Lorg/locationtech/spatial4j/shape/Rectangle;
12 14 3 circle Lorg/locationtech/spatial4j/shape/Circle;
13 14 4 bbox Lorg/locationtech/spatial4j/shape/Rectangle;
MethodParameters:
Name Flags
args
private org.apache.lucene.search.Query makeWithin(org.locationtech.spatial4j.shape.Rectangle);
descriptor: (Lorg/locationtech/spatial4j/shape/Rectangle;)Lorg/apache/lucene/search/Query;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: new org.apache.lucene.search.BooleanQuery$Builder
dup
invokespecial org.apache.lucene.search.BooleanQuery$Builder.<init>:()V
astore 2
start local 2 1: getstatic org.apache.lucene.search.BooleanClause$Occur.MUST:Lorg/apache/lucene/search/BooleanClause$Occur;
astore 3
start local 3 2: aload 1
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getCrossesDateLine:()Z
ifeq 7
3: aload 2
aload 0
aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldNameX:Ljava/lang/String;
aconst_null
aload 1
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxX:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokevirtual org.apache.lucene.spatial.vector.PointVectorStrategy.rangeQuery:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Lorg/apache/lucene/search/Query;
getstatic org.apache.lucene.search.BooleanClause$Occur.SHOULD:Lorg/apache/lucene/search/BooleanClause$Occur;
invokevirtual org.apache.lucene.search.BooleanQuery$Builder.add:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/BooleanClause$Occur;)Lorg/apache/lucene/search/BooleanQuery$Builder;
pop
4: aload 2
aload 0
aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldNameX:Ljava/lang/String;
aload 1
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinX:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aconst_null
invokevirtual org.apache.lucene.spatial.vector.PointVectorStrategy.rangeQuery:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Lorg/apache/lucene/search/Query;
getstatic org.apache.lucene.search.BooleanClause$Occur.SHOULD:Lorg/apache/lucene/search/BooleanClause$Occur;
invokevirtual org.apache.lucene.search.BooleanQuery$Builder.add:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/BooleanClause$Occur;)Lorg/apache/lucene/search/BooleanQuery$Builder;
pop
5: aload 2
iconst_1
invokevirtual org.apache.lucene.search.BooleanQuery$Builder.setMinimumNumberShouldMatch:(I)Lorg/apache/lucene/search/BooleanQuery$Builder;
pop
6: goto 8
7: StackMap locals: org.apache.lucene.search.BooleanQuery$Builder org.apache.lucene.search.BooleanClause$Occur
StackMap stack:
aload 2
aload 0
aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldNameX:Ljava/lang/String;
aload 1
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinX:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aload 1
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxX:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokevirtual org.apache.lucene.spatial.vector.PointVectorStrategy.rangeQuery:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Lorg/apache/lucene/search/Query;
aload 3
invokevirtual org.apache.lucene.search.BooleanQuery$Builder.add:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/BooleanClause$Occur;)Lorg/apache/lucene/search/BooleanQuery$Builder;
pop
8: StackMap locals:
StackMap stack:
aload 2
aload 0
aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.fieldNameY:Ljava/lang/String;
aload 1
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinY:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aload 1
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxY:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokevirtual org.apache.lucene.spatial.vector.PointVectorStrategy.rangeQuery:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Lorg/apache/lucene/search/Query;
aload 3
invokevirtual org.apache.lucene.search.BooleanQuery$Builder.add:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/BooleanClause$Occur;)Lorg/apache/lucene/search/BooleanQuery$Builder;
pop
9: aload 2
invokevirtual org.apache.lucene.search.BooleanQuery$Builder.build:()Lorg/apache/lucene/search/BooleanQuery;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
0 10 1 bbox Lorg/locationtech/spatial4j/shape/Rectangle;
1 10 2 bq Lorg/apache/lucene/search/BooleanQuery$Builder;
2 10 3 MUST Lorg/apache/lucene/search/BooleanClause$Occur;
MethodParameters:
Name Flags
bbox
private org.apache.lucene.search.Query rangeQuery(java.lang.String, java.lang.Double, java.lang.Double);
descriptor: (Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Lorg/apache/lucene/search/Query;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.lucene.spatial.vector.PointVectorStrategy.hasPointVals:Z
ifeq 6
1: aload 2
ifnonnull 3
2: ldc -Infinity
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
astore 2
3: StackMap locals:
StackMap stack:
aload 3
ifnonnull 5
4: ldc Infinity
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
astore 3
5: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.Double.doubleValue:()D
aload 3
invokevirtual java.lang.Double.doubleValue:()D
invokestatic org.apache.lucene.document.DoublePoint.newRangeQuery:(Ljava/lang/String;DD)Lorg/apache/lucene/search/Query;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "An index is required for this operation."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
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/spatial/vector/PointVectorStrategy;
0 7 1 fieldName Ljava/lang/String;
0 7 2 min Ljava/lang/Double;
0 7 3 max Ljava/lang/Double;
MethodParameters:
Name Flags
fieldName
min
max
}
SourceFile: "PointVectorStrategy.java"
NestMembers:
org.apache.lucene.spatial.vector.PointVectorStrategy$DistanceRangeQuery org.apache.lucene.spatial.vector.PointVectorStrategy$DistanceRangeQuery$1 org.apache.lucene.spatial.vector.PointVectorStrategy$DistanceRangeQuery$1$1
InnerClasses:
public Occur = org.apache.lucene.search.BooleanClause$Occur of org.apache.lucene.search.BooleanClause
public Builder = org.apache.lucene.search.BooleanQuery$Builder of org.apache.lucene.search.BooleanQuery
private DistanceRangeQuery = org.apache.lucene.spatial.vector.PointVectorStrategy$DistanceRangeQuery of org.apache.lucene.spatial.vector.PointVectorStrategy