Package org.elasticsearch.index.query
Class GeoPolygonQueryBuilder
java.lang.Object
org.elasticsearch.index.query.AbstractQueryBuilder<GeoPolygonQueryBuilder>
org.elasticsearch.index.query.GeoPolygonQueryBuilder
- All Implemented Interfaces:
 NamedWriteable,Writeable,QueryBuilder,Rewriteable<QueryBuilder>,ToXContent,ToXContentObject
@Deprecated
public class GeoPolygonQueryBuilder
extends AbstractQueryBuilder<GeoPolygonQueryBuilder>
Deprecated.
- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanDeprecated.The default value for ignore_unmapped.static final StringDeprecated.static final StringDeprecated.Fields inherited from class org.elasticsearch.index.query.AbstractQueryBuilder
boost, BOOST_FIELD, DEFAULT_BOOST, NAME_FIELD, queryNameFields inherited from interface org.elasticsearch.index.query.Rewriteable
MAX_REWRITE_ROUNDSFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS - 
Constructor Summary
ConstructorsConstructorDescriptionGeoPolygonQueryBuilder(String fieldName, List<GeoPoint> points) Deprecated.Deprecated.Read from a stream. - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleandoEquals(GeoPolygonQueryBuilder other) Deprecated.Indicates whether some otherQueryBuilderobject of the same type is "equal to" this one.protected intDeprecated.protected org.apache.lucene.search.QuerydoToQuery(SearchExecutionContext context) Deprecated.protected voiddoWriteTo(StreamOutput out) Deprecated.protected voiddoXContent(XContentBuilder builder, ToXContent.Params params) Deprecated.Deprecated.static GeoPolygonQueryBuilderfromXContent(XContentParser parser) Deprecated.Deprecated.Returns the validation method to use for geo coordinates.Deprecated.Returns the name of the writeable objectbooleanDeprecated.Gets whether the query builder will ignore unmapped fields (and run aMatchNoDocsQueryin place of this query) or throw an exception if the field is unmapped.ignoreUnmapped(boolean ignoreUnmapped) Deprecated.Sets whether the query builder should ignore unmapped fields (and run aMatchNoDocsQueryin place of this query) or throw an exception if the field is unmapped.points()Deprecated.Deprecated.Sets the validation method to use for geo coordinates.Methods inherited from class org.elasticsearch.index.query.AbstractQueryBuilder
addValidationError, boost, boost, checkNegativeBoost, declareStandardFields, doRewrite, equals, extractInnerHitBuilders, getName, hashCode, parseInnerQueryBuilder, parseInnerQueryBuilder, printBoostAndQueryName, queryName, queryName, requireValue, rewrite, throwParsingExceptionOnMultipleFields, toQuery, toString, toXContent, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment 
- 
Field Details
- 
NAME
Deprecated.- See Also:
 
 - 
GEO_POLYGON_DEPRECATION_MSG
Deprecated.- See Also:
 
 - 
DEFAULT_IGNORE_UNMAPPED
public static final boolean DEFAULT_IGNORE_UNMAPPEDDeprecated.The default value for ignore_unmapped.- See Also:
 
 
 - 
 - 
Constructor Details
- 
GeoPolygonQueryBuilder
Deprecated. - 
GeoPolygonQueryBuilder
Deprecated.Read from a stream.- Throws:
 IOException
 
 - 
 - 
Method Details
- 
doWriteTo
Deprecated.- Specified by:
 doWriteToin classAbstractQueryBuilder<GeoPolygonQueryBuilder>- Throws:
 IOException
 - 
fieldName
Deprecated. - 
points
Deprecated. - 
setValidationMethod
Deprecated.Sets the validation method to use for geo coordinates. - 
getValidationMethod
Deprecated.Returns the validation method to use for geo coordinates. - 
ignoreUnmapped
Deprecated.Sets whether the query builder should ignore unmapped fields (and run aMatchNoDocsQueryin place of this query) or throw an exception if the field is unmapped. - 
ignoreUnmapped
public boolean ignoreUnmapped()Deprecated.Gets whether the query builder will ignore unmapped fields (and run aMatchNoDocsQueryin place of this query) or throw an exception if the field is unmapped. - 
doToQuery
protected org.apache.lucene.search.Query doToQuery(SearchExecutionContext context) throws IOException Deprecated.- Specified by:
 doToQueryin classAbstractQueryBuilder<GeoPolygonQueryBuilder>- Throws:
 IOException
 - 
doXContent
Deprecated.- Specified by:
 doXContentin classAbstractQueryBuilder<GeoPolygonQueryBuilder>- Throws:
 IOException
 - 
fromXContent
Deprecated.- Throws:
 IOException
 - 
doEquals
Deprecated.Description copied from class:AbstractQueryBuilderIndicates whether some otherQueryBuilderobject of the same type is "equal to" this one.- Specified by:
 doEqualsin classAbstractQueryBuilder<GeoPolygonQueryBuilder>
 - 
doHashCode
protected int doHashCode()Deprecated.- Specified by:
 doHashCodein classAbstractQueryBuilder<GeoPolygonQueryBuilder>
 - 
getWriteableName
Deprecated.Description copied from interface:NamedWriteableReturns the name of the writeable object 
 - 
 
GeoShapeQueryBuilder