SearchIndexerAsyncClient Class
- java.
lang. Object - com.
azure. search. documents. indexes. SearchIndexerAsyncClient
- com.
public final class SearchIndexerAsyncClient
Initializes a new instance of the asynchronous SearchIndexerClient type.
Method Summary
Methods inherited from java.lang.Object
Method Details
createDataSourceConnection
public Mono<SearchIndexerDataSourceConnection> createDataSourceConnection(SearchIndexerDataSourceConnection dataSourceConnection)
Creates a new datasource.
Parameters:
Returns:
createDataSourceConnectionWithResponse
public Mono<Response<SearchIndexerDataSourceConnection>> createDataSourceConnectionWithResponse(SearchIndexerDataSourceConnection dataSourceConnection, RequestOptions requestOptions)
Creates a new datasource.
Parameters:
Returns:
createIndexer
public Mono<SearchIndexer> createIndexer(SearchIndexer indexer)
Creates a new indexer.
Parameters:
Returns:
createIndexerWithResponse
public Mono<Response<SearchIndexer>> createIndexerWithResponse(SearchIndexer indexer, RequestOptions requestOptions)
Creates a new indexer.
Parameters:
Returns:
createOrUpdateDataSourceConnection
public Mono<SearchIndexerDataSourceConnection> createOrUpdateDataSourceConnection(SearchIndexerDataSourceConnection dataSource)
Creates a new datasource or updates a datasource if it already exists.
Parameters:
Returns:
createOrUpdateDataSourceConnectionWithResponse
public Mono<Response<SearchIndexerDataSourceConnection>> createOrUpdateDataSourceConnectionWithResponse(SearchIndexerDataSourceConnection dataSource, RequestOptions requestOptions)
Creates a new datasource or updates a datasource if it already exists.
Query Parameters
| ----------------------- | ------- | -------- | --------------------------------- |
| Name | Type | Required | Description |
| ignoreResetRequirements | Boolean | No | Ignores cache reset requirements. |
You can add these to a request with RequestOptions#addQueryParam
Header Parameters
| ------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Name | Type | Required | Description |
| If-Match | String | No | Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. |
| If-None-Match | String | No | Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. |
You can add these to a request with RequestOptions#addHeader
Parameters:
Returns:
createOrUpdateIndexer
public Mono<SearchIndexer> createOrUpdateIndexer(SearchIndexer indexer)
Creates a new indexer or updates an indexer if it already exists.
Parameters:
Returns:
createOrUpdateIndexerWithResponse
public Mono<Response<SearchIndexer>> createOrUpdateIndexerWithResponse(SearchIndexer indexer, RequestOptions requestOptions)
Creates a new indexer or updates an indexer if it already exists.
Query Parameters
| --------------------------------------- | ------- | -------- | --------------------------------------------- |
| Name | Type | Required | Description |
| ignoreResetRequirements | Boolean | No | Ignores cache reset requirements. |
| disableCacheReprocessingChangeDetection | Boolean | No | Disables cache reprocessing change detection. |
You can add these to a request with RequestOptions#addQueryParam
Header Parameters
| ------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Name | Type | Required | Description |
| If-Match | String | No | Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. |
| If-None-Match | String | No | Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. |
You can add these to a request with RequestOptions#addHeader
Parameters:
Returns:
createOrUpdateSkillset
public Mono<SearchIndexerSkillset> createOrUpdateSkillset(SearchIndexerSkillset skillset)
Creates a new skillset in a search service or updates the skillset if it already exists.
Parameters:
Returns:
createOrUpdateSkillsetWithResponse
public Mono<Response<SearchIndexerSkillset>> createOrUpdateSkillsetWithResponse(SearchIndexerSkillset skillset, RequestOptions requestOptions)
Creates a new skillset in a search service or updates the skillset if it already exists.
Query Parameters
| --------------------------------------- | ------- | -------- | --------------------------------------------- |
| Name | Type | Required | Description |
| ignoreResetRequirements | Boolean | No | Ignores cache reset requirements. |
| disableCacheReprocessingChangeDetection | Boolean | No | Disables cache reprocessing change detection. |
You can add these to a request with RequestOptions#addQueryParam
Header Parameters
| ------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Name | Type | Required | Description |
| If-Match | String | No | Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. |
| If-None-Match | String | No | Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. |
You can add these to a request with RequestOptions#addHeader
Parameters:
Returns:
createSkillset
public Mono<SearchIndexerSkillset> createSkillset(SearchIndexerSkillset skillset)
Creates a new skillset in a search service.
Parameters:
Returns:
createSkillsetWithResponse
public Mono<Response<SearchIndexerSkillset>> createSkillsetWithResponse(SearchIndexerSkillset skillset, RequestOptions requestOptions)
Creates a new skillset in a search service.
Parameters:
Returns:
deleteDataSourceConnection
public Mono<Void> deleteDataSourceConnection(String name)
Deletes a datasource.
Parameters:
Returns:
deleteDataSourceConnection
public Mono<Void> deleteDataSourceConnection(String name, MatchConditions matchConditions)
Deletes a datasource.
Parameters:
Returns:
deleteDataSourceConnectionWithResponse
public Mono<Response<Void>> deleteDataSourceConnectionWithResponse(String name, RequestOptions requestOptions)
Deletes a datasource.
Header Parameters
| ------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Name | Type | Required | Description |
| If-Match | String | No | Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. |
| If-None-Match | String | No | Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. |
You can add these to a request with RequestOptions#addHeader
Parameters:
Returns:
deleteIndexer
public Mono<Void> deleteIndexer(String name)
Deletes an indexer.
Parameters:
Returns:
deleteIndexer
public Mono<Void> deleteIndexer(String name, MatchConditions matchConditions)
Deletes an indexer.
Parameters:
Returns:
deleteIndexerWithResponse
public Mono<Response<Void>> deleteIndexerWithResponse(String name, RequestOptions requestOptions)
Deletes an indexer.
Header Parameters
| ------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Name | Type | Required | Description |
| If-Match | String | No | Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. |
| If-None-Match | String | No | Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. |
You can add these to a request with RequestOptions#addHeader
Parameters:
Returns:
deleteSkillset
public Mono<Void> deleteSkillset(String name)
Deletes a skillset in a search service.
Parameters:
Returns:
deleteSkillset
public Mono<Void> deleteSkillset(String name, MatchConditions matchConditions)
Deletes a skillset in a search service.
Parameters:
Returns:
deleteSkillsetWithResponse
public Mono<Response<Void>> deleteSkillsetWithResponse(String name, RequestOptions requestOptions)
Deletes a skillset in a search service.
Header Parameters
| ------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Name | Type | Required | Description |
| If-Match | String | No | Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. |
| If-None-Match | String | No | Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. |
You can add these to a request with RequestOptions#addHeader
Parameters:
Returns:
getDataSourceConnection
public Mono<SearchIndexerDataSourceConnection> getDataSourceConnection(String name)
Retrieves a datasource definition.
Parameters:
Returns:
getDataSourceConnectionWithResponse
public Mono<Response<SearchIndexerDataSourceConnection>> getDataSourceConnectionWithResponse(String name, RequestOptions requestOptions)
Retrieves a datasource definition.
Parameters:
Returns:
getEndpoint
public String getEndpoint()
Gets the endpoint used to communicate with the Azure AI Search service.
Returns:
getIndexer
public Mono<SearchIndexer> getIndexer(String name)
Retrieves an indexer definition.
Parameters:
Returns:
getIndexerStatus
public Mono<SearchIndexerStatus> getIndexerStatus(String name)
Returns the current status and execution history of an indexer.
Parameters:
Returns:
getIndexerStatusWithResponse
public Mono<Response<SearchIndexerStatus>> getIndexerStatusWithResponse(String name, RequestOptions requestOptions)
Returns the current status and execution history of an indexer.
Parameters:
Returns:
getIndexerWithResponse
public Mono<Response<SearchIndexer>> getIndexerWithResponse(String name, RequestOptions requestOptions)
Retrieves an indexer definition.
Parameters:
Returns:
getServiceVersion
public SearchServiceVersion getServiceVersion()
Gets the SearchServiceVersion used to communicate with the Azure AI Search service.
Returns:
getSkillset
public Mono<SearchIndexerSkillset> getSkillset(String name)
Retrieves a skillset in a search service.
Parameters:
Returns:
getSkillsetWithResponse
public Mono<Response<SearchIndexerSkillset>> getSkillsetWithResponse(String name, RequestOptions requestOptions)
Retrieves a skillset in a search service.
Parameters:
Returns:
listDataSourceConnectionNames
public PagedFlux<String> listDataSourceConnectionNames()
Lists the names of all datasources available for a search service.
Returns:
listDataSourceConnections
public PagedFlux<SearchIndexerDataSourceConnection> listDataSourceConnections()
Lists all datasources available for a search service.
Returns:
listIndexerNames
public PagedFlux<String> listIndexerNames()
Lists the names of all indexers available for a search service.
Returns:
listIndexers
public PagedFlux<SearchIndexer> listIndexers()
Lists all indexers available for a search service.
Returns:
listSkillsetNames
public PagedFlux<String> listSkillsetNames()
Lists the names of all skillsets in a search service.
Returns:
listSkillsets
public PagedFlux<SearchIndexerSkillset> listSkillsets()
List all skillsets in a search service.
Returns:
resetIndexer
public Mono<Void> resetIndexer(String name)
Resets the change tracking state associated with an indexer.
Parameters:
Returns:
resetIndexerWithResponse
public Mono<Response<Void>> resetIndexerWithResponse(String name, RequestOptions requestOptions)
Resets the change tracking state associated with an indexer.
Parameters:
Returns:
runIndexer
public Mono<Void> runIndexer(String name)
Runs an indexer on-demand.
Parameters:
Returns:
runIndexerWithResponse
public Mono<Response<Void>> runIndexerWithResponse(String name, RequestOptions requestOptions)
Runs an indexer on-demand.
Parameters:
Returns: