Share via


SemanticErrorMode Struct

Definition

Allows the user to choose whether a semantic call should fail completely, or to return partial results.

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

Constructors

SemanticErrorMode(String)

Initializes a new instance of SemanticErrorMode.

Properties

Fail

If there is an exception during the semantic processing step, the query will fail and return the appropriate HTTP code depending on the error.

Partial

If the semantic processing fails, partial results still return. The definition of partial results depends on what semantic step failed and what was the reason for failure.

Methods

Equals(SemanticErrorMode)

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(SemanticErrorMode, SemanticErrorMode)

Determines if two SemanticErrorMode values are the same.

Implicit(String to SemanticErrorMode)

Converts a string to a SemanticErrorMode.

Inequality(SemanticErrorMode, SemanticErrorMode)

Determines if two SemanticErrorMode values are not the same.

Applies to