Interface IShapeQuery
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IShapeQuery : IFieldNameQuery, IQuery
Properties
| Edit this page View SourceIgnoreUnmapped
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
[DataMember(Name = "ignore_unmapped")]
bool? IgnoreUnmapped { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
IndexedShape
Indexed geo shape to search with
Declaration
[DataMember(Name = "indexed_shape")]
IFieldLookup IndexedShape { get; set; }
Property Value
| Type | Description |
|---|---|
| IFieldLookup |
Relation
Controls the spatial relation operator to use at search time.
Declaration
[DataMember(Name = "relation")]
ShapeRelation? Relation { get; set; }
Property Value
| Type | Description |
|---|---|
| ShapeRelation? |
Shape
The geo shape to search with
Declaration
[DataMember(Name = "shape")]
IGeoShape Shape { get; set; }
Property Value
| Type | Description |
|---|---|
| IGeoShape |