Uses of Enum Class org.apache.lucene.document.ShapeField.QueryRelation (Lucene 10.5.0 core API)
Description: use: package: org.apache.lucene.document, class: ShapeField, enum: QueryRelation

# Uses of Enum Class
org.apache.lucene.document.ShapeField.QueryRelation

Packages that use ShapeField.QueryRelation
Package
Description
org.apache.lucene.document
The logical representation of a `Document` for indexing and searching.

- ## Uses of ShapeField.QueryRelation in org.apache.lucene.document

  Methods in org.apache.lucene.document that return ShapeField.QueryRelation
  Modifier and Type
  Method
  Description
  `static ShapeField.QueryRelation`
  ShapeField.QueryRelation.`valueOf(String name)`
  Returns 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.QueryRelation
  Modifier and Type
  Method
  Description
  `static Query`
  LatLonShape.`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 Query`
  XYShape.`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 Query`
  LatLonShape.`newDistanceQuery(String field, ShapeField.QueryRelation queryRelation, Circle... circle)`
  create a query to find all polygons that intersect a provided circle.
  `static Query`
  XYShape.`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 Query`
  LatLonPoint.`newGeometryQuery(String field, ShapeField.QueryRelation queryRelation, LatLonGeometry... latLonGeometries)`
  Create a query for matching one or more geometries against the provided `ShapeField.QueryRelation`.
  `static Query`
  LatLonShape.`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 Query`
  ShapeDocValuesField.`newGeometryQuery(String field, ShapeField.QueryRelation relation, Object... geometries)`
  Creates a geometry query for shape docvalues
  `static Query`
  XYShape.`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 crossing
  `static Query`
  LatLonShape.`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 crossing
  `static Query`
  XYShape.`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 Query`
  LatLonShape.`newPointQuery(String field, ShapeField.QueryRelation queryRelation, double[]... points)`
  create a query to find all indexed shapes that comply the `ShapeField.QueryRelation` with the provided points
  `static Query`
  XYShape.`newPointQuery(String field, ShapeField.QueryRelation queryRelation, float[]... points)`
  create a query to find all indexed shapes that comply the `ShapeField.QueryRelation` with the provided point
  `static Query`
  LatLonShape.`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 crossing
  `static Query`
  XYShape.`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 Query`
  LatLonShape.`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 Query`
  XYShape.`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 Query`
  LatLonDocValuesField.`newSlowGeometryQuery(String field, ShapeField.QueryRelation queryRelation, LatLonGeometry... latLonGeometries)`
  Create a query for matching one or more geometries against the provided `ShapeField.QueryRelation`.