Package | Description |
---|---|
com.azure.search.documents.models |
Package containing the data models for SearchServiceRestClient.
|
Modifier and Type | Method and Description |
---|---|
SearchRequest |
SearchRequest.setFacets(List<String> facets)
Set the facets property: The list of facet expressions to apply to the
search query.
|
SearchRequest |
SearchRequest.setFilter(String filter)
Set the filter property: The OData $filter expression to apply to the
search query.
|
SearchRequest |
SearchRequest.setHighlightFields(String highlightFields)
Set the highlightFields property: The comma-separated list of field
names to use for hit highlights.
|
SearchRequest |
SearchRequest.setHighlightPostTag(String highlightPostTag)
Set the highlightPostTag property: A string tag that is appended to hit
highlights.
|
SearchRequest |
SearchRequest.setHighlightPreTag(String highlightPreTag)
Set the highlightPreTag property: A string tag that is prepended to hit
highlights.
|
SearchRequest |
SearchRequest.setIncludeTotalResultCount(Boolean includeTotalResultCount)
Set the includeTotalResultCount property: A value that specifies whether
to fetch the total count of results.
|
SearchRequest |
SearchRequest.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.
|
SearchRequest |
SearchRequest.setOrderBy(String orderBy)
Set the orderBy property: The comma-separated list of OData $orderby
expressions by which to sort the results.
|
SearchRequest |
SearchRequest.setQueryType(QueryType queryType)
Set the queryType property: A value that specifies the syntax of the
search query.
|
SearchRequest |
SearchRequest.setScoringParameters(List<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.
|
SearchRequest |
SearchRequest.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.
|
SearchRequest |
SearchRequest.setSearchFields(String searchFields)
Set the searchFields property: The comma-separated list of field names
to which to scope the full-text search.
|
SearchRequest |
SearchRequest.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.
|
SearchRequest |
SearchRequest.setSearchText(String searchText)
Set the searchText property: A full-text search query expression; Use
"*" or omit this parameter to match all documents.
|
SearchRequest |
SearchRequest.setSelect(String select)
Set the select property: The comma-separated list of fields to retrieve.
|
SearchRequest |
SearchRequest.setSkip(Integer skip)
Set the skip property: The number of search results to skip.
|
SearchRequest |
SearchRequest.setTop(Integer top)
Set the top property: The number of search results to retrieve.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.