Uses of Enum Class
org.apache.lucene.index.PointValues.Relation
Packages that use PointValues.Relation
Package
Description
The logical representation of a
Document
for indexing and
searching.Geospatial Utility Implementations for Lucene Core
Code to maintain and access indices.
This package contains several point types:
BigIntegerPoint
for 128-bit
integers
LatLonPoint
for latitude/longitude
geospatial points
This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial
queries.
Code to search indices.
Support for index-time and query-time joins.
Lucene field & query support for the spatial geometry implemented in
org.apache.lucene.spatial3d.geom
.Block KD-tree, implementing the generic spatial data structure described in this paper.
-
Uses of PointValues.Relation in org.apache.lucene.document
Methods in org.apache.lucene.document that return PointValues.RelationModifier and TypeMethodDescriptionNearestNeighbor.NearestVisitor.compare
(byte[] minPackedValue, byte[] maxPackedValue) (package private) abstract PointValues.Relation
RangeFieldQuery.QueryType.compare
(byte[] queryPackedValue, byte[] minPackedValue, byte[] maxPackedValue, int numDims, int bytesPerDim, int dim, ArrayUtil.ByteArrayComparator comparator) (package private) PointValues.Relation
RangeFieldQuery.QueryType.compare
(byte[] queryPackedValue, byte[] minPackedValue, byte[] maxPackedValue, int numDims, int bytesPerDim, ArrayUtil.ByteArrayComparator comparator) private PointValues.Relation
LatLonShapeBoundingBoxQuery.EncodedLatLonRectangle.compareBBoxToRangeBBox
(byte[] bbox, int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle) static utility method to compare a bbox with a range of triangles (just the bbox of the triangle collection)private PointValues.Relation
LatLonShapeBoundingBoxQuery.EncodedLatLonRectangle.intersectBBoxWithRangeBBox
(byte[] bbox, int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle) static utility method to compare a bbox with a range of triangles (just the bbox of the triangle collection) for intersection(package private) PointValues.Relation
LatLonShapeBoundingBoxQuery.EncodedLatLonRectangle.intersectRangeBBox
(int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle) intersects this to a provided range bounding boxShapeDocValues.relate
(Component2D component) ShapeDocValues.ShapeComparator.relate
(Component2D query) Computes a query component relation with the doc value shape; main entry point to the root of the binary treeprivate PointValues.Relation
ShapeDocValues.ShapeComparator.relate
(Component2D queryComponent2D, boolean splitX, int pMaxX, int pMaxY, int nodeSize) recursive traversal method recurses through tree nodes to compute relation with the query componentprotected abstract PointValues.Relation
SpatialQuery.SpatialVisitor.relate
(byte[] minPackedValue, byte[] maxPackedValue) relates a range of points (internal node) to the queryprivate PointValues.Relation
ShapeDocValues.ShapeComparator.relateComponent
(ShapeField.DecodedTriangle.TYPE type, SpatialQuery.EncodedRectangle bbox, int pMaxX, int pMaxY, double x, Component2D queryComponent2D) relates the component based on type (POINT, LINE, TRIANGLE)private PointValues.Relation
ShapeDocValues.ShapeComparator.relateLine
(SpatialQuery.EncodedRectangle bbox, int pMaxX, int pMaxY, double ax, Component2D query) private PointValues.Relation
ShapeDocValues.ShapeComparator.relatePoint
(SpatialQuery.EncodedRectangle bbox, int pMaxY, double ax, Component2D query) (package private) PointValues.Relation
LatLonShapeBoundingBoxQuery.EncodedLatLonRectangle.relateRangeBBox
(int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle) compare this to a provided range bounding boxprivate PointValues.Relation
ShapeDocValues.ShapeComparator.relateTriangle
(SpatialQuery.EncodedRectangle bbox, int pMaxX, int pMaxY, double ax, Component2D queryComponent2D) protected static PointValues.Relation
SpatialQuery.transposeRelation
(PointValues.Relation r) transpose the relation; INSIDE becomes OUTSIDE, OUTSIDE becomes INSIDE, CROSSES remains unchangedMethods in org.apache.lucene.document that return types with arguments of type PointValues.RelationModifier and TypeMethodDescriptionprivate BiFunction
<byte[], byte[], PointValues.Relation> SpatialQuery.SpatialVisitor.getInnerFunction
(ShapeField.QueryRelation queryRelation) Methods in org.apache.lucene.document with parameters of type PointValues.RelationModifier and TypeMethodDescriptionprotected static PointValues.Relation
SpatialQuery.transposeRelation
(PointValues.Relation r) transpose the relation; INSIDE becomes OUTSIDE, OUTSIDE becomes INSIDE, CROSSES remains unchanged -
Uses of PointValues.Relation in org.apache.lucene.geo
Methods in org.apache.lucene.geo that return PointValues.RelationModifier and TypeMethodDescriptionCircle2D.CartesianDistance.relate
(double minX, double maxX, double minY, double maxY) Circle2D.DistanceCalculator.relate
(double minX, double maxX, double minY, double maxY) Relates this calculator to the provided bounding boxCircle2D.HaversinDistance.relate
(double minX, double maxX, double minY, double maxY) Circle2D.relate
(double minX, double maxX, double minY, double maxY) Component2D.relate
(double minX, double maxX, double minY, double maxY) relates this component2D with a bounding box *ComponentTree.relate
(double minX, double maxX, double minY, double maxY) static PointValues.Relation
GeoUtils.relate
(double minLat, double maxLat, double minLon, double maxLon, double lat, double lon, double distanceSortKey, double axisLat) Compute the relation between the provided box and distance query.Line2D.relate
(double minX, double maxX, double minY, double maxY) Point2D.relate
(double minX, double maxX, double minY, double maxY) Polygon2D.relate
(double minX, double maxX, double minY, double maxY) Rectangle2D.relate
(double minX, double maxX, double minY, double maxY) Method parameters in org.apache.lucene.geo with type arguments of type PointValues.RelationModifier and TypeMethodDescriptionprivate static GeoEncodingUtils.Grid
GeoEncodingUtils.createSubBoxes
(double shapeMinLat, double shapeMaxLat, double shapeMinLon, double shapeMaxLon, Function<Rectangle, PointValues.Relation> boxToRelation) -
Uses of PointValues.Relation in org.apache.lucene.index
Fields in org.apache.lucene.index declared as PointValues.RelationModifier and TypeFieldDescriptionprivate final PointValues.Relation
CheckIndex.ConstantRelationIntersectVisitor.relation
The field for therelation
record component.Methods in org.apache.lucene.index that return PointValues.RelationModifier and TypeMethodDescriptionCheckIndex.ConstantRelationIntersectVisitor.compare
(byte[] minPackedValue, byte[] maxPackedValue) CheckIndex.VerifyPointsVisitor.compare
(byte[] minPackedValue, byte[] maxPackedValue) ExitableDirectoryReader.ExitableIntersectVisitor.compare
(byte[] minPackedValue, byte[] maxPackedValue) PointValues.IntersectVisitor.compare
(byte[] minPackedValue, byte[] maxPackedValue) Called for non-leaf cells to test how the cell relates to the query, to determine how to further recurse down the tree.SortingCodecReader.SortingIntersectVisitor.compare
(byte[] minPackedValue, byte[] maxPackedValue) CheckIndex.ConstantRelationIntersectVisitor.relation()
Returns the value of therelation
record component.static PointValues.Relation
Returns the enum constant of this class with the specified name.static PointValues.Relation[]
PointValues.Relation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.apache.lucene.index with parameters of type PointValues.RelationModifierConstructorDescriptionprivate
Creates an instance of aConstantRelationIntersectVisitor
record class. -
Uses of PointValues.Relation in org.apache.lucene.sandbox.document
Methods in org.apache.lucene.sandbox.document that return PointValues.RelationModifier and TypeMethodDescriptionFloatPointNearestNeighbor.NearestVisitor.compare
(byte[] minPackedValue, byte[] maxPackedValue) -
Uses of PointValues.Relation in org.apache.lucene.sandbox.search
Methods in org.apache.lucene.sandbox.search that return PointValues.Relation -
Uses of PointValues.Relation in org.apache.lucene.search
Methods in org.apache.lucene.search that return PointValues.Relation -
Uses of PointValues.Relation in org.apache.lucene.search.join
Methods in org.apache.lucene.search.join that return PointValues.RelationModifier and TypeMethodDescriptionPointInSetIncludingScoreQuery.MergePointVisitor.compare
(byte[] minPackedValue, byte[] maxPackedValue) -
Uses of PointValues.Relation in org.apache.lucene.spatial3d
Methods in org.apache.lucene.spatial3d that return PointValues.RelationModifier and TypeMethodDescriptionPointInShapeIntersectVisitor.compare
(byte[] minPackedValue, byte[] maxPackedValue) -
Uses of PointValues.Relation in org.apache.lucene.util.bkd
Methods in org.apache.lucene.util.bkd that return PointValues.RelationModifier and TypeMethodDescriptionBKDWriter.MergeIntersectsVisitor.compare
(byte[] minPackedValue, byte[] maxPackedValue)