Package | Description |
---|---|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.geo |
Geospatial Utility Implementations for Lucene Core
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
Modifier and Type | Method and Description |
---|---|
PointValues.Relation |
FloatPointNearestNeighbor.NearestVisitor.compare(byte[] minPackedValue,
byte[] maxPackedValue) |
(package private) PointValues.Relation |
RangeFieldQuery.QueryType.compare(byte[] queryPackedValue,
byte[] minPackedValue,
byte[] maxPackedValue,
int numDims,
int bytesPerDim) |
(package private) abstract PointValues.Relation |
RangeFieldQuery.QueryType.compare(byte[] queryPackedValue,
byte[] minPackedValue,
byte[] maxPackedValue,
int numDims,
int bytesPerDim,
int dim) |
protected PointValues.Relation |
LatLonShapePolygonQuery.relateRangeBBoxToQuery(int minXOffset,
int minYOffset,
byte[] minTriangle,
int maxXOffset,
int maxYOffset,
byte[] maxTriangle) |
protected PointValues.Relation |
LatLonShapeLineQuery.relateRangeBBoxToQuery(int minXOffset,
int minYOffset,
byte[] minTriangle,
int maxXOffset,
int maxYOffset,
byte[] maxTriangle) |
protected PointValues.Relation |
LatLonShapeBoundingBoxQuery.relateRangeBBoxToQuery(int minXOffset,
int minYOffset,
byte[] minTriangle,
int maxXOffset,
int maxYOffset,
byte[] maxTriangle) |
protected abstract PointValues.Relation |
LatLonShapeQuery.relateRangeBBoxToQuery(int minXOffset,
int minYOffset,
byte[] minTriangle,
int maxXOffset,
int maxYOffset,
byte[] maxTriangle)
relates an internal node (bounding box of a range of triangles) to the target query
Note: logic is specific to query type
see
LatLonShapeQuery.relateRangeToQuery(byte[], byte[], org.apache.lucene.document.LatLonShape.QueryRelation) and LatLonShapeQuery.relateRangeToQuery(byte[], byte[], org.apache.lucene.document.LatLonShape.QueryRelation) |
protected PointValues.Relation |
LatLonShapeQuery.relateRangeToQuery(byte[] minTriangle,
byte[] maxTriangle,
LatLonShape.QueryRelation queryRelation)
relates a range of triangles (internal node) to the query
|
private static PointValues.Relation |
LatLonShapeQuery.transposeRelation(PointValues.Relation r)
transpose the relation; INSIDE becomes OUTSIDE, OUTSIDE becomes INSIDE, CROSSES remains unchanged
|
Modifier and Type | Method and Description |
---|---|
private static PointValues.Relation |
LatLonShapeQuery.transposeRelation(PointValues.Relation r)
transpose the relation; INSIDE becomes OUTSIDE, OUTSIDE becomes INSIDE, CROSSES remains unchanged
|
Modifier and Type | Method and Description |
---|---|
private static PointValues.Relation |
Rectangle2D.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)
|
protected PointValues.Relation |
Line2D.componentRelate(double minLat,
double maxLat,
double minLon,
double maxLon) |
protected PointValues.Relation |
Polygon2D.componentRelate(double minLat,
double maxLat,
double minLon,
double maxLon) |
protected abstract PointValues.Relation |
EdgeTree.componentRelate(double minLat,
double maxLat,
double minLon,
double maxLon)
Returns relation to the provided rectangle for this component
|
protected PointValues.Relation |
Line2D.componentRelateTriangle(double ax,
double ay,
double bx,
double by,
double cx,
double cy) |
protected PointValues.Relation |
Polygon2D.componentRelateTriangle(double ax,
double ay,
double bx,
double by,
double cx,
double cy) |
protected abstract PointValues.Relation |
EdgeTree.componentRelateTriangle(double ax,
double ay,
double bx,
double by,
double cx,
double cy)
Returns relation to the provided triangle for this component
|
protected PointValues.Relation |
EdgeTree.internalComponentRelate(double minLat,
double maxLat,
double minLon,
double maxLon)
Returns relation to the provided rectangle for this component
|
private PointValues.Relation |
EdgeTree.internalComponentRelateTriangle(double ax,
double ay,
double bx,
double by,
double cx,
double cy) |
PointValues.Relation |
EdgeTree.relate(double minLat,
double maxLat,
double minLon,
double maxLon)
Returns relation to the provided rectangle
|
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.
|
private PointValues.Relation |
Polygon2D.relateIndexedLineSegment(double a2x,
double a2y,
double b2x,
double b2y)
relates an indexed line segment (a "flat triangle") with the polygon
|
private PointValues.Relation |
Polygon2D.relateIndexedTriangle(double ax,
double ay,
double bx,
double by,
double cx,
double cy)
relates an indexed triangle with the polygon
|
PointValues.Relation |
Rectangle2D.relateRangeBBox(int minXOffset,
int minYOffset,
byte[] minTriangle,
int maxXOffset,
int maxYOffset,
byte[] maxTriangle)
compare this to a provided rangle bounding box
|
PointValues.Relation |
EdgeTree.relateTriangle(double ax,
double ay,
double bx,
double by,
double cx,
double cy)
Returns relation to the provided triangle
|
Modifier and Type | Method and Description |
---|---|
private static GeoEncodingUtils.Grid |
GeoEncodingUtils.createSubBoxes(Rectangle boundingBox,
java.util.function.Function<Rectangle,PointValues.Relation> boxToRelation) |
Modifier and Type | Field and Description |
---|---|
private PointValues.Relation |
CheckIndex.ConstantRelationIntersectVisitor.relation |
Modifier and Type | Method and Description |
---|---|
PointValues.Relation |
CheckIndex.VerifyPointsVisitor.compare(byte[] minPackedValue,
byte[] maxPackedValue) |
PointValues.Relation |
CheckIndex.ConstantRelationIntersectVisitor.compare(byte[] minPackedValue,
byte[] maxPackedValue) |
PointValues.Relation |
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.
|
PointValues.Relation |
ExitableDirectoryReader.ExitableIntersectVisitor.compare(byte[] minPackedValue,
byte[] maxPackedValue) |
static PointValues.Relation |
PointValues.Relation.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PointValues.Relation[] |
PointValues.Relation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ConstantRelationIntersectVisitor(PointValues.Relation relation) |
Modifier and Type | Method and Description |
---|---|
PointValues.Relation |
NearestNeighbor.NearestVisitor.compare(byte[] minPackedValue,
byte[] maxPackedValue) |
PointValues.Relation |
PointInSetQuery.MergePointVisitor.compare(byte[] minPackedValue,
byte[] maxPackedValue) |
PointValues.Relation |
PointInSetQuery.SinglePointVisitor.compare(byte[] minPackedValue,
byte[] maxPackedValue) |
Modifier and Type | Method and Description |
---|---|
PointValues.Relation |
PointInSetIncludingScoreQuery.MergePointVisitor.compare(byte[] minPackedValue,
byte[] maxPackedValue) |