Azure.Search.Documents.Models Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
| Name | Description |
|---|---|
| AgenticSearchDebugInfo |
Bounded diagnostics returned for agentic search when debug selects agentic or all. Retrieved documents remain in value; prompts and raw model reasoning are excluded. Disabling diagnostics does not disable usage accounting or actionable error reporting. |
| AgenticSearchOptions |
Request-scoped runtime options for agentic search; service safety limits apply independently. |
| AgenticSearchSubQuery |
One issued subquery from agentic search. The object permits future query metadata without changing the subquery collection shape. |
| AgenticSearchUsage |
Token usage for agentic query planning and ranking across the search request, including documents not returned in the response. |
| AutocompleteItem |
The result of Autocomplete requests. |
| AutocompleteResults |
The result of Autocomplete query. |
| BalancedVectorQueryTopicGraph |
Blends pure vector similarity with diversity-aware retrieval. Recommended default to balance diversity with relevance. |
| DiverseVectorQueryTopicGraph |
Uses topic graph diverse retrieval. |
| DocumentDebugInfo |
Contains debugging information that can be used to further explore your search results. |
| FacetResult |
A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval. |
| GraphQueryDiagnostic |
A graph planning or execution diagnostic. |
| GraphQueryEvidence |
Source assertion identifiers and confidence values retained as graph evidence. |
| GraphQueryEvidenceConfidence |
Confidence values recorded on a supporting assertion. |
| GraphQueryEvidenceCount |
An evidence count whose relation describes whether collection was complete. |
| GraphQueryExplain |
Diagnostic query-plan representations keyed by requested explain stage. |
| GraphQueryProvenanceDocuments |
Source documents keyed by document ID. Each document contains the selected retrievable source fields. |
| GraphQueryProvenanceHydrateDocumentsParameters |
Selects fields from the source index configured by graphProfile.provenanceIndexName. |
| GraphQueryProvenanceParameters |
Bounded provenance collection options for a graph query. |
| GraphQueryResult |
A graph query's projected rows and optional execution information. |
| GraphQueryRow |
A dynamic graph projection row with optional bounded assertion evidence. |
| GraphQueryRowProvenance |
Assertion evidence supporting one projected graph row. |
| GraphQueryStatistics |
Execution statistics for a graph query; counters describe work performed rather than result-row counts. |
| HybridSearch |
The query parameters to configure hybrid search behaviors. |
| IndexActionCompletedEventArgs<T> |
Provides data for ActionCompleted event. |
| IndexActionEventArgs<T> |
Provides data for ActionAdded and ActionSent events. |
| IndexActionFailedEventArgs<T> |
Provides data for ActionCompleted event. |
| IndexDocumentsAction |
Creates IndexDocumentsAction<T> instances to add to an IndexDocumentsBatch<T> and submit via IndexDocuments<T>(IndexDocumentsBatch<T>, IndexDocumentsOptions, CancellationToken). |
| IndexDocumentsAction<T> |
Represents an index action that operates on a document. |
| IndexDocumentsBatch |
Creates IndexDocumentsBatch<T> instances to update search indexes via IndexDocuments<T>(IndexDocumentsBatch<T>, IndexDocumentsOptions, CancellationToken). |
| IndexDocumentsBatch<T> |
Contains a batch of document write actions to send to a search index via IndexDocuments<T>(IndexDocumentsBatch<T>, IndexDocumentsOptions, CancellationToken). |
| IndexDocumentsResult |
Response containing the status of operations for all documents in the indexing request. |
| IndexingResult |
Status of an indexing operation for a single document. |
| NoneVectorQueryTopicGraph |
Uses normal vector search without topic graph diverse retrieval. |
| QueryAnswer |
Configuration for how semantic search returns answers to the search. |
| QueryAnswerResult |
An answer is a text passage extracted from the contents of the most relevant documents that matched the query. Answers are extracted from the top search results. Answer candidates are scored and the top answers are selected. |
| QueryCaption |
Configuration for how semantic search captions search results. |
| QueryCaptionResult |
Captions are the most representative passages from the document relatively to the search query. They are often used as document summary. Captions are only returned for queries of type |
| QueryResultDocumentInnerHit |
Detailed scoring information for an individual element of a complex collection. |
| QueryResultDocumentRerankerInput |
The raw concatenated strings that were sent to the semantic enrichment process. |
| QueryResultDocumentSemanticField |
Description of fields that were sent to the semantic enrichment process, as well as how they were used. |
| QueryResultDocumentSubscores |
The breakdown of subscores between the text and vector query components of the search query for this document. Each vector query is shown as a separate object in the same order they were received. |
| QueryRewrites |
Configuration for how semantic search generates query rewrites. |
| QueryRewritesDebugInfo |
Contains debugging information specific to query rewrites. |
| QueryRewritesValuesDebugInfo |
Contains debugging information specific to query rewrites. |
| RangeFacetResult<T> |
A single bucket of a range facet query result that reports the number of documents with a field value falling within a particular range. |
| SearchDocument |
Represents an untyped document returned from a search or document lookup. It can be accessed as either a dynamic object or a dictionary. |
| SearchModelFactory |
A factory class for creating instances of the models for mocking. |
| SearchResult<T> |
Contains a document found by a search query, plus associated metadata. |
| SearchResults<T> |
Response containing search results from an index. |
| SearchResultsDebugInfo |
Contains debugging information that can be used to further explore your search results. |
| SearchResultsPage<T> |
A page of SearchResult<T>s returned from GetResultsAsync()'s AsPages(String, Nullable<Int32>) method. |
| SearchScoreThreshold |
The results of the vector query will filter based on the '. |
| SearchSuggestion<T> |
A result containing a document found by a suggestion query, plus associated metadata. |
| SemanticDebugInfo |
Contains debugging information specific to semantic ranking requests. |
| SemanticSearchOptions |
Options for performing Semantic Search. |
| SemanticSearchResult |
Semantic search result. |
| SemanticSearchResults |
Semantic search results from an index. |
| SingleVectorFieldResult |
A single vector field result. Both. |
| SuggestResults<T> |
Response containing suggestion query results from an index. |
| TextResult |
The BM25 or Classic score for the text portion of the query. |
| ValueFacetResult<T> |
A single bucket of a simple or interval facet query result that reports the number of documents with a field falling within a particular interval or having a specific value. |
| VectorizableTextQuery |
The query parameters to use for vector search when a text value that needs to be vectorized is provided. |
| VectorizedQuery |
The query parameters to use for vector search when a raw vector value is provided. |
| VectorQuery |
The query parameters for vector and hybrid search queries. Please note this is the abstract base class. The derived classes available for instantiation are: Azure.Search.Documents.Models.VectorizableImageBinaryQuery, Azure.Search.Documents.Models.VectorizableImageUrlQuery, VectorizableTextQuery, and VectorizedQuery. |
| VectorQueryTopicGraph |
Base type for topic graph vector search options. Please note this is the abstract base class. The derived classes available for instantiation are: BalancedVectorQueryTopicGraph, DiverseVectorQueryTopicGraph, and NoneVectorQueryTopicGraph. |
| VectorsDebugInfo |
"Contains debugging information specific to vector and hybrid search."). |
| VectorSearchOptions |
Options for performing Vector Search. |
| VectorSimilarityThreshold |
The results of the vector query will be filtered based on the vector similarity metric. Note this is the canonical definition of similarity metric, not the 'distance' version. The threshold direction (larger or smaller) will be chosen automatically according to the metric used by the field. |
| VectorThreshold |
The threshold used for vector queries. Please note this is the abstract base class. The derived classes available for instantiation are: SearchScoreThreshold and VectorSimilarityThreshold. |
Structs
| Name | Description |
|---|---|
| AgenticSearchTerminationReason |
Why agentic processing stopped. Non-model failures retain their existing error details and HTTP status. |
| GraphQueryDiagnosticPhase |
The stage that produced a graph query diagnostic. |
| GraphQueryDiagnosticSeverity |
The importance of a graph query diagnostic. |
| GraphQueryEvidenceCountRelation |
Completeness of an evidence count. |
| GraphQueryExecutionMode |
Whether a graph query is executed or only planned. |
| GraphQueryExplainStage |
Diagnostic stages available when inspecting a graph query. |
| GraphQueryProvenanceKind |
The kind of assertion evidence returned with graph rows. |
| HybridCountAndFacetMode |
Determines whether the count and facets should includes all documents that matched the search query, or only the documents that are retrieved within the 'maxTextRecallSize' window. The default value is 'countAllResults'. |
| KnowledgeSourceFileIngestionState |
Enum describing allowed operation states. |
| QueryAnswerType |
This parameter is only valid if the query type is |
| QueryCaptionType |
This parameter is only valid if the query type is |
| 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. |
| QueryLanguage |
The language of the query. |
| QueryRewritesType |
This parameter is only valid if the query type is |
| QuerySpellerType |
Improve search recall by spell-correcting individual search query terms. |
| SemanticErrorMode |
Allows the user to choose whether a semantic call should fail completely, or to return partial results. |
| SemanticErrorReason |
Reason that a partial response was returned for a semantic ranking request. |
| SemanticFieldState |
The way the field was used for the semantic enrichment process. |
| SemanticSearchResultsType |
Type of partial response that was returned for a semantic ranking request. |
| VectorFilterMode |
Determines whether or not filters are applied before or after the vector search is performed. |
| VectorSearchTopicGraphKind |
The kind of topic graph vector search to use. |
Enums
| Name | Description |
|---|---|
| AutocompleteMode |
Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context in producing autocomplete terms. |
| FacetType |
Specifies the type of a facet query result. |
| IndexActionType |
The operation to perform on a document in an indexing batch. |
| ScoringStatistics |
A value that specifies whether we want to calculate scoring statistics (such as document frequency) globally for more consistent scoring, or locally, for lower latency. The default is 'local'. Use 'global' to aggregate scoring statistics globally before scoring. Using global scoring statistics can increase latency of search queries. |
| SearchMode |
Specifies whether any or all of the search terms must be matched in order to count the document as a match. |
| SearchQueryType |
Specifies the syntax of the search query. The default is "simple". Use "full" if your query uses the Lucene query syntax. Renames generated QueryType to SearchQueryType for backward compatibility. |