static Query |
LatLonPoint.newBoxQuery(String field,
double minLatitude,
double maxLatitude,
double minLongitude,
double maxLongitude) |
Create a query for matching a bounding box.
|
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 |
XYPointField.newBoxQuery(String field,
float minX,
float maxX,
float minY,
float maxY) |
Create a query for matching a 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 |
DoubleRange.newContainsQuery(String field,
double[] min,
double[] max) |
Create a query for matching indexed ranges that contain the defined range.
|
static Query |
FloatRange.newContainsQuery(String field,
float[] min,
float[] max) |
Create a query for matching indexed float ranges that contain the defined range.
|
static Query |
InetAddressRange.newContainsQuery(String field,
InetAddress min,
InetAddress max) |
Create a query for matching indexed ip ranges that CONTAINS the defined range.
|
static Query |
IntRange.newContainsQuery(String field,
int[] min,
int[] max) |
Create a query for matching indexed ranges that contain the defined range.
|
static Query |
LongRange.newContainsQuery(String field,
long[] min,
long[] max) |
Create a query for matching indexed ranges that contain the defined range.
|
static Query |
DoubleRange.newCrossesQuery(String field,
double[] min,
double[] max) |
Create a query for matching indexed ranges that cross the defined range.
|
static Query |
FloatRange.newCrossesQuery(String field,
float[] min,
float[] max) |
Create a query for matching indexed ranges that cross the defined range.
|
static Query |
InetAddressRange.newCrossesQuery(String field,
InetAddress min,
InetAddress max) |
Create a query for matching indexed ip ranges that CROSS the defined range.
|
static Query |
IntRange.newCrossesQuery(String field,
int[] min,
int[] max) |
Create a query for matching indexed ranges that cross the defined range.
|
static Query |
LongRange.newCrossesQuery(String field,
long[] min,
long[] max) |
Create a query for matching indexed ranges that cross the defined range.
|
static Query |
LatLonPoint.newDistanceFeatureQuery(String field,
float weight,
double originLat,
double originLon,
double pivotDistanceMeters) |
Given a field that indexes point values into a LatLonPoint and doc values into LatLonDocValuesField, this returns a query that scores documents based on their haversine
distance in meters to (originLat, originLon): score = weight *
pivotDistanceMeters / (pivotDistanceMeters + distance), ie.
|
static Query |
LongField.newDistanceFeatureQuery(String field,
float weight,
long origin,
long pivotDistance) |
Returns a query that scores documents based on their distance to origin: score =
weight * pivotDistance / (pivotDistance + distance), ie.
|
static Query |
LongPoint.newDistanceFeatureQuery(String field,
float weight,
long origin,
long pivotDistance) |
Deprecated.
|
static Query |
LatLonPoint.newDistanceQuery(String field,
double latitude,
double longitude,
double radiusMeters) |
Create a query for matching points within the specified distance of the supplied location.
|
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 |
XYPointField.newDistanceQuery(String field,
float x,
float y,
float radius) |
Create a query for matching points within the specified distance of the supplied location.
|
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 |
BinaryPoint.newExactQuery(String field,
byte[] value) |
Create a query for matching an exact binary value.
|
static Query |
DoubleField.newExactQuery(String field,
double value) |
Create a query for matching an exact double value.
|
static Query |
DoublePoint.newExactQuery(String field,
double value) |
Create a query for matching an exact double value.
|
static Query |
FloatField.newExactQuery(String field,
float value) |
Create a query for matching an exact float value.
|
static Query |
FloatPoint.newExactQuery(String field,
float value) |
Create a query for matching an exact float value.
|
static Query |
InetAddressPoint.newExactQuery(String field,
InetAddress value) |
Create a query for matching a network address.
|
static Query |
IntField.newExactQuery(String field,
int value) |
Create a query for matching an exact integer value.
|
static Query |
IntPoint.newExactQuery(String field,
int value) |
Create a query for matching an exact integer value.
|
static Query |
KeywordField.newExactQuery(String field,
String value) |
Create a query for matching an exact String value.
|
static Query |
KeywordField.newExactQuery(String field,
BytesRef value) |
Create a query for matching an exact BytesRef value.
|
static Query |
LongField.newExactQuery(String field,
long value) |
Create a query for matching an exact long value.
|
static Query |
LongPoint.newExactQuery(String field,
long value) |
Create a query for matching an exact long value.
|
static Query |
LatLonPoint.newGeometryQuery(String field,
ShapeField.QueryRelation queryRelation,
LatLonGeometry... latLonGeometries) |
|
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 |
XYPointField.newGeometryQuery(String field,
XYGeometry... xyGeometries) |
create a query to find all indexed shapes that intersect a provided geometry collection.
|
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 |
DoubleRange.newIntersectsQuery(String field,
double[] min,
double[] max) |
Create a query for matching indexed ranges that intersect the defined range.
|
static Query |
FloatRange.newIntersectsQuery(String field,
float[] min,
float[] max) |
Create a query for matching indexed ranges that intersect the defined range.
|
static Query |
InetAddressRange.newIntersectsQuery(String field,
InetAddress min,
InetAddress max) |
Create a query for matching indexed ip ranges that INTERSECT the defined range.
|
static Query |
IntRange.newIntersectsQuery(String field,
int[] min,
int[] max) |
Create a query for matching indexed ranges that intersect the defined range.
|
static Query |
LongRange.newIntersectsQuery(String field,
long[] min,
long[] max) |
Create a query for matching indexed ranges that intersect the defined range.
|
static Query |
FeatureField.newLinearQuery(String fieldName,
String featureName,
float weight) |
Return a new Query that will score documents as weight * S where S is the value
of the static feature.
|
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 |
FeatureField.newLogQuery(String fieldName,
String featureName,
float weight,
float scalingFactor) |
Return a new Query that will score documents as weight * Math.log(scalingFactor
+ S) where S is the value of the static feature.
|
static Query |
LatLonShape.newPointQuery(String field,
ShapeField.QueryRelation queryRelation,
double[]... points) |
|
static Query |
XYShape.newPointQuery(String field,
ShapeField.QueryRelation queryRelation,
float[]... points) |
|
static Query |
LatLonPoint.newPolygonQuery(String field,
Polygon... polygons) |
Create a query for matching one or more polygons.
|
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 |
XYPointField.newPolygonQuery(String field,
XYPolygon... polygons) |
Create a query for matching one or more polygons.
|
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 |
InetAddressPoint.newPrefixQuery(String field,
InetAddress value,
int prefixLength) |
Create a prefix query for matching a CIDR network range.
|
static Query |
BinaryPoint.newRangeQuery(String field,
byte[][] lowerValue,
byte[][] upperValue) |
Create a range query for n-dimensional binary values.
|
static Query |
BinaryPoint.newRangeQuery(String field,
byte[] lowerValue,
byte[] upperValue) |
Create a range query for binary values.
|
static Query |
DoubleField.newRangeQuery(String field,
double lowerValue,
double upperValue) |
Create a range query for double values.
|
static Query |
DoublePoint.newRangeQuery(String field,
double[] lowerValue,
double[] upperValue) |
Create a range query for n-dimensional double values.
|
static Query |
DoublePoint.newRangeQuery(String field,
double lowerValue,
double upperValue) |
Create a range query for double values.
|
static Query |
FloatField.newRangeQuery(String field,
float lowerValue,
float upperValue) |
Create a range query for float values.
|
static Query |
FloatPoint.newRangeQuery(String field,
float[] lowerValue,
float[] upperValue) |
Create a range query for n-dimensional float values.
|
static Query |
FloatPoint.newRangeQuery(String field,
float lowerValue,
float upperValue) |
Create a range query for float values.
|
static Query |
InetAddressPoint.newRangeQuery(String field,
InetAddress lowerValue,
InetAddress upperValue) |
Create a range query for network addresses.
|
static Query |
IntField.newRangeQuery(String field,
int lowerValue,
int upperValue) |
Create a range query for integer values.
|
static Query |
IntPoint.newRangeQuery(String field,
int[] lowerValue,
int[] upperValue) |
Create a range query for n-dimensional integer values.
|
static Query |
IntPoint.newRangeQuery(String field,
int lowerValue,
int upperValue) |
Create a range query for integer values.
|
static Query |
LongField.newRangeQuery(String field,
long lowerValue,
long upperValue) |
Create a range query for long values.
|
static Query |
LongPoint.newRangeQuery(String field,
long[] lowerValue,
long[] upperValue) |
Create a range query for n-dimensional long values.
|
static Query |
LongPoint.newRangeQuery(String field,
long lowerValue,
long upperValue) |
Create a range query for long values.
|
static Query |
FeatureField.newSaturationQuery(String fieldName,
String featureName) |
|
static Query |
FeatureField.newSaturationQuery(String fieldName,
String featureName,
float weight,
float pivot) |
Return a new Query that will score documents as weight * S / (S + pivot) where
S is the value of the static feature.
|
static Query |
BinaryPoint.newSetQuery(String field,
byte[]... values) |
Create a query matching any of the specified 1D values.
|
static Query |
DoubleField.newSetQuery(String field,
double... values) |
Create a query matching values in a supplied set
|
static Query |
DoublePoint.newSetQuery(String field,
double... values) |
Create a query matching any of the specified 1D values.
|
static Query |
DoublePoint.newSetQuery(String field,
Collection<Double> values) |
Create a query matching any of the specified 1D values.
|
static Query |
FloatField.newSetQuery(String field,
float... values) |
Create a query matching values in a supplied set
|
static Query |
FloatPoint.newSetQuery(String field,
float... values) |
Create a query matching any of the specified 1D values.
|
static Query |
FloatPoint.newSetQuery(String field,
Collection<Float> values) |
Create a query matching any of the specified 1D values.
|
static Query |
InetAddressPoint.newSetQuery(String field,
InetAddress... values) |
Create a query matching any of the specified 1D values.
|
static Query |
IntField.newSetQuery(String field,
int... values) |
Create a query matching values in a supplied set
|
static Query |
IntPoint.newSetQuery(String field,
int... values) |
Create a query matching any of the specified 1D values.
|
static Query |
IntPoint.newSetQuery(String field,
Collection<Integer> values) |
Create a query matching any of the specified 1D values.
|
static Query |
KeywordField.newSetQuery(String field,
BytesRef... values) |
Create a query for matching any of a set of provided BytesRef values.
|
static Query |
LongField.newSetQuery(String field,
long... values) |
Create a query matching values in a supplied set
|
static Query |
LongPoint.newSetQuery(String field,
long... values) |
Create a query matching any of the specified 1D values.
|
static Query |
LongPoint.newSetQuery(String field,
Collection<Long> values) |
Create a query matching any of the specified 1D values.
|
static Query |
FeatureField.newSigmoidQuery(String fieldName,
String featureName,
float weight,
float pivot,
float exp) |
Return a new Query that will score documents as weight * S^a / (S^a + pivot^a)
where S is the value of the static feature.
|
static Query |
LatLonDocValuesField.newSlowBoxQuery(String field,
double minLatitude,
double maxLatitude,
double minLongitude,
double maxLongitude) |
Create a query for matching a bounding box using doc values.
|
static Query |
XYDocValuesField.newSlowBoxQuery(String field,
float minX,
float maxX,
float minY,
float maxY) |
Create a query for matching a bounding box using doc values.
|
static Query |
LatLonDocValuesField.newSlowDistanceQuery(String field,
double latitude,
double longitude,
double radiusMeters) |
Create a query for matching points within the specified distance of the supplied location.
|
static Query |
XYDocValuesField.newSlowDistanceQuery(String field,
float x,
float y,
float radius) |
Create a query for matching points within the specified distance of the supplied location.
|
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 |
NumericDocValuesField.newSlowExactQuery(String field,
long value) |
Create a query for matching an exact long value.
|
static Query |
SortedDocValuesField.newSlowExactQuery(String field,
BytesRef value) |
Create a query for matching an exact BytesRef value.
|
static Query |
SortedNumericDocValuesField.newSlowExactQuery(String field,
long value) |
Create a query for matching an exact long value.
|
static Query |
SortedSetDocValuesField.newSlowExactQuery(String field,
BytesRef value) |
Create a query for matching an exact BytesRef value.
|
static Query |
LatLonDocValuesField.newSlowGeometryQuery(String field,
ShapeField.QueryRelation queryRelation,
LatLonGeometry... latLonGeometries) |
|
static Query |
XYDocValuesField.newSlowGeometryQuery(String field,
XYGeometry... geometries) |
Create a query for matching points within the supplied geometries.
|
static Query |
DoubleRangeDocValuesField.newSlowIntersectsQuery(String field,
double[] min,
double[] max) |
Create a new range query that finds all ranges that intersect using doc values.
|
static Query |
FloatRangeDocValuesField.newSlowIntersectsQuery(String field,
float[] min,
float[] max) |
Create a new range query that finds all ranges that intersect using doc values.
|
static Query |
IntRangeDocValuesField.newSlowIntersectsQuery(String field,
int[] min,
int[] max) |
Create a new range query that finds all ranges that intersect using doc values.
|
static Query |
LongRangeDocValuesField.newSlowIntersectsQuery(String field,
long[] min,
long[] max) |
Create a new range query that finds all ranges that intersect using doc values.
|
static Query |
LatLonDocValuesField.newSlowPolygonQuery(String field,
Polygon... polygons) |
Create a query for matching points within the supplied polygons.
|
static Query |
XYDocValuesField.newSlowPolygonQuery(String field,
XYPolygon... polygons) |
Create a query for matching points within the supplied polygons.
|
static Query |
NumericDocValuesField.newSlowRangeQuery(String field,
long lowerValue,
long upperValue) |
Create a range query that matches all documents whose value is between lowerValue and
upperValue included.
|
static Query |
SortedDocValuesField.newSlowRangeQuery(String field,
BytesRef lowerValue,
BytesRef upperValue,
boolean lowerInclusive,
boolean upperInclusive) |
Create a range query that matches all documents whose value is between lowerValue and
upperValue included.
|
static Query |
SortedNumericDocValuesField.newSlowRangeQuery(String field,
long lowerValue,
long upperValue) |
Create a range query that matches all documents whose value is between lowerValue and
upperValue included.
|
static Query |
SortedSetDocValuesField.newSlowRangeQuery(String field,
BytesRef lowerValue,
BytesRef upperValue,
boolean lowerInclusive,
boolean upperInclusive) |
Create a range query that matches all documents whose value is between lowerValue and
upperValue.
|
static Query |
NumericDocValuesField.newSlowSetQuery(String field,
long... values) |
Create a query matching any of the specified values.
|
static Query |
SortedDocValuesField.newSlowSetQuery(String field,
BytesRef... values) |
Create a query matching any of the specified values.
|
static Query |
SortedNumericDocValuesField.newSlowSetQuery(String field,
long... values) |
Create a query matching any of the specified values.
|
static Query |
SortedSetDocValuesField.newSlowSetQuery(String field,
BytesRef... values) |
Create a query matching any of the specified values.
|
static Query |
KnnByteVectorField.newVectorQuery(String field,
byte[] queryVector,
int k) |
Create a new vector query for the provided field targeting the byte vector
|
static Query |
KnnFloatVectorField.newVectorQuery(String field,
float[] queryVector,
int k) |
Create a new vector query for the provided field targeting the float vector
|
static Query |
DoubleRange.newWithinQuery(String field,
double[] min,
double[] max) |
Create a query for matching indexed ranges that are within the defined range.
|
static Query |
FloatRange.newWithinQuery(String field,
float[] min,
float[] max) |
Create a query for matching indexed ranges that are within the defined range.
|
static Query |
InetAddressRange.newWithinQuery(String field,
InetAddress min,
InetAddress max) |
Create a query for matching indexed ip ranges that are WITHIN the defined range.
|
static Query |
IntRange.newWithinQuery(String field,
int[] min,
int[] max) |
Create a query for matching indexed ranges that are within the defined range.
|
static Query |
LongRange.newWithinQuery(String field,
long[] min,
long[] max) |
Create a query for matching indexed ranges that are within the defined range.
|