Search Results for

    Show / Hide Table of Contents

    Class GeoShapeQueryDescriptor<T>

    Inheritance
    object
    DescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery>
    QueryDescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery>
    FieldNameQueryDescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery, T>
    GeoShapeQueryDescriptor<T>
    Implements
    IDescriptor
    IGeoShapeQuery
    IFieldNameQuery
    IQuery
    Inherited Members
    FieldNameQueryDescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery, T>.Field(Field)
    FieldNameQueryDescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery, T>.Field<TValue>(Expression<Func<T, TValue>>)
    QueryDescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery>.Conditionless
    QueryDescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery>.Name(string)
    QueryDescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery>.Boost(double?)
    QueryDescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery>.Verbatim(bool)
    QueryDescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery>.Strict(bool)
    DescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery>.Self
    DescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery>.Assign<TValue>(TValue, Action<IGeoShapeQuery, TValue>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class GeoShapeQueryDescriptor<T> : FieldNameQueryDescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery, T>, IDescriptor, IGeoShapeQuery, IFieldNameQuery, IQuery where T : class
    Type Parameters
    Name Description
    T

    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
    Type Description
    bool
    Overrides
    QueryDescriptorBase<GeoShapeQueryDescriptor<T>, IGeoShapeQuery>.Conditionless

    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
    Type Description
    GeoShapeQueryDescriptor<T>
    | 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
    Type Name Description
    Func<FieldLookupDescriptor<T>, IFieldLookup> selector
    Returns
    Type Description
    GeoShapeQueryDescriptor<T>
    | 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
    Type Name Description
    GeoShapeRelation? relation
    Returns
    Type Description
    GeoShapeQueryDescriptor<T>
    | 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
    Type Name Description
    Func<GeoShapeDescriptor, IGeoShape> selector
    Returns
    Type Description
    GeoShapeQueryDescriptor<T>

    Implements

    IDescriptor
    IGeoShapeQuery
    IFieldNameQuery
    IQuery

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Conditionless
    • Methods
      • IgnoreUnmapped(bool?)
      • IndexedShape(Func<FieldLookupDescriptor<T>, IFieldLookup>)
      • Relation(GeoShapeRelation?)
      • Shape(Func<GeoShapeDescriptor, IGeoShape>)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX