| Package | Description |
|---|---|
| com.azure.search.documents |
Package containing classes for creating
SearchClient or
SearchAsyncClient used to perform document management, autocomplete, search, or
suggestion operations using an Azure Cognitive Search service index. |
| com.azure.search.documents.models |
Package containing classes used for document management, autocomplete, search, or suggestion operations that are
being sent-to and received-from an Azure Cognitive Search service index.
|
| Modifier and Type | Method and Description |
|---|---|
SearchPagedFlux |
SearchAsyncClient.search(String searchText,
SearchOptions searchOptions)
Searches for documents in the Azure Cognitive Search index.
|
SearchPagedIterable |
SearchClient.search(String searchText,
SearchOptions searchOptions,
com.azure.core.util.Context context)
Searches for documents in the Azure Cognitive Search index.
|
| Modifier and Type | Method and Description |
|---|---|
SearchOptions |
SearchOptions.setFacets(String... facets)
Set the facets property: The list of facet expressions to apply to the
search query.
|
SearchOptions |
SearchOptions.setFilter(String filter)
Set the filter property: The OData $filter expression to apply to the
search query.
|
SearchOptions |
SearchOptions.setHighlightFields(String... highlightFields)
Set the highlightFields property: The list of field names to use for hit
highlights.
|
SearchOptions |
SearchOptions.setHighlightPostTag(String highlightPostTag)
Set the highlightPostTag property: A string tag that is appended to hit
highlights.
|
SearchOptions |
SearchOptions.setHighlightPreTag(String highlightPreTag)
Set the highlightPreTag property: A string tag that is prepended to hit
highlights.
|
SearchOptions |
SearchOptions.setIncludeTotalCount(Boolean includeTotalCount)
Set the includeTotalResultCount property: A value that specifies whether
to fetch the total count of results.
|
SearchOptions |
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 |
SearchOptions.setOrderBy(String... orderBy)
Set the orderBy property: The list of OData $orderby expressions by
which to sort the results.
|
SearchOptions |
SearchOptions.setQueryType(QueryType queryType)
Set the queryType property: A value that specifies the syntax of the
search query.
|
SearchOptions |
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 |
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 |
SearchOptions.setSearchFields(String... searchFields)
Set the searchFields property: The list of field names to which to scope
the full-text search.
|
SearchOptions |
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.
|
SearchOptions |
SearchOptions.setSelect(String... select)
Set the select property: The list of fields to retrieve.
|
SearchOptions |
SearchOptions.setSkip(Integer skip)
Set the skip property: The number of search results to skip.
|
SearchOptions |
SearchOptions.setTop(Integer top)
Set the top property: The number of search results to retrieve.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.