Uses of Enum Class
org.apache.lucene.document.ShapeField.QueryRelation
Packages that use ShapeField.QueryRelation
-
Uses of ShapeField.QueryRelation in org.apache.lucene.document
Fields in org.apache.lucene.document declared as ShapeField.QueryRelationModifier and TypeFieldDescriptionprivate final ShapeField.QueryRelationLatLonDocValuesQuery.queryRelation(package private) final ShapeField.QueryRelationSpatialQuery.queryRelationprivate final ShapeField.QueryRelationSpatialQuery.RelationScorerSupplier.queryRelationMethods in org.apache.lucene.document that return ShapeField.QueryRelationModifier and TypeMethodDescriptionSpatialQuery.getQueryRelation()returns the query relationprivate static ShapeField.QueryRelationBaseShapeDocValuesQuery.validateRelation(ShapeField.QueryRelation queryRelation) static ShapeField.QueryRelationReturns the enum constant of this class with the specified name.static ShapeField.QueryRelation[]ShapeField.QueryRelation.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.lucene.document with parameters of type ShapeField.QueryRelationModifier and TypeMethodDescriptionprivate static PointValues.IntersectVisitorSpatialQuery.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 CONTAINSprivate static PointValues.IntersectVisitorSpatialQuery.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 invalid input: '&' DISJOINTprivate static PointValues.IntersectVisitorSpatialQuery.getEstimateVisitor(SpatialQuery.SpatialVisitor spatialVisitor, ShapeField.QueryRelation queryRelation) create a visitor for calculating point count estimates for the provided relationprivate BiFunction<byte[], byte[], PointValues.Relation> SpatialQuery.SpatialVisitor.getInnerFunction(ShapeField.QueryRelation queryRelation) private static PointValues.IntersectVisitorSpatialQuery.getIntersectsDenseVisitor(SpatialQuery.SpatialVisitor spatialVisitor, ShapeField.QueryRelation queryRelation, FixedBitSet result, long[] cost) Scorer used for INTERSECTS when the number of points > 4 * number of docsprivate static PointValues.IntersectVisitorSpatialQuery.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 invalid input: '&' DISJOINTprivate Predicate<byte[]> SpatialQuery.SpatialVisitor.getLeafPredicate(ShapeField.QueryRelation queryRelation) private static PointValues.IntersectVisitorSpatialQuery.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 invalid input: '&' DISJOINT.private static PointValues.IntersectVisitorSpatialQuery.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 booleanSpatialQuery.hasAnyHits(SpatialQuery.SpatialVisitor spatialVisitor, ShapeField.QueryRelation queryRelation, PointValues values) Return true if the query matches at least one document.protected booleanBaseShapeDocValuesQuery.matchesComponent(ShapeDocValues dv, ShapeField.QueryRelation queryRelation, Component2D component) static QueryLatLonShape.newBoxQuery(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 QueryXYShape.newBoxQuery(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 QueryLatLonShape.newDistanceQuery(String field, ShapeField.QueryRelation queryRelation, Circle... circle) create a query to find all polygons that intersect a provided circle.static QueryXYShape.newDistanceQuery(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 QueryLatLonPoint.newGeometryQuery(String field, ShapeField.QueryRelation queryRelation, LatLonGeometry... latLonGeometries) Create a query for matching one or more geometries against the providedShapeField.QueryRelation.static QueryLatLonShape.newGeometryQuery(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 QueryShapeDocValues.newGeometryQuery(String field, ShapeField.QueryRelation relation, Object... geometries) Creates a geometry query for shape docvaluesstatic QueryShapeDocValuesField.newGeometryQuery(String field, ShapeField.QueryRelation relation, Object... geometries) Creates a geometry query for shape docvaluesstatic QueryXYShape.newGeometryQuery(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 crossingstatic QueryLatLonShape.newLineQuery(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 crossingstatic QueryXYShape.newLineQuery(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 QueryLatLonShape.newPointQuery(String field, ShapeField.QueryRelation queryRelation, double[]... points) create a query to find all indexed shapes that comply theShapeField.QueryRelationwith the provided pointsstatic QueryXYShape.newPointQuery(String field, ShapeField.QueryRelation queryRelation, float[]... points) create a query to find all indexed shapes that comply theShapeField.QueryRelationwith the provided pointstatic QueryLatLonShape.newPolygonQuery(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 crossingstatic QueryXYShape.newPolygonQuery(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 QueryLatLonShape.newSlowDocValuesBoxQuery(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 QueryXYShape.newSlowDocValuesBoxQuery(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 QueryLatLonDocValuesField.newSlowGeometryQuery(String field, ShapeField.QueryRelation queryRelation, LatLonGeometry... latLonGeometries) Create a query for matching one or more geometries against the providedShapeField.QueryRelation.private static LatLonGeometry[]LatLonShapeQuery.validateGeometries(ShapeField.QueryRelation queryRelation, LatLonGeometry... geometries) private static LatLonGeometry[]LatLonPointQuery.validateGeometry(ShapeField.QueryRelation queryRelation, LatLonGeometry... geometries) private static ShapeField.QueryRelationBaseShapeDocValuesQuery.validateRelation(ShapeField.QueryRelation queryRelation) Constructors in org.apache.lucene.document with parameters of type ShapeField.QueryRelationModifierConstructorDescription(package private)BaseShapeDocValuesQuery(String field, ShapeField.QueryRelation queryRelation, Geometry... geometries) (package private)LatLonDocValuesQuery(String field, ShapeField.QueryRelation queryRelation, LatLonGeometry... geometries) (package private)LatLonPointQuery(String field, ShapeField.QueryRelation queryRelation, LatLonGeometry... geometries) Creates a query that matches all indexed shapes to the provided array ofLatLonGeometry(package private)LatLonShapeBoundingBoxQuery(String field, ShapeField.QueryRelation queryRelation, Rectangle rectangle) (package private)LatLonShapeDocValuesQuery(String field, ShapeField.QueryRelation queryRelation, LatLonGeometry... geometries) (package private)LatLonShapeQuery(String field, ShapeField.QueryRelation queryRelation, LatLonGeometry... geometries) Creates a query that matches all indexed shapes to the provided array ofLatLonGeometry(package private)RelationScorerSupplier(PointValues values, SpatialQuery.SpatialVisitor spatialVisitor, ShapeField.QueryRelation queryRelation, String field) protectedSpatialQuery(String field, ShapeField.QueryRelation queryRelation, Geometry... geometries) (package private)XYShapeDocValuesQuery(String field, ShapeField.QueryRelation queryRelation, XYGeometry... geometries) (package private)XYShapeQuery(String field, ShapeField.QueryRelation queryRelation, XYGeometry... geometries) Creates a query that matches all indexed shapes to the provided polygons