Udostępnij za pośrednictwem


QueryRewritesType Struct

Definition

This parameter is only valid if the query type is semantic. When QueryRewrites is set to generative, the query terms are sent to a generate model which will produce 10 (default) rewrites to help increase the recall of the request. The requested count can be configured by appending the pipe character | followed by the count-<number of rewrites> option, such as generative|count-3. Defaults to None.

public readonly struct QueryRewritesType : IEquatable<Azure.Search.Documents.Models.QueryRewritesType>
type QueryRewritesType = struct
Public Structure QueryRewritesType
Implements IEquatable(Of QueryRewritesType)
Inheritance
QueryRewritesType
Implements

Constructors

QueryRewritesType(String)

Initializes a new instance of QueryRewritesType.

Properties

Generative

Generate alternative query terms to increase the recall of a search request.

None

Do not generate additional query rewrites for this query.

Methods

Equals(QueryRewritesType)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(QueryRewritesType, QueryRewritesType)

Determines if two QueryRewritesType values are the same.

Implicit(String to QueryRewritesType)

Converts a String to a QueryRewritesType.

Inequality(QueryRewritesType, QueryRewritesType)

Determines if two QueryRewritesType values are not the same.

Applies to