| Package | Description |
|---|---|
| com.azure.search |
Package containing the classes for SearchIndexRestClient.
|
| com.azure.search.models |
Package containing the data models for SearchServiceRestClient.
|
| Modifier and Type | Method and Description |
|---|---|
SearchPagedFlux |
SearchIndexAsyncClient.search(String searchText,
SearchOptions searchOptions,
RequestOptions requestOptions)
Searches for documents in the Azure Cognitive Search index.
|
SearchPagedIterable |
SearchIndexClient.search(String searchText,
SearchOptions searchOptions,
RequestOptions requestOptions,
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.setIncludeTotalResultCount(Boolean includeTotalResultCount)
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(String... 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.