Uses of Class
com.azure.search.documents.models.SearchOptions
Packages that use SearchOptions
Package
Description
Azure AI Search, formerly known as "Azure AI Search", provides secure information retrieval at scale over
user-owned content in traditional and conversational search applications.
Package containing the data models for SearchIndexClient.
-
Uses of SearchOptions in com.azure.search.documents
Methods in com.azure.search.documents with parameters of type SearchOptionsModifier and TypeMethodDescriptionSearchAsyncClient.search(String searchText, SearchOptions searchOptions) Searches for documents in the Azure AI Search index.SearchClient.search(String searchText, SearchOptions searchOptions, com.azure.core.util.Context context) Searches for documents in the Azure AI Search index. -
Uses of SearchOptions in com.azure.search.documents.models
Methods in com.azure.search.documents.models that return SearchOptionsModifier and TypeMethodDescriptionSearchOptions.setDebug(QueryDebugMode debug) Set the debug property: Enables a debugging tool that can be used to further explore your search results.Set the facets property: The list of facet expressions to apply to the search query.Set the filter property: The OData $filter expression to apply to the search query.SearchOptions.setHighlightFields(String... highlightFields) Set the highlightFields property: The list of field names to use for hit highlights.SearchOptions.setHighlightPostTag(String highlightPostTag) Set the highlightPostTag property: A string tag that is appended to hit highlights.SearchOptions.setHighlightPreTag(String highlightPreTag) Set the highlightPreTag property: A string tag that is prepended to hit highlights.SearchOptions.setIncludeTotalCount(Boolean includeTotalCount) Set the includeTotalCount property: A value that specifies whether to fetch the total count of results.SearchOptions.setMinimumCoverage(Double minimumCoverage) Set the minimumCoverage property: A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success.SearchOptions.setOrderBy(String... orderBy) Set the orderBy property: The list of OData $orderby expressions by which to sort the results.SearchOptions.setQueryLanguage(QueryLanguage queryLanguage) Set the queryLanguage property: The language of the query.SearchOptions.setQueryType(QueryType queryType) Set the queryType property: A value that specifies the syntax of the search query.SearchOptions.setScoringParameters(ScoringParameter... scoringParameters) Set the scoringParameters property: The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values.SearchOptions.setScoringProfile(String scoringProfile) Set the scoringProfile property: The name of a scoring profile to evaluate match scores for matching documents in order to sort the results.SearchOptions.setScoringStatistics(ScoringStatistics scoringStatistics) Set the scoringStatistics property: A value that specifies whether we want to calculate scoring statistics (such as document frequency) globally for more consistent scoring, or locally, for lower latency.SearchOptions.setSearchFields(String... searchFields) Set the searchFields property: The list of field names to which to scope the full-text search.SearchOptions.setSearchMode(SearchMode searchMode) Set the searchMode property: A value that specifies whether any or all of the search terms must be matched in order to count the document as a match.Set the select property: The list of fields to retrieve.SearchOptions.setSemanticSearchOptions(SemanticSearchOptions semanticSearchOptions) Sets the semantic search options.SearchOptions.setSessionId(String sessionId) Set the sessionId property: A value to be used to create a sticky session, which can help to get more consistent results.Set the skip property: The number of search results to skip.SearchOptions.setSpeller(QuerySpellerType speller) Set the speller property: Improve search recall by spell-correcting individual search query terms.Set the top property: The number of search results to retrieve.SearchOptions.setVectorSearchOptions(VectorSearchOptions vectorSearchOptions) Sets the vector search options for vector and hybrid search queries.