Language

SearchIndexClient.GetIndexesWithSelectedProperties Method

Definition

Overloads

Name Description
GetIndexesWithSelectedProperties(IEnumerable<String>, String, Nullable<Int32>, Nullable<ListingSearchType>, CancellationToken)

Lists all indexes available for a search service.

GetIndexesWithSelectedProperties(IEnumerable<String>, String, Nullable<Int32>, String, RequestContext)

[Protocol Method] Lists all indexes available for a search service.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

GetIndexesWithSelectedProperties(IEnumerable<String>, String, Nullable<Int32>, Nullable<ListingSearchType>, CancellationToken)

Source:
SearchIndexClient.cs

Lists all indexes available for a search service.

public virtual Azure.Pageable<Azure.Search.Documents.Indexes.Models.SearchIndexResponse> GetIndexesWithSelectedProperties(System.Collections.Generic.IEnumerable<string> select = default, string search = default, int? pageSize = default, Azure.Search.Documents.Indexes.Models.ListingSearchType? searchType = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIndexesWithSelectedProperties : seq<string> * string * Nullable<int> * Nullable<Azure.Search.Documents.Indexes.Models.ListingSearchType> * System.Threading.CancellationToken -> Azure.Pageable<Azure.Search.Documents.Indexes.Models.SearchIndexResponse>
override this.GetIndexesWithSelectedProperties : seq<string> * string * Nullable<int> * Nullable<Azure.Search.Documents.Indexes.Models.ListingSearchType> * System.Threading.CancellationToken -> Azure.Pageable<Azure.Search.Documents.Indexes.Models.SearchIndexResponse>
Public Overridable Function GetIndexesWithSelectedProperties (Optional select As IEnumerable(Of String) = Nothing, Optional search As String = Nothing, Optional pageSize As Nullable(Of Integer) = Nothing, Optional searchType As Nullable(Of ListingSearchType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SearchIndexResponse)

Parameters

select
IEnumerable<String>

Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties.

search
String

A string used to narrow down the listing so that fewer results need to be paged through. If omitted or an empty string is passed, no narrowing is applied.

pageSize
Nullable<Int32>

The maximum number of items to return in a single page. The server enforces a maximum; if omitted, the server determines a suitable default.

searchType
Nullable<ListingSearchType>

Specifies how the search parameter is interpreted. Currently only 'prefix' is supported.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

Service returned a non-success status code.

Applies to

GetIndexesWithSelectedProperties(IEnumerable<String>, String, Nullable<Int32>, String, RequestContext)

Source:
SearchIndexClient.cs

[Protocol Method] Lists all indexes available for a search service.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Pageable<BinaryData> GetIndexesWithSelectedProperties(System.Collections.Generic.IEnumerable<string> select, string search, int? pageSize, string searchType, Azure.RequestContext context);
abstract member GetIndexesWithSelectedProperties : seq<string> * string * Nullable<int> * string * Azure.RequestContext -> Azure.Pageable<BinaryData>
override this.GetIndexesWithSelectedProperties : seq<string> * string * Nullable<int> * string * Azure.RequestContext -> Azure.Pageable<BinaryData>
Public Overridable Function GetIndexesWithSelectedProperties (select As IEnumerable(Of String), search As String, pageSize As Nullable(Of Integer), searchType As String, context As RequestContext) As Pageable(Of BinaryData)

Parameters

select
IEnumerable<String>

Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties.

search
String

A string used to narrow down the listing so that fewer results need to be paged through. If omitted or an empty string is passed, no narrowing is applied.

pageSize
Nullable<Int32>

The maximum number of items to return in a single page. The server enforces a maximum; if omitted, the server determines a suitable default.

searchType
String

Specifies how the search parameter is interpreted. Currently only 'prefix' is supported.

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

Service returned a non-success status code.

Applies to