Search Results for

    Show / Hide Table of Contents

    Class MatchPhrasePrefixQueryDescriptor<T>

    Inheritance
    object
    DescriptorBase<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery>
    QueryDescriptorBase<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery>
    FieldNameQueryDescriptorBase<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery, T>
    MatchPhrasePrefixQueryDescriptor<T>
    Implements
    IDescriptor
    IMatchPhrasePrefixQuery
    IFieldNameQuery
    IQuery
    Inherited Members
    FieldNameQueryDescriptorBase<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery, T>.Field(Field)
    FieldNameQueryDescriptorBase<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery, T>.Field<TValue>(Expression<Func<T, TValue>>)
    QueryDescriptorBase<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery>.Conditionless
    QueryDescriptorBase<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery>.Name(string)
    QueryDescriptorBase<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery>.Boost(double?)
    QueryDescriptorBase<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery>.Verbatim(bool)
    QueryDescriptorBase<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery>.Strict(bool)
    DescriptorBase<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery>.Self
    DescriptorBase<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery>.Assign<TValue>(TValue, Action<IMatchPhrasePrefixQuery, 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 MatchPhrasePrefixQueryDescriptor<T> : FieldNameQueryDescriptorBase<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery, T>, IDescriptor, IMatchPhrasePrefixQuery, 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<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery>.Conditionless

    Methods

    | Edit this page View Source

    Analyzer(string)

    Declaration
    public MatchPhrasePrefixQueryDescriptor<T> Analyzer(string analyzer)
    Parameters
    Type Name Description
    string analyzer
    Returns
    Type Description
    MatchPhrasePrefixQueryDescriptor<T>
    | Edit this page View Source

    MaxExpansions(int?)

    Declaration
    public MatchPhrasePrefixQueryDescriptor<T> MaxExpansions(int? maxExpansions)
    Parameters
    Type Name Description
    int? maxExpansions
    Returns
    Type Description
    MatchPhrasePrefixQueryDescriptor<T>
    | Edit this page View Source

    Query(string)

    Declaration
    public MatchPhrasePrefixQueryDescriptor<T> Query(string query)
    Parameters
    Type Name Description
    string query
    Returns
    Type Description
    MatchPhrasePrefixQueryDescriptor<T>
    | Edit this page View Source

    Slop(int?)

    Declaration
    public MatchPhrasePrefixQueryDescriptor<T> Slop(int? slop)
    Parameters
    Type Name Description
    int? slop
    Returns
    Type Description
    MatchPhrasePrefixQueryDescriptor<T>
    | Edit this page View Source

    ZeroTermsQuery(ZeroTermsQuery?)

    If the analyzer used removes all tokens in a query like a stop filter does, the default behavior is to match no documents at all. In order to change that, ZeroTermsQuery can be used, which accepts None (default) and All which corresponds to a match_all query.

    Declaration
    public MatchPhrasePrefixQueryDescriptor<T> ZeroTermsQuery(ZeroTermsQuery? zeroTermsQuery)
    Parameters
    Type Name Description
    ZeroTermsQuery? zeroTermsQuery
    Returns
    Type Description
    MatchPhrasePrefixQueryDescriptor<T>

    Implements

    IDescriptor
    IMatchPhrasePrefixQuery
    IFieldNameQuery
    IQuery

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Conditionless
    • Methods
      • Analyzer(string)
      • MaxExpansions(int?)
      • Query(string)
      • Slop(int?)
      • ZeroTermsQuery(ZeroTermsQuery?)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX