Uses of Class
com.azure.search.documents.indexes.models.SearchIndex
Package
Description
Package containing classes for creating
SearchIndexClient
,
SearchIndexAsyncClient
,
SearchIndexerClient
, or
SearchIndexerAsyncClient
used to perform resource management operations
on an Azure Cognitive Search service.Package containing classes for SearchServiceClient.
-
Uses of SearchIndex in com.azure.search.documents.indexes
Modifier and TypeMethodDescriptionSearchIndexClient.createIndex
(SearchIndex index) Creates a new Azure Cognitive Search indexSearchIndexClient.createOrUpdateIndex
(SearchIndex index) Creates a new Azure Cognitive Search index or updates an index if it already exists.Retrieves an index definition from the Azure Cognitive Search.Modifier and TypeMethodDescriptionSearchIndexAsyncClient.createIndex
(SearchIndex index) Creates a new Azure Cognitive Search index.Mono<com.azure.core.http.rest.Response<SearchIndex>>
SearchIndexAsyncClient.createIndexWithResponse
(SearchIndex index) Creates a new Azure Cognitive Search index.com.azure.core.http.rest.Response<SearchIndex>
SearchIndexClient.createIndexWithResponse
(SearchIndex index, com.azure.core.util.Context context) Creates a new Azure Cognitive Search indexSearchIndexAsyncClient.createOrUpdateIndex
(SearchIndex index) Creates a new Azure Cognitive Search index or updates an index if it already exists.Mono<com.azure.core.http.rest.Response<SearchIndex>>
SearchIndexAsyncClient.createOrUpdateIndexWithResponse
(SearchIndex index, boolean allowIndexDowntime, boolean onlyIfUnchanged) Creates a new Azure Cognitive Search index or updates an index if it already exists.com.azure.core.http.rest.Response<SearchIndex>
SearchIndexClient.createOrUpdateIndexWithResponse
(SearchIndex index, boolean allowIndexDowntime, boolean onlyIfUnchanged, com.azure.core.util.Context context) Creates a new Azure Cognitive Search index or updates an index if it already exists.Retrieves an index definition from the Azure Cognitive Search.Mono<com.azure.core.http.rest.Response<SearchIndex>>
SearchIndexAsyncClient.getIndexWithResponse
(String indexName) Retrieves an index definition from the Azure Cognitive Search.com.azure.core.http.rest.Response<SearchIndex>
SearchIndexClient.getIndexWithResponse
(String indexName, com.azure.core.util.Context context) Retrieves an index definition from the Azure Cognitive Search.com.azure.core.http.rest.PagedFlux<SearchIndex>
SearchIndexAsyncClient.listIndexes()
Lists all indexes available for an Azure Cognitive Search service.com.azure.core.http.rest.PagedIterable<SearchIndex>
SearchIndexClient.listIndexes()
Lists all indexes available for an Azure Cognitive Search service.com.azure.core.http.rest.PagedIterable<SearchIndex>
SearchIndexClient.listIndexes
(com.azure.core.util.Context context) Lists all indexes available for an Azure Cognitive Search service.Modifier and TypeMethodDescriptionSearchIndexAsyncClient.createIndex
(SearchIndex index) Creates a new Azure Cognitive Search index.SearchIndexClient.createIndex
(SearchIndex index) Creates a new Azure Cognitive Search indexMono<com.azure.core.http.rest.Response<SearchIndex>>
SearchIndexAsyncClient.createIndexWithResponse
(SearchIndex index) Creates a new Azure Cognitive Search index.com.azure.core.http.rest.Response<SearchIndex>
SearchIndexClient.createIndexWithResponse
(SearchIndex index, com.azure.core.util.Context context) Creates a new Azure Cognitive Search indexSearchIndexAsyncClient.createOrUpdateIndex
(SearchIndex index) Creates a new Azure Cognitive Search index or updates an index if it already exists.SearchIndexClient.createOrUpdateIndex
(SearchIndex index) Creates a new Azure Cognitive Search index or updates an index if it already exists.Mono<com.azure.core.http.rest.Response<SearchIndex>>
SearchIndexAsyncClient.createOrUpdateIndexWithResponse
(SearchIndex index, boolean allowIndexDowntime, boolean onlyIfUnchanged) Creates a new Azure Cognitive Search index or updates an index if it already exists.com.azure.core.http.rest.Response<SearchIndex>
SearchIndexClient.createOrUpdateIndexWithResponse
(SearchIndex index, boolean allowIndexDowntime, boolean onlyIfUnchanged, com.azure.core.util.Context context) Creates a new Azure Cognitive Search index or updates an index if it already exists.SearchIndexAsyncClient.deleteIndexWithResponse
(SearchIndex index, boolean onlyIfUnchanged) Deletes an Azure Cognitive Search index and all the documents it contains.com.azure.core.http.rest.Response<Void>
SearchIndexClient.deleteIndexWithResponse
(SearchIndex index, boolean onlyIfUnchanged, com.azure.core.util.Context context) Deletes an Azure Cognitive Search index and all the documents it contains. -
Uses of SearchIndex in com.azure.search.documents.indexes.models
Modifier and TypeMethodDescriptionSearchIndex.setAnalyzers
(LexicalAnalyzer... analyzers) Set the analyzers property: The analyzers for the index.SearchIndex.setAnalyzers
(List<LexicalAnalyzer> analyzers) Set the analyzers property: The analyzers for the index.SearchIndex.setCharFilters
(CharFilter... charFilters) Set the charFilters property: The character filters for the index.SearchIndex.setCharFilters
(List<CharFilter> charFilters) Set the charFilters property: The character filters for the index.SearchIndex.setCorsOptions
(CorsOptions corsOptions) Set the corsOptions property: Options to control Cross-Origin Resource Sharing (CORS) for the index.SearchIndex.setDefaultScoringProfile
(String defaultScoringProfile) Set the defaultScoringProfile property: The name of the scoring profile to use if none is specified in the query.SearchIndex.setEncryptionKey
(SearchResourceEncryptionKey encryptionKey) Set the encryptionKey property: A description of an encryption key that you create in Azure Key Vault.Set the eTag property: The ETag of the index.SearchIndex.setFields
(SearchField... fields) Set the fields property: The fields of the index.SearchIndex.setFields
(List<SearchField> fields) Set the fields property: The fields of the index.SearchIndex.setNormalizers
(LexicalNormalizer... normalizers) Set the normalizers property: The normalizers for the index.SearchIndex.setNormalizers
(List<LexicalNormalizer> normalizers) Set the normalizers property: The normalizers for the index.SearchIndex.setScoringProfiles
(ScoringProfile... scoringProfiles) Set the scoringProfiles property: The scoring profiles for the index.SearchIndex.setScoringProfiles
(List<ScoringProfile> scoringProfiles) Set the scoringProfiles property: The scoring profiles for the index.SearchIndex.setSemanticSettings
(SemanticSettings semanticSettings) Set the semanticSettings property: Defines parameters for a search index that influence semantic capabilities.SearchIndex.setSimilarity
(SimilarityAlgorithm similarity) Set the similarity property: The type of similarity algorithm to be used when scoring and ranking the documents matching a search query.SearchIndex.setSuggesters
(SearchSuggester... suggesters) Set the suggesters property: The suggesters for the index.SearchIndex.setSuggesters
(List<SearchSuggester> suggesters) Set the suggesters property: The suggesters for the index.SearchIndex.setTokenFilters
(TokenFilter... tokenFilters) Set the tokenFilters property: The token filters for the index.SearchIndex.setTokenFilters
(List<TokenFilter> tokenFilters) Set the tokenFilters property: The token filters for the index.SearchIndex.setTokenizers
(LexicalTokenizer... tokenizers) Set the tokenizers property: The tokenizers for the index.SearchIndex.setTokenizers
(List<LexicalTokenizer> tokenizers) Set the tokenizers property: The tokenizers for the index.