QueryDebugMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. models. QueryDebugMode
- com.
- com.
public final class QueryDebugMode
extends ExpandableStringEnum<QueryDebugMode>
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
| Modifier and Type | Field and Description |
|---|---|
|
static final
Query |
ALL
Turn on all debug options. |
|
static final
Query |
DISABLED
No query debugging information will be returned. |
|
static final
Query |
INNER_HITS
Allows the user to retrieve scoring information regarding vectors matched within a collection of complex types. |
|
static final
Query |
QUERY_REWRITES
Allows the user to explore the list of query rewrites generated for their search request. |
|
static final
Query |
SEMANTIC
Allows the user to further explore their reranked results. |
|
static final
Query |
VECTOR
Allows the user to further explore their hybrid and vector query results. |
Constructor Summary
| Constructor | Description |
|---|---|
| QueryDebugMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Query |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Query |
fromString(String name)
Creates or finds a Query |
|
static
Collection<Query |
values()
Gets known Query |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALL
public static final QueryDebugMode ALL
Turn on all debug options.
DISABLED
public static final QueryDebugMode DISABLED
No query debugging information will be returned.
INNER_HITS
public static final QueryDebugMode INNER_HITS
Allows the user to retrieve scoring information regarding vectors matched within a collection of complex types.
QUERY_REWRITES
public static final QueryDebugMode QUERY_REWRITES
Allows the user to explore the list of query rewrites generated for their search request.
SEMANTIC
public static final QueryDebugMode SEMANTIC
Allows the user to further explore their reranked results.
VECTOR
public static final QueryDebugMode VECTOR
Allows the user to further explore their hybrid and vector query results.
Constructor Details
QueryDebugMode
@Deprecated
public QueryDebugMode()
Deprecated
Creates a new instance of QueryDebugMode value.
Method Details
fromString
public static QueryDebugMode fromString(String name)
Creates or finds a QueryDebugMode from its string representation.
Parameters:
Returns:
values
public static Collection<QueryDebugMode> values()
Gets known QueryDebugMode values.
Returns: