다음을 통해 공유


DocumentsOperationsExtensions.ContinueSearch Method

Definition

Overloads

ContinueSearch(IDocumentsOperations, SearchContinuationToken, SearchRequestOptions)

Retrieves the next page of search results from the search index. https://docs.microsoft.com/rest/api/searchservice/Search-Documents

ContinueSearch<T>(IDocumentsOperations, SearchContinuationToken, SearchRequestOptions)

Retrieves the next page of search results from the search index. https://docs.microsoft.com/rest/api/searchservice/Search-Documents

ContinueSearch(IDocumentsOperations, SearchContinuationToken, SearchRequestOptions)

Source:
DocumentsOperationsExtensions.cs

Retrieves the next page of search results from the search index. https://docs.microsoft.com/rest/api/searchservice/Search-Documents

public static Microsoft.Azure.Search.Models.DocumentSearchResult<Microsoft.Azure.Search.Models.Document> ContinueSearch (this Microsoft.Azure.Search.IDocumentsOperations operations, Microsoft.Azure.Search.Models.SearchContinuationToken continuationToken, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default);
static member ContinueSearch : Microsoft.Azure.Search.IDocumentsOperations * Microsoft.Azure.Search.Models.SearchContinuationToken * Microsoft.Azure.Search.Models.SearchRequestOptions -> Microsoft.Azure.Search.Models.DocumentSearchResult<Microsoft.Azure.Search.Models.Document>
<Extension()>
Public Function ContinueSearch (operations As IDocumentsOperations, continuationToken As SearchContinuationToken, Optional searchRequestOptions As SearchRequestOptions = Nothing) As DocumentSearchResult(Of Document)

Parameters

operations
IDocumentsOperations

The operations group for this extension method.

continuationToken
SearchContinuationToken

Encapsulates the state required to fetch the next page of search results from the index.

searchRequestOptions
SearchRequestOptions

Additional parameters for the operation

Returns

Response containing the documents matching the query.

Remarks

The non-generic overloads of the ContinueSearch, ContinueSearchAsync, and ContinueSearchWithHttpMessagesAsync methods make a best-effort attempt to map JSON types in the response payload to .NET types. See GetWithHttpMessagesAsync(String, IEnumerable<String>, SearchRequestOptions, Dictionary<String,List<String>>, CancellationToken) for more information.

If Azure Cognitive Search can't include all results in a single response, the response returned will include a continuation token that can be passed to ContinueSearch to retrieve more results. See DocumentSearchResult.ContinuationToken for more information.

Note that this method is not meant to help you implement paging of search results. You can implement paging using the Top and Skip parameters to the Search method.

Applies to

ContinueSearch<T>(IDocumentsOperations, SearchContinuationToken, SearchRequestOptions)

Source:
DocumentsOperationsExtensions.cs

Retrieves the next page of search results from the search index. https://docs.microsoft.com/rest/api/searchservice/Search-Documents

public static Microsoft.Azure.Search.Models.DocumentSearchResult<T> ContinueSearch<T> (this Microsoft.Azure.Search.IDocumentsOperations operations, Microsoft.Azure.Search.Models.SearchContinuationToken continuationToken, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default);
static member ContinueSearch : Microsoft.Azure.Search.IDocumentsOperations * Microsoft.Azure.Search.Models.SearchContinuationToken * Microsoft.Azure.Search.Models.SearchRequestOptions -> Microsoft.Azure.Search.Models.DocumentSearchResult<'T>
<Extension()>
Public Function ContinueSearch(Of T) (operations As IDocumentsOperations, continuationToken As SearchContinuationToken, Optional searchRequestOptions As SearchRequestOptions = Nothing) As DocumentSearchResult(Of T)

Type Parameters

T

The CLR type that maps to the index schema. Instances of this type can be retrieved as documents from the index.

Parameters

operations
IDocumentsOperations

The operations group for this extension method.

continuationToken
SearchContinuationToken

Encapsulates the state required to fetch the next page of search results from the index.

searchRequestOptions
SearchRequestOptions

Additional parameters for the operation

Returns

Response containing the documents matching the query.

Remarks

The generic overloads of the ContinueSearch, ContinueSearchAsync, and ContinueSearchWithHttpMessagesAsync methods support mapping of search field types to .NET types via the type parameter T. See GetWithHttpMessagesAsync<T>(String, IEnumerable<String>, SearchRequestOptions, Dictionary<String,List<String>>, CancellationToken) for more details on the type mapping.

If Azure Cognitive Search can't include all results in a single response, the response returned will include a continuation token that can be passed to ContinueSearch to retrieve more results. See DocumentSearchResult.ContinuationToken for more information.

Note that this method is not meant to help you implement paging of search results. You can implement paging using the Top and Skip parameters to the Search method.

Applies to