Package | Description |
---|---|
org.elasticsearch.common.geo | |
org.elasticsearch.index.query |
Modifier and Type | Method and Description |
---|---|
static ShapeRelation |
ShapeRelation.getRelationByName(String name) |
static ShapeRelation |
ShapeRelation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShapeRelation[] |
ShapeRelation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static GeoShapeFilterBuilder |
FilterBuilders.geoShapeFilter(String name,
ShapeBuilder shape,
ShapeRelation relation)
A filter based on the relationship of a shape and indexed shapes
|
static GeoShapeFilterBuilder |
FilterBuilders.geoShapeFilter(String name,
String indexedShapeId,
String indexedShapeType,
ShapeRelation relation) |
static org.apache.lucene.spatial.query.SpatialArgs |
GeoShapeQueryParser.getArgs(ShapeBuilder shape,
ShapeRelation relation) |
GeoShapeFilterBuilder |
GeoShapeFilterBuilder.relation(ShapeRelation relation)
Sets the relation of query shape and indexed shape.
|
Constructor and Description |
---|
GeoShapeFilterBuilder(String name,
ShapeBuilder shape,
ShapeRelation relation)
Creates a new GeoShapeFilterBuilder whose Filter will be against the
given field name using the given Shape
|
GeoShapeFilterBuilder(String name,
String indexedShapeId,
String indexedShapeType,
ShapeRelation relation)
Creates a new GeoShapeFilterBuilder whose Filter will be against the given field name
and will use the Shape found with the given ID in the given type
|
Copyright © 2009–2015. All rights reserved.