Uses of Class
com.azure.search.documents.models.QueryAnswer
Packages that use QueryAnswer
Package
Description
Package containing the data models for SearchIndexClient.
-
Uses of QueryAnswer in com.azure.search.documents.models
Methods in com.azure.search.documents.models that return QueryAnswerModifier and TypeMethodDescriptionSemanticSearchOptions.getQueryAnswer()Get the answers property: This parameter is only valid if the query type is 'semantic'.Sets the number of answers to generate.QueryAnswer.setMaxCharLength(Integer maxCharLength) Sets the maximum character length of answers.QueryAnswer.setThreshold(Double threshold) Sets the confidence threshold an answer must match to be included as an answer to the query of answers.Methods in com.azure.search.documents.models with parameters of type QueryAnswerModifier and TypeMethodDescriptionSemanticSearchOptions.setQueryAnswer(QueryAnswer queryAnswer) Set the answers property: This parameter is only valid if the query type is 'semantic'.