AsyncSearchItemPaged Class
- Inheritance
-
AsyncSearchItemPaged
Constructor
AsyncSearchItemPaged(*args, **kwargs)
Methods
by_page |
Get an async iterator of pages of objects, instead of an async iterator of objects. |
get_answers |
Return semantic answers. Only included if the semantic ranker is used and answers are requested in the search query via the query_answer parameter. |
get_count |
Return the count of results if include_total_count was set for the query. |
get_coverage |
Return the coverage percentage, if minimum_coverage was specificied for the query. |
get_facets |
Return any facet results if faceting was requested. |
by_page
Get an async iterator of pages of objects, instead of an async iterator of objects.
by_page(continuation_token: str | None = None) -> AsyncIterator[AsyncIterator[ReturnType]]
Parameters
Name | Description |
---|---|
continuation_token
|
An opaque continuation token. This value can be retrieved from the continuation_token field of a previous generator object. If specified, this generator will begin returning results from this point. Default value: None
|
Returns
Type | Description |
---|---|
An async iterator of pages (themselves async iterator of objects) |
get_answers
Return semantic answers. Only included if the semantic ranker is used and answers are requested in the search query via the query_answer parameter.
async get_answers() -> List[QueryAnswerResult] | None
Returns
Type | Description |
---|---|
list[<xref:azure.search.documents.QueryAnswerResult>]
|
Answers. |
get_count
Return the count of results if include_total_count was set for the query.
async get_count() -> int
Returns
Type | Description |
---|---|
Count of results. |
get_coverage
Return the coverage percentage, if minimum_coverage was specificied for the query.
async get_coverage() -> float
Returns
Type | Description |
---|---|
Coverage percentage. |
get_facets
Return any facet results if faceting was requested.
async get_facets() -> Dict | None
Returns
Type | Description |
---|---|
Facet results. |
Azure SDK for Python