Class QueryDebugMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<QueryDebugMode>
com.azure.search.documents.models.QueryDebugMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Enables a debugging tool that can be used to further explore your search results. You can enable multiple debug modes
simultaneously by separating them with a | character, for example: semantic|queryRewrites.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QueryDebugModeTurn on all debug options.static final QueryDebugModeNo query debugging information will be returned.static final QueryDebugModeAllows the user to explore the list of query rewrites generated for their search request.static final QueryDebugModeAllows the user to further explore their reranked results.static final QueryDebugModeAllows the user to further explore their hybrid and vector query results. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryDebugModefromString(String name) Creates or finds a QueryDebugMode from its string representation.static Collection<QueryDebugMode> values()Gets known QueryDebugMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
DISABLED
No query debugging information will be returned. -
SEMANTIC
Allows the user to further explore their reranked results. -
VECTOR
Allows the user to further explore their hybrid and vector query results. -
QUERY_REWRITES
Allows the user to explore the list of query rewrites generated for their search request. -
ALL
Turn on all debug options.
-
-
Constructor Details
-
QueryDebugMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of QueryDebugMode value.
-
-
Method Details
-
fromString
Creates or finds a QueryDebugMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding QueryDebugMode.
-
values
Gets known QueryDebugMode values.- Returns:
- known QueryDebugMode values.
-
fromString(String)factory method.