Package version:
Creates an instance of SearchIndexClient.
Example usage:
import { SearchIndexClient, AzureKeyCredential } from "@azure/search-documents";
const indexClient = new SearchIndexClient("<endpoint>", new AzureKeyCredential("<apiKey>"));
The endpoint of the search service
Used to authenticate requests to the service.
Used to configure the Search Index client.
ReadonlyapiThe API version to use when communicating with the service.
ReadonlyendpointThe endpoint of the search service
ReadonlypipelineA reference to the internal HTTP pipeline for use with raw requests
ReadonlyserviceThe API version to use when communicating with the service.
Calls an analyzer or tokenizer manually on provided text.
The name of the index that contains the field to analyze
Additional arguments
Creates a new search alias.
The definition of the alias to create.
The options parameters.
Creates a new index.
The information describing the index to be created.
Additional optional arguments.
Creates a new knowledgebase.
definition of the knowledgebase to create.
Optionaloptions: CreateKnowledgeBaseOptionsoptions parameters.
Creates a new knowledge source.
The definition of the knowledge source to create.
Optionaloptions: CreateKnowledgeSourceOptionsThe options parameters.
Creates a new search alias or updates an alias if it already exists.
The definition of the alias to create or update.
The options parameters.
Creates a new index or modifies an existing one.
The information describing the index to be created.
Additional optional arguments.
Creates a new knowledge base or updates a knowledge base if it already exists.
name of the knowledge base to create or update.
definition of the knowledge base to create or update.
Optionaloptions: CreateOrUpdateKnowledgeBaseOptionsoptions parameters.
Optionaloptions: CreateOrUpdateKnowledgeSourceOptionsCreates a new SynonymMap or modifies an existing one.
The information describing the SynonymMap to be created.
Additional optional arguments.
Creates a new SynonymMap in a search service.
The synonymMap definition to create in a search service.
Additional optional arguments.
Deletes a search alias and its associated mapping to an index. This operation is permanent, with no recovery option. The mapped index is untouched by this operation.
Name of the alias to delete.
Optionaloptions: DeleteAliasOptionsAdditional optional arguments.
Deletes a search alias and its associated mapping to an index. This operation is permanent, with no recovery option. The mapped index is untouched by this operation.
The alias to delete.
Optionaloptions: DeleteAliasOptionsAdditional optional arguments.
Deletes an existing index.
Name of the index to delete.
Optionaloptions: DeleteIndexOptionsAdditional optional arguments.
Deletes an existing index.
The index to delete.
Optionaloptions: DeleteIndexOptionsAdditional optional arguments.
Deletes an existing knowledge base.
name of the knowledge base to delete.
Optionaloptions: DeleteKnowledgeBaseOptionsoptions parameters.
Deletes an existing knowledge base.
the knowledge base to delete.
Optionaloptions: DeleteKnowledgeBaseOptionsoptions parameters.
Deletes an existing source.
name of the knowledge source to delete.
Optionaloptions: DeleteKnowledgeSourceOptionsoptions parameters.
Deletes an existing source.
the knowledge source to delete.
Optionaloptions: DeleteKnowledgeSourceOptionsoptions parameters.
Deletes an existing SynonymMap.
Additional optional arguments.
Retrieves an alias definition.
The name of the alias to retrieve.
The options parameters.
Retrieves information about an index.
The name of the index.
Additional optional arguments.
Retrieves statistics about an index, such as the count of documents and the size of index storage.
The name of the index.
Additional optional arguments.
Retrieves a list of existing indexes in the service.
Options to the list index operation.
Retrieves a knowledge base definition.
name of the knowledge base to retrieve.
Optionaloptions: GetKnowledgeBaseOptionsoptions parameters.
Retrieves the KnowledgeRetrievalClient corresponding to this SearchIndexClient
Name of the knowledge base
Optionaloptions: KnowledgeRetrievalClientOptionsKnowledgeRetrievalClient Options
Retrieves a knowledge source definition.
The name of the knowledge source to retrieve.
Optionaloptions: GetKnowledgeSourceOptionsThe options parameters.
Returns the current status and synchronization history of a knowledge source.
The name of the knowledge source for which to retrieve status.
Optionaloptions: GetKnowledgeSourceStatusOptionsThe options parameters.
Retrieves the SearchClient corresponding to this SearchIndexClient
Name of the index
Optionaloptions: SearchClientOptionsSearchClient Options
Retrieves statistics about the service, such as the count of documents, index, etc.
Additional optional arguments.
Retrieves information about a SynonymMap.
The name of the SynonymMap.
Additional optional arguments.
Lists all aliases available for a search service.
The options parameters.
Retrieves a list of existing indexes in the service.
Options to the list index operation.
Retrieves a list of existing KnowledgeBases in the service.
Options to the list knowledge bases operation.
Retrieves a list of existing KnowledgeSources in the service.
Options to the list knowledge sources operation.
Retrieves a list of existing SynonymMaps in the service.
Options to the list SynonymMaps operation.
Class to perform operations to manage (create, update, list/delete) indexes, & synonymmaps.