azure-docs-sdk-java/legacy/docs-ref-autogen/com.azure.search.models.Sea...

444 строки
34 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.models.SearchRequest"
fullName: "com.azure.search.models.SearchRequest"
name: "SearchRequest"
nameWithType: "SearchRequest"
summary: "Parameters for filtering, sorting, faceting, paging, and other search query behaviors."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **SearchRequest**"
constructors:
- uid: "com.azure.search.models.SearchRequest.SearchRequest()"
fullName: "com.azure.search.models.SearchRequest.SearchRequest()"
name: "SearchRequest()"
nameWithType: "SearchRequest.SearchRequest()"
syntax: "public SearchRequest()"
methods:
- uid: "com.azure.search.models.SearchRequest.getFacets()"
fullName: "com.azure.search.models.SearchRequest.getFacets()"
name: "getFacets()"
nameWithType: "SearchRequest.getFacets()"
summary: "Get the facets property: The list of facet expressions to apply to the search query."
syntax: "public List<String> getFacets()"
desc: "Get the facets property: The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs."
returns:
description: "the facets value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.search.models.SearchRequest.getFilter()"
fullName: "com.azure.search.models.SearchRequest.getFilter()"
name: "getFilter()"
nameWithType: "SearchRequest.getFilter()"
summary: "Get the filter property: The OData $filter expression to apply to the search query."
syntax: "public String getFilter()"
desc: "Get the filter property: The OData $filter expression to apply to the search query."
returns:
description: "the filter value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.SearchRequest.getHighlightFields()"
fullName: "com.azure.search.models.SearchRequest.getHighlightFields()"
name: "getHighlightFields()"
nameWithType: "SearchRequest.getHighlightFields()"
summary: "Get the highlight<wbr>Fields property: The comma-separated list of field names to use for hit highlights."
syntax: "public String getHighlightFields()"
desc: "Get the highlightFields property: The comma-separated list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting."
returns:
description: "the highlightFields value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.SearchRequest.getHighlightPostTag()"
fullName: "com.azure.search.models.SearchRequest.getHighlightPostTag()"
name: "getHighlightPostTag()"
nameWithType: "SearchRequest.getHighlightPostTag()"
summary: "Get the highlight<wbr>Post<wbr>Tag property: A string tag that is appended to hit highlights."
syntax: "public String getHighlightPostTag()"
desc: "Get the highlightPostTag property: A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>."
returns:
description: "the highlightPostTag value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.SearchRequest.getHighlightPreTag()"
fullName: "com.azure.search.models.SearchRequest.getHighlightPreTag()"
name: "getHighlightPreTag()"
nameWithType: "SearchRequest.getHighlightPreTag()"
summary: "Get the highlight<wbr>Pre<wbr>Tag property: A string tag that is prepended to hit highlights."
syntax: "public String getHighlightPreTag()"
desc: "Get the highlightPreTag property: A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>."
returns:
description: "the highlightPreTag value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.SearchRequest.getMinimumCoverage()"
fullName: "com.azure.search.models.SearchRequest.getMinimumCoverage()"
name: "getMinimumCoverage()"
nameWithType: "SearchRequest.getMinimumCoverage()"
summary: "Get the minimum<wbr>Coverage 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."
syntax: "public Double getMinimumCoverage()"
desc: "Get 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. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100."
returns:
description: "the minimumCoverage value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
- uid: "com.azure.search.models.SearchRequest.getOrderBy()"
fullName: "com.azure.search.models.SearchRequest.getOrderBy()"
name: "getOrderBy()"
nameWithType: "SearchRequest.getOrderBy()"
summary: "Get the order<wbr>By property: The comma-separated list of OData $orderby expressions by which to sort the results."
syntax: "public String getOrderBy()"
desc: "Get the orderBy property: The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses."
returns:
description: "the orderBy value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.SearchRequest.getQueryType()"
fullName: "com.azure.search.models.SearchRequest.getQueryType()"
name: "getQueryType()"
nameWithType: "SearchRequest.getQueryType()"
summary: "Get the query<wbr>Type property: A value that specifies the syntax of the search query."
syntax: "public QueryType getQueryType()"
desc: "Get the queryType property: A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax. Possible values include: 'simple', 'full'."
returns:
description: "the queryType value."
type: "<xref href=\"com.azure.search.models.QueryType?alt=com.azure.search.models.QueryType&text=QueryType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.getScoringParameters()"
fullName: "com.azure.search.models.SearchRequest.getScoringParameters()"
name: "getScoringParameters()"
nameWithType: "SearchRequest.getScoringParameters()"
summary: "Get the scoring<wbr>Parameters property: The list of parameter values to be used in scoring functions (for example, reference<wbr>Point<wbr>Parameter) using the format name-values."
syntax: "public List<String> getScoringParameters()"
desc: "Get the scoringParameters property: The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes)."
returns:
description: "the scoringParameters value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.search.models.SearchRequest.getScoringProfile()"
fullName: "com.azure.search.models.SearchRequest.getScoringProfile()"
name: "getScoringProfile()"
nameWithType: "SearchRequest.getScoringProfile()"
summary: "Get the scoring<wbr>Profile property: The name of a scoring profile to evaluate match scores for matching documents in order to sort the results."
syntax: "public String getScoringProfile()"
desc: "Get the scoringProfile property: The name of a scoring profile to evaluate match scores for matching documents in order to sort the results."
returns:
description: "the scoringProfile value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.SearchRequest.getSearchFields()"
fullName: "com.azure.search.models.SearchRequest.getSearchFields()"
name: "getSearchFields()"
nameWithType: "SearchRequest.getSearchFields()"
summary: "Get the search<wbr>Fields property: The comma-separated list of field names to which to scope the full-text search."
syntax: "public String getSearchFields()"
desc: "Get the searchFields property: The comma-separated list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter."
returns:
description: "the searchFields value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.SearchRequest.getSearchMode()"
fullName: "com.azure.search.models.SearchRequest.getSearchMode()"
name: "getSearchMode()"
nameWithType: "SearchRequest.getSearchMode()"
summary: "Get the search<wbr>Mode 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."
syntax: "public SearchMode getSearchMode()"
desc: "Get 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. Possible values include: 'any', 'all'."
returns:
description: "the searchMode value."
type: "<xref href=\"com.azure.search.models.SearchMode?alt=com.azure.search.models.SearchMode&text=SearchMode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.getSearchText()"
fullName: "com.azure.search.models.SearchRequest.getSearchText()"
name: "getSearchText()"
nameWithType: "SearchRequest.getSearchText()"
summary: "Get the search<wbr>Text property: A full-text search query expression; Use \"\\*\" or omit this parameter to match all documents."
syntax: "public String getSearchText()"
desc: "Get the searchText property: A full-text search query expression; Use \"\\*\" or omit this parameter to match all documents."
returns:
description: "the searchText value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.SearchRequest.getSelect()"
fullName: "com.azure.search.models.SearchRequest.getSelect()"
name: "getSelect()"
nameWithType: "SearchRequest.getSelect()"
summary: "Get the select property: The comma-separated list of fields to retrieve."
syntax: "public String getSelect()"
desc: "Get the select property: The comma-separated list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included."
returns:
description: "the select value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.SearchRequest.getSkip()"
fullName: "com.azure.search.models.SearchRequest.getSkip()"
name: "getSkip()"
nameWithType: "SearchRequest.getSkip()"
summary: "Get the skip property: The number of search results to skip."
syntax: "public Integer getSkip()"
desc: "Get the skip property: The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use skip due to this limitation, consider using orderby on a totally-ordered key and filter with a range query instead."
returns:
description: "the skip value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.search.models.SearchRequest.getTop()"
fullName: "com.azure.search.models.SearchRequest.getTop()"
name: "getTop()"
nameWithType: "SearchRequest.getTop()"
summary: "Get the top property: The number of search results to retrieve."
syntax: "public Integer getTop()"
desc: "Get the top property: The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results."
returns:
description: "the top value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.search.models.SearchRequest.isIncludeTotalResultCount()"
fullName: "com.azure.search.models.SearchRequest.isIncludeTotalResultCount()"
name: "isIncludeTotalResultCount()"
nameWithType: "SearchRequest.isIncludeTotalResultCount()"
summary: "Get the include<wbr>Total<wbr>Result<wbr>Count property: A value that specifies whether to fetch the total count of results."
syntax: "public Boolean isIncludeTotalResultCount()"
desc: "Get the includeTotalResultCount property: A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation."
returns:
description: "the includeTotalResultCount value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.search.models.SearchRequest.setFacets(java.util.List<java.lang.String>)"
fullName: "com.azure.search.models.SearchRequest.setFacets(List<String> facets)"
name: "setFacets(List<String> facets)"
nameWithType: "SearchRequest.setFacets(List<String> facets)"
summary: "Set the facets property: The list of facet expressions to apply to the search query."
parameters:
- description: "the facets value to set."
name: "facets"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public SearchRequest setFacets(List<String> facets)"
desc: "Set the facets property: The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setFilter(java.lang.String)"
fullName: "com.azure.search.models.SearchRequest.setFilter(String filter)"
name: "setFilter(String filter)"
nameWithType: "SearchRequest.setFilter(String filter)"
summary: "Set the filter property: The OData $filter expression to apply to the search query."
parameters:
- description: "the filter value to set."
name: "filter"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SearchRequest setFilter(String filter)"
desc: "Set the filter property: The OData $filter expression to apply to the search query."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setHighlightFields(java.lang.String)"
fullName: "com.azure.search.models.SearchRequest.setHighlightFields(String highlightFields)"
name: "setHighlightFields(String highlightFields)"
nameWithType: "SearchRequest.setHighlightFields(String highlightFields)"
summary: "Set the highlight<wbr>Fields property: The comma-separated list of field names to use for hit highlights."
parameters:
- description: "the highlightFields value to set."
name: "highlightFields"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SearchRequest setHighlightFields(String highlightFields)"
desc: "Set the highlightFields property: The comma-separated list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setHighlightPostTag(java.lang.String)"
fullName: "com.azure.search.models.SearchRequest.setHighlightPostTag(String highlightPostTag)"
name: "setHighlightPostTag(String highlightPostTag)"
nameWithType: "SearchRequest.setHighlightPostTag(String highlightPostTag)"
summary: "Set the highlight<wbr>Post<wbr>Tag property: A string tag that is appended to hit highlights."
parameters:
- description: "the highlightPostTag value to set."
name: "highlightPostTag"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SearchRequest setHighlightPostTag(String highlightPostTag)"
desc: "Set the highlightPostTag property: A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setHighlightPreTag(java.lang.String)"
fullName: "com.azure.search.models.SearchRequest.setHighlightPreTag(String highlightPreTag)"
name: "setHighlightPreTag(String highlightPreTag)"
nameWithType: "SearchRequest.setHighlightPreTag(String highlightPreTag)"
summary: "Set the highlight<wbr>Pre<wbr>Tag property: A string tag that is prepended to hit highlights."
parameters:
- description: "the highlightPreTag value to set."
name: "highlightPreTag"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SearchRequest setHighlightPreTag(String highlightPreTag)"
desc: "Set the highlightPreTag property: A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setIncludeTotalResultCount(java.lang.Boolean)"
fullName: "com.azure.search.models.SearchRequest.setIncludeTotalResultCount(Boolean includeTotalResultCount)"
name: "setIncludeTotalResultCount(Boolean includeTotalResultCount)"
nameWithType: "SearchRequest.setIncludeTotalResultCount(Boolean includeTotalResultCount)"
summary: "Set the include<wbr>Total<wbr>Result<wbr>Count property: A value that specifies whether to fetch the total count of results."
parameters:
- description: "the includeTotalResultCount value to set."
name: "includeTotalResultCount"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public SearchRequest setIncludeTotalResultCount(Boolean includeTotalResultCount)"
desc: "Set the includeTotalResultCount property: A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setMinimumCoverage(java.lang.Double)"
fullName: "com.azure.search.models.SearchRequest.setMinimumCoverage(Double minimumCoverage)"
name: "setMinimumCoverage(Double minimumCoverage)"
nameWithType: "SearchRequest.setMinimumCoverage(Double minimumCoverage)"
summary: "Set the minimum<wbr>Coverage 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."
parameters:
- description: "the minimumCoverage value to set."
name: "minimumCoverage"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
syntax: "public SearchRequest setMinimumCoverage(Double minimumCoverage)"
desc: "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. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setOrderBy(java.lang.String)"
fullName: "com.azure.search.models.SearchRequest.setOrderBy(String orderBy)"
name: "setOrderBy(String orderBy)"
nameWithType: "SearchRequest.setOrderBy(String orderBy)"
summary: "Set the order<wbr>By property: The comma-separated list of OData $orderby expressions by which to sort the results."
parameters:
- description: "the orderBy value to set."
name: "orderBy"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SearchRequest setOrderBy(String orderBy)"
desc: "Set the orderBy property: The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setQueryType(com.azure.search.models.QueryType)"
fullName: "com.azure.search.models.SearchRequest.setQueryType(QueryType queryType)"
name: "setQueryType(QueryType queryType)"
nameWithType: "SearchRequest.setQueryType(QueryType queryType)"
summary: "Set the query<wbr>Type property: A value that specifies the syntax of the search query."
parameters:
- description: "the queryType value to set."
name: "queryType"
type: "<xref href=\"com.azure.search.models.QueryType?alt=com.azure.search.models.QueryType&text=QueryType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SearchRequest setQueryType(QueryType queryType)"
desc: "Set the queryType property: A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax. Possible values include: 'simple', 'full'."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setScoringParameters(java.util.List<java.lang.String>)"
fullName: "com.azure.search.models.SearchRequest.setScoringParameters(List<String> scoringParameters)"
name: "setScoringParameters(List<String> scoringParameters)"
nameWithType: "SearchRequest.setScoringParameters(List<String> scoringParameters)"
summary: "Set the scoring<wbr>Parameters property: The list of parameter values to be used in scoring functions (for example, reference<wbr>Point<wbr>Parameter) using the format name-values."
parameters:
- description: "the scoringParameters value to set."
name: "scoringParameters"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public SearchRequest setScoringParameters(List<String> scoringParameters)"
desc: "Set the scoringParameters property: The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes)."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setScoringProfile(java.lang.String)"
fullName: "com.azure.search.models.SearchRequest.setScoringProfile(String scoringProfile)"
name: "setScoringProfile(String scoringProfile)"
nameWithType: "SearchRequest.setScoringProfile(String scoringProfile)"
summary: "Set the scoring<wbr>Profile property: The name of a scoring profile to evaluate match scores for matching documents in order to sort the results."
parameters:
- description: "the scoringProfile value to set."
name: "scoringProfile"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SearchRequest setScoringProfile(String scoringProfile)"
desc: "Set the scoringProfile property: The name of a scoring profile to evaluate match scores for matching documents in order to sort the results."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setSearchFields(java.lang.String)"
fullName: "com.azure.search.models.SearchRequest.setSearchFields(String searchFields)"
name: "setSearchFields(String searchFields)"
nameWithType: "SearchRequest.setSearchFields(String searchFields)"
summary: "Set the search<wbr>Fields property: The comma-separated list of field names to which to scope the full-text search."
parameters:
- description: "the searchFields value to set."
name: "searchFields"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SearchRequest setSearchFields(String searchFields)"
desc: "Set the searchFields property: The comma-separated list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setSearchMode(com.azure.search.models.SearchMode)"
fullName: "com.azure.search.models.SearchRequest.setSearchMode(SearchMode searchMode)"
name: "setSearchMode(SearchMode searchMode)"
nameWithType: "SearchRequest.setSearchMode(SearchMode searchMode)"
summary: "Set the search<wbr>Mode 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."
parameters:
- description: "the searchMode value to set."
name: "searchMode"
type: "<xref href=\"com.azure.search.models.SearchMode?alt=com.azure.search.models.SearchMode&text=SearchMode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SearchRequest setSearchMode(SearchMode searchMode)"
desc: "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. Possible values include: 'any', 'all'."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setSearchText(java.lang.String)"
fullName: "com.azure.search.models.SearchRequest.setSearchText(String searchText)"
name: "setSearchText(String searchText)"
nameWithType: "SearchRequest.setSearchText(String searchText)"
summary: "Set the search<wbr>Text property: A full-text search query expression; Use \"\\*\" or omit this parameter to match all documents."
parameters:
- description: "the searchText value to set."
name: "searchText"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SearchRequest setSearchText(String searchText)"
desc: "Set the searchText property: A full-text search query expression; Use \"\\*\" or omit this parameter to match all documents."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setSelect(java.lang.String)"
fullName: "com.azure.search.models.SearchRequest.setSelect(String select)"
name: "setSelect(String select)"
nameWithType: "SearchRequest.setSelect(String select)"
summary: "Set the select property: The comma-separated list of fields to retrieve."
parameters:
- description: "the select value to set."
name: "select"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SearchRequest setSelect(String select)"
desc: "Set the select property: The comma-separated list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setSkip(java.lang.Integer)"
fullName: "com.azure.search.models.SearchRequest.setSkip(Integer skip)"
name: "setSkip(Integer skip)"
nameWithType: "SearchRequest.setSkip(Integer skip)"
summary: "Set the skip property: The number of search results to skip."
parameters:
- description: "the skip value to set."
name: "skip"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public SearchRequest setSkip(Integer skip)"
desc: "Set the skip property: The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use skip due to this limitation, consider using orderby on a totally-ordered key and filter with a range query instead."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.SearchRequest.setTop(java.lang.Integer)"
fullName: "com.azure.search.models.SearchRequest.setTop(Integer top)"
name: "setTop(Integer top)"
nameWithType: "SearchRequest.setTop(Integer top)"
summary: "Set the top property: The number of search results to retrieve."
parameters:
- description: "the top value to set."
name: "top"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public SearchRequest setTop(Integer top)"
desc: "Set the top property: The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results."
returns:
description: "the SearchRequest object itself."
type: "<xref href=\"com.azure.search.models.SearchRequest?alt=com.azure.search.models.SearchRequest&text=SearchRequest\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Parameters for filtering, sorting, faceting, paging, and other search query behaviors."
metadata: {}
package: "com.azure.search.models"
artifact: com.azure:azure-search:11.0.0-beta.1