SearchIndexClient SearchIndexClient SearchIndexClient Class

Definition

Client that can be used to query an Azure Search index and upload, merge, or delete documents.

public class SearchIndexClient : Microsoft.Rest.ServiceClient<Microsoft.Azure.Search.SearchIndexClient>, IDisposable, Microsoft.Azure.Search.ISearchIndexClient, Microsoft.Rest.Azure.IAzureClient
type SearchIndexClient = class
    inherit ServiceClient<SearchIndexClient>
    interface ISearchIndexClient
    interface IDisposable
    interface IAzureClient
Public Class SearchIndexClient
Inherits ServiceClient(Of SearchIndexClient)
Implements IAzureClient, IDisposable, ISearchIndexClient
Inheritance
Microsoft.Rest.ServiceClientMicrosoft.Rest.ServiceClientMicrosoft.Rest.ServiceClient
SearchIndexClientSearchIndexClientSearchIndexClient
Implements
ISearchIndexClientISearchIndexClientISearchIndexClient Microsoft.Rest.Azure.IAzureClientMicrosoft.Rest.Azure.IAzureClientMicrosoft.Rest.Azure.IAzureClient IDisposableIDisposableIDisposable

Constructors

SearchIndexClient(DelegatingHandler[]) SearchIndexClient(DelegatingHandler[]) SearchIndexClient(DelegatingHandler[])

Initializes a new instance of the SearchIndexClient class.

SearchIndexClient(ServiceClientCredentials, DelegatingHandler[]) SearchIndexClient(ServiceClientCredentials, DelegatingHandler[]) SearchIndexClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the SearchIndexClient class.

SearchIndexClient(HttpClientHandler, DelegatingHandler[]) SearchIndexClient(HttpClientHandler, DelegatingHandler[]) SearchIndexClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the SearchIndexClient class.

SearchIndexClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[]) SearchIndexClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[]) SearchIndexClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the SearchIndexClient class.

SearchIndexClient(String, String, SearchCredentials) SearchIndexClient(String, String, SearchCredentials) SearchIndexClient(String, String, SearchCredentials)

Initializes a new instance of the SearchIndexClient class.

SearchIndexClient(String, String, SearchCredentials, HttpClientHandler, DelegatingHandler[]) SearchIndexClient(String, String, SearchCredentials, HttpClientHandler, DelegatingHandler[]) SearchIndexClient(String, String, SearchCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the SearchIndexClient class.

Properties

AcceptLanguage AcceptLanguage AcceptLanguage

Gets or sets the preferred language for the response.

ApiVersion ApiVersion ApiVersion

Client Api Version.

Credentials Credentials Credentials

Credentials needed for the client to connect to Azure.

DeserializationSettings DeserializationSettings DeserializationSettings

Gets or sets json deserialization settings.

Documents Documents Documents

Gets the IDocumentsOperations.

GenerateClientRequestId GenerateClientRequestId GenerateClientRequestId

When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.

IndexName IndexName IndexName

The name of the Azure Search index.

LongRunningOperationRetryTimeout LongRunningOperationRetryTimeout LongRunningOperationRetryTimeout

Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.

SearchCredentials SearchCredentials SearchCredentials

Gets the credentials used to authenticate to an Azure Search service. This can be either a query API key or an admin API key.

SearchDnsSuffix SearchDnsSuffix SearchDnsSuffix

The DNS suffix of the Azure Search service. The default is search.windows.net.

SearchServiceName SearchServiceName SearchServiceName

The name of the Azure Search service.

SerializationSettings SerializationSettings SerializationSettings

Gets or sets json serialization settings.

UseHttpGetForQueries UseHttpGetForQueries UseHttpGetForQueries

Indicates whether the index client should use HTTP GET for making Search and Suggest requests to the Azure Search REST API. The default is false, which indicates that HTTP POST will be used.

Methods

TargetDifferentIndex(String) TargetDifferentIndex(String) TargetDifferentIndex(String)

Changes the BaseUri of this client to target a different index in the same Azure Search service. This method is NOT thread-safe; You must guarantee that no other threads are using the client before calling it.

Applies to