private static PointValues.IntersectVisitor |
SpatialQuery.getContainsDenseVisitor(SpatialQuery.SpatialVisitor spatialVisitor,
ShapeField.QueryRelation queryRelation,
FixedBitSet result,
FixedBitSet excluded,
long[] cost) |
create a visitor that adds documents that match the query using a dense bitset; used with
CONTAINS
|
private static PointValues.IntersectVisitor |
SpatialQuery.getDenseVisitor(SpatialQuery.SpatialVisitor spatialVisitor,
ShapeField.QueryRelation queryRelation,
FixedBitSet result,
FixedBitSet excluded,
long[] cost) |
create a visitor that adds documents that match the query using a dense bitset; used with
WITHIN & DISJOINT
|
private static PointValues.IntersectVisitor |
SpatialQuery.getEstimateVisitor(SpatialQuery.SpatialVisitor spatialVisitor,
ShapeField.QueryRelation queryRelation) |
create a visitor for calculating point count estimates for the provided relation
|
private java.util.function.BiFunction<byte[],byte[],PointValues.Relation> |
SpatialQuery.SpatialVisitor.getInnerFunction(ShapeField.QueryRelation queryRelation) |
|
private static PointValues.IntersectVisitor |
SpatialQuery.getIntersectsDenseVisitor(SpatialQuery.SpatialVisitor spatialVisitor,
ShapeField.QueryRelation queryRelation,
FixedBitSet result,
long[] cost) |
Scorer used for INTERSECTS when the number of points > 4 * number of docs
|
private static PointValues.IntersectVisitor |
SpatialQuery.getInverseDenseVisitor(SpatialQuery.SpatialVisitor spatialVisitor,
ShapeField.QueryRelation queryRelation,
FixedBitSet result,
long[] cost) |
create a visitor that clears documents that do not match the polygon query using a dense
bitset; used with WITHIN & DISJOINT
|
private java.util.function.Predicate<byte[]> |
SpatialQuery.SpatialVisitor.getLeafPredicate(ShapeField.QueryRelation queryRelation) |
|
private static PointValues.IntersectVisitor |
SpatialQuery.getShallowInverseDenseVisitor(SpatialQuery.SpatialVisitor spatialVisitor,
ShapeField.QueryRelation queryRelation,
FixedBitSet result) |
create a visitor that clears documents that do not match the polygon query using a dense
bitset; used with WITHIN & DISJOINT.
|
private static PointValues.IntersectVisitor |
SpatialQuery.getSparseVisitor(SpatialQuery.SpatialVisitor spatialVisitor,
ShapeField.QueryRelation queryRelation,
DocIdSetBuilder result) |
create a visitor that adds documents that match the query using a sparse bitset.
|
private static boolean |
SpatialQuery.hasAnyHits(SpatialQuery.SpatialVisitor spatialVisitor,
ShapeField.QueryRelation queryRelation,
PointValues values) |
Return true if the query matches at least one document.
|
protected boolean |
BaseShapeDocValuesQuery.matchesComponent(ShapeDocValues dv,
ShapeField.QueryRelation queryRelation,
Component2D component) |
|
static Query |
LatLonShape.newBoxQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
double minLatitude,
double maxLatitude,
double minLongitude,
double maxLongitude) |
create a query to find all indexed geo shapes that intersect a defined bounding box *
|
static Query |
XYShape.newBoxQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
float minX,
float maxX,
float minY,
float maxY) |
create a query to find all cartesian shapes that intersect a defined bounding box *
|
static Query |
LatLonShape.newDistanceQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
Circle... circle) |
create a query to find all polygons that intersect a provided circle.
|
static Query |
XYShape.newDistanceQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
XYCircle... circle) |
create a query to find all cartesian shapes that intersect a provided circle (or arrays of
circles) *
|
static Query |
LatLonPoint.newGeometryQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
LatLonGeometry... latLonGeometries) |
|
static Query |
LatLonShape.newGeometryQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
LatLonGeometry... latLonGeometries) |
create a query to find all indexed geo shapes that intersect a provided geometry (or array of
geometries).
|
static Query |
ShapeDocValues.newGeometryQuery(java.lang.String field,
ShapeField.QueryRelation relation,
java.lang.Object... geometries) |
Creates a geometry query for shape docvalues
|
static Query |
ShapeDocValuesField.newGeometryQuery(java.lang.String field,
ShapeField.QueryRelation relation,
java.lang.Object... geometries) |
Creates a geometry query for shape docvalues
|
static Query |
XYShape.newGeometryQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
XYGeometry... xyGeometries) |
create a query to find all indexed geo shapes that intersect a provided geometry collection
note: Components do not support dateline crossing
|
static Query |
LatLonShape.newLineQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
Line... lines) |
create a query to find all indexed geo shapes that intersect a provided linestring (or array of
linestrings) note: does not support dateline crossing
|
static Query |
XYShape.newLineQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
XYLine... lines) |
create a query to find all cartesian shapes that intersect a provided linestring (or array of
linestrings) *
|
static Query |
LatLonShape.newPointQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
double[]... points) |
|
static Query |
XYShape.newPointQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
float[]... points) |
|
static Query |
LatLonShape.newPolygonQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
Polygon... polygons) |
create a query to find all indexed geo shapes that intersect a provided polygon (or array of
polygons) note: does not support dateline crossing
|
static Query |
XYShape.newPolygonQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
XYPolygon... polygons) |
create a query to find all cartesian shapes that intersect a provided polygon (or array of
polygons) *
|
static Query |
LatLonShape.newSlowDocValuesBoxQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
double minLatitude,
double maxLatitude,
double minLongitude,
double maxLongitude) |
create a docvalue query to find all geo shapes that intersect a defined bounding box *
|
static Query |
XYShape.newSlowDocValuesBoxQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
float minX,
float maxX,
float minY,
float maxY) |
create a docvalue query to find all cartesian shapes that intersect a defined bounding box *
|
static Query |
LatLonDocValuesField.newSlowGeometryQuery(java.lang.String field,
ShapeField.QueryRelation queryRelation,
LatLonGeometry... latLonGeometries) |
|
private static LatLonGeometry[] |
LatLonShapeQuery.validateGeometries(ShapeField.QueryRelation queryRelation,
LatLonGeometry... geometries) |
|
private static LatLonGeometry[] |
LatLonPointQuery.validateGeometry(ShapeField.QueryRelation queryRelation,
LatLonGeometry... geometries) |
|
private static ShapeField.QueryRelation |
BaseShapeDocValuesQuery.validateRelation(ShapeField.QueryRelation queryRelation) |
|