Uses of Class
com.azure.search.documents.models.SemanticSearchOptions
Packages that use SemanticSearchOptions
Package
Description
Package containing the data models for SearchIndexClient.
-
Uses of SemanticSearchOptions in com.azure.search.documents.models
Methods in com.azure.search.documents.models that return SemanticSearchOptionsModifier and TypeMethodDescriptionSearchOptions.getSemanticSearchOptions()Gets the semantic search options.SemanticSearchOptions.setErrorMode(SemanticErrorMode errorMode) Set the semanticErrorHandling property: Allows the user to choose whether a semantic call should fail completely, or to return partial results.SemanticSearchOptions.setMaxWaitDuration(Duration maxWaitDuration) Set the semanticMaxWaitDuration property: Allows the user to set an upper bound on the amount of time it takes for semantic enrichment to finish processing before the request fails.SemanticSearchOptions.setQueryAnswer(QueryAnswer queryAnswer) Set the answers property: This parameter is only valid if the query type is 'semantic'.SemanticSearchOptions.setQueryCaption(QueryCaption queryCaption) Set the query caption property: This parameter is only valid if the query type is 'semantic'.SemanticSearchOptions.setQueryRewrites(QueryRewrites queryRewrites) Set the queryRewrites property: When QueryRewrites is set to `generative`, the query terms are sent to a generate model which will produce 10 (default) rewrites to help increase the recall of the request.SemanticSearchOptions.setSemanticConfigurationName(String semanticConfigurationName) Set the semanticConfigurationName property: The name of the semantic configuration that lists which fields should be used for semantic ranking, captions, highlights, and answers.SemanticSearchOptions.setSemanticQuery(String semanticQuery) Set the semanticQuery property: Allows setting a separate search query that will be solely used for semantic reranking, semantic captions and semantic answers.Methods in com.azure.search.documents.models with parameters of type SemanticSearchOptionsModifier and TypeMethodDescriptionSearchOptions.setSemanticSearchOptions(SemanticSearchOptions semanticSearchOptions) Sets the semantic search options.