Class GeoShapeQueryDescriptor<T>
Inheritance
GeoShapeQueryDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class GeoShapeQueryDescriptor<T> : FieldNameQueryDescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery, T>, IDescriptor, IGeoShapeQuery, IFieldNameQuery, IQuery where T : class
Type Parameters
Properties
|
Edit this page
View Source
Conditionless
Whether the query is conditionless. A conditionless query is not serialized as part of the request
sent to OpenSearch.
Declaration
protected override bool Conditionless { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
IgnoreUnmapped(bool?)
Will ignore an unmapped field and will not match any documents for this query.
This can be useful when querying multiple indexes which might have different mappings.
Declaration
public GeoShapeQueryDescriptor<T> IgnoreUnmapped(bool? ignoreUnmapped = true)
Parameters
Type |
Name |
Description |
bool? |
ignoreUnmapped |
|
Returns
|
Edit this page
View Source
IndexedShape(Func<FieldLookupDescriptor<T>, IFieldLookup>)
Indexed geo shape to search with
Declaration
public GeoShapeQueryDescriptor<T> IndexedShape(Func<FieldLookupDescriptor<T>, IFieldLookup> selector)
Parameters
Returns
|
Edit this page
View Source
Relation(GeoShapeRelation?)
Controls the spatial relation operator to use at search time.
Declaration
public GeoShapeQueryDescriptor<T> Relation(GeoShapeRelation? relation)
Parameters
Returns
|
Edit this page
View Source
Shape(Func<GeoShapeDescriptor, IGeoShape>)
The geo shape to search with
Declaration
public GeoShapeQueryDescriptor<T> Shape(Func<GeoShapeDescriptor, IGeoShape> selector)
Parameters
Returns
Implements
Extension Methods