99 строки
7.5 KiB
YAML
99 строки
7.5 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.search.documents.models.SemanticErrorMode"
|
|
fullName: "com.azure.search.documents.models.SemanticErrorMode"
|
|
name: "SemanticErrorMode"
|
|
nameWithType: "SemanticErrorMode"
|
|
summary: "Allows the user to choose whether a semantic call should fail completely, or to return partial results."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>fromString&text=<T>fromString\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>values(java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>values&text=<T>values\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)?alt=com.azure.core.util.ExpandableStringEnum.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.getValue()?alt=com.azure.core.util.ExpandableStringEnum.getValue&text=getValue\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.hashCode()?alt=com.azure.core.util.ExpandableStringEnum.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.toString()?alt=com.azure.core.util.ExpandableStringEnum.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **SemanticErrorMode**</br> extends <xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.search.documents.models.SemanticErrorMode?alt=com.azure.search.documents.models.SemanticErrorMode&text=SemanticErrorMode\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.search.documents.models.SemanticErrorMode.SemanticErrorMode()"
|
|
fullName: "com.azure.search.documents.models.SemanticErrorMode.SemanticErrorMode()"
|
|
name: "SemanticErrorMode()"
|
|
nameWithType: "SemanticErrorMode.SemanticErrorMode()"
|
|
summary: "Creates a new instance of Semantic<wbr>Error<wbr>Mode value."
|
|
deprecatedTag: "Use the <xref uid=\"com.azure.search.documents.models.SemanticErrorMode.fromString(java.lang.String)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String)\"></xref> factory method."
|
|
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public SemanticErrorMode()"
|
|
desc: "Creates a new instance of SemanticErrorMode value."
|
|
hasDeprecatedTag: true
|
|
fields:
|
|
- uid: "com.azure.search.documents.models.SemanticErrorMode.FAIL"
|
|
fullName: "com.azure.search.documents.models.SemanticErrorMode.FAIL"
|
|
name: "FAIL"
|
|
nameWithType: "SemanticErrorMode.FAIL"
|
|
summary: "If there is an exception during the semantic processing step, the query will fail and return the appropriate HTTP code depending on the error."
|
|
modifiers:
|
|
- "static"
|
|
- "final"
|
|
field:
|
|
type: "<xref href=\"com.azure.search.documents.models.SemanticErrorMode?alt=com.azure.search.documents.models.SemanticErrorMode&text=SemanticErrorMode\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static final SemanticErrorMode FAIL"
|
|
desc: "If there is an exception during the semantic processing step, the query will fail and return the appropriate HTTP code depending on the error."
|
|
- uid: "com.azure.search.documents.models.SemanticErrorMode.PARTIAL"
|
|
fullName: "com.azure.search.documents.models.SemanticErrorMode.PARTIAL"
|
|
name: "PARTIAL"
|
|
nameWithType: "SemanticErrorMode.PARTIAL"
|
|
summary: "If the semantic processing fails, partial results still return."
|
|
modifiers:
|
|
- "static"
|
|
- "final"
|
|
field:
|
|
type: "<xref href=\"com.azure.search.documents.models.SemanticErrorMode?alt=com.azure.search.documents.models.SemanticErrorMode&text=SemanticErrorMode\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static final SemanticErrorMode PARTIAL"
|
|
desc: "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:
|
|
- uid: "com.azure.search.documents.models.SemanticErrorMode.fromString(java.lang.String)"
|
|
fullName: "com.azure.search.documents.models.SemanticErrorMode.fromString(String name)"
|
|
name: "fromString(String name)"
|
|
nameWithType: "SemanticErrorMode.fromString(String name)"
|
|
summary: "Creates or finds a Semantic<wbr>Error<wbr>Mode from its string representation."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "a name to look for."
|
|
name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public static SemanticErrorMode fromString(String name)"
|
|
desc: "Creates or finds a SemanticErrorMode from its string representation."
|
|
returns:
|
|
description: "the corresponding SemanticErrorMode."
|
|
type: "<xref href=\"com.azure.search.documents.models.SemanticErrorMode?alt=com.azure.search.documents.models.SemanticErrorMode&text=SemanticErrorMode\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.search.documents.models.SemanticErrorMode.values()"
|
|
fullName: "com.azure.search.documents.models.SemanticErrorMode.values()"
|
|
name: "values()"
|
|
nameWithType: "SemanticErrorMode.values()"
|
|
summary: "Gets known Semantic<wbr>Error<wbr>Mode values."
|
|
modifiers:
|
|
- "static"
|
|
syntax: "public static Collection<SemanticErrorMode> values()"
|
|
desc: "Gets known SemanticErrorMode values."
|
|
returns:
|
|
description: "known SemanticErrorMode values."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a><<xref href=\"com.azure.search.documents.models.SemanticErrorMode?alt=com.azure.search.documents.models.SemanticErrorMode&text=SemanticErrorMode\" data-throw-if-not-resolved=\"False\" />>"
|
|
type: "class"
|
|
desc: "Allows the user to choose whether a semantic call should fail completely, or to return partial results."
|
|
metadata: {}
|
|
package: "com.azure.search.documents.models"
|
|
artifact: com.azure:azure-search-documents:11.7.3
|