Package | Description |
---|---|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
Modifier and Type | Field and Description |
---|---|
(package private) RangeFieldQuery.QueryType |
RangeFieldQuery.queryType
query relation
intersects:
CELL_CROSSES_QUERY ,
contains: CELL_CONTAINS_QUERY ,
within: CELL_WITHIN_QUERY |
Modifier and Type | Method and Description |
---|---|
static RangeFieldQuery.QueryType |
RangeFieldQuery.QueryType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RangeFieldQuery.QueryType[] |
RangeFieldQuery.QueryType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private static Query |
LatLonBoundingBox.newRangeQuery(java.lang.String field,
double minLat,
double minLon,
double maxLat,
double maxLon,
RangeFieldQuery.QueryType queryType)
helper method to create a two-dimensional geospatial bounding box query
|
private static Query |
DoubleRange.newRelationQuery(java.lang.String field,
double[] min,
double[] max,
RangeFieldQuery.QueryType relation)
helper method for creating the desired relational query
|
private static Query |
FloatRange.newRelationQuery(java.lang.String field,
float[] min,
float[] max,
RangeFieldQuery.QueryType relation)
helper method for creating the desired relational query
|
private static Query |
InetAddressRange.newRelationQuery(java.lang.String field,
java.net.InetAddress min,
java.net.InetAddress max,
RangeFieldQuery.QueryType relation)
helper method for creating the desired relational query
|
private static Query |
IntRange.newRelationQuery(java.lang.String field,
int[] min,
int[] max,
RangeFieldQuery.QueryType relation)
helper method for creating the desired relational query
|
private static Query |
LongRange.newRelationQuery(java.lang.String field,
long[] min,
long[] max,
RangeFieldQuery.QueryType relation)
helper method for creating the desired relational query
|
Constructor and Description |
---|
RangeFieldQuery(java.lang.String field,
byte[] ranges,
int numDims,
RangeFieldQuery.QueryType queryType)
Create a query for searching indexed ranges that match the provided relation.
|