Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class GeoBoundingBoxQuery

This query finds all matches within a given box (identified by the upper left and lower right corner coordinates). Both coordinate points are required so the server can identify the right bounding box.

Inheritance
object
SearchQueryBase
GeoBoundingBoxQuery
Implements
ISearchQuery
Inherited Members
SearchQueryBase.IndexName
SearchQueryBase.Query
SearchQueryBase.Boost(double)
SearchQueryBase.BoostValue
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Search.Queries.Geo
Assembly: Couchbase.NetClient.dll
Syntax
public class GeoBoundingBoxQuery : SearchQueryBase, ISearchQuery

Constructors

View Source

GeoBoundingBoxQuery()

Declaration
public GeoBoundingBoxQuery()

Methods

View Source

AsReadOnly()

Declaration
public GeoBoundingBoxQuery.ReadOnly AsReadOnly()
Returns
Type Description
GeoBoundingBoxQuery.ReadOnly
View Source

BottomRight(double, double)

Declaration
public GeoBoundingBoxQuery BottomRight(double longitude, double latitude)
Parameters
Type Name Description
double longitude
double latitude
Returns
Type Description
GeoBoundingBoxQuery
View Source

Deconstruct(out double?, out double?, out double?, out double?, out string)

Declaration
public void Deconstruct(out double? topLeftLongitude, out double? topLeftLatitude, out double? bottomRightLongitude, out double? bottomRightLatitude, out string field)
Parameters
Type Name Description
double? topLeftLongitude
double? topLeftLatitude
double? bottomRightLongitude
double? bottomRightLatitude
string field
View Source

Export()

Gets a JSON object representing this query instance />

Declaration
[RequiresUnreferencedCode("Couchbase FTS might require types that cannot be statically analyzed. Make sure all required types are preserved.")]
[RequiresDynamicCode("Couchbase FTS might require types that cannot be statically analyzed and might need runtime code generation. Do not use for native AOT applications.")]
public override JObject Export()
Returns
Type Description
JObject
Overrides
SearchQueryBase.Export()
View Source

Field(string)

Declaration
public GeoBoundingBoxQuery Field(string field)
Parameters
Type Name Description
string field
Returns
Type Description
GeoBoundingBoxQuery
View Source

TopLeft(double, double)

Declaration
public GeoBoundingBoxQuery TopLeft(double longitude, double latitude)
Parameters
Type Name Description
double longitude
double latitude
Returns
Type Description
GeoBoundingBoxQuery

Implements

ISearchQuery
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.