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

132 строки
9.6 KiB
YAML
Исходник Постоянная ссылка Обычный вид История

### YamlMime:JavaType
uid: "com.azure.search.models.ScoringProfile"
fullName: "com.azure.search.models.ScoringProfile"
name: "ScoringProfile"
nameWithType: "ScoringProfile"
summary: "Defines parameters for a search index that influence scoring in search queries."
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 **ScoringProfile**"
constructors:
- uid: "com.azure.search.models.ScoringProfile.ScoringProfile()"
fullName: "com.azure.search.models.ScoringProfile.ScoringProfile()"
name: "ScoringProfile()"
nameWithType: "ScoringProfile.ScoringProfile()"
syntax: "public ScoringProfile()"
methods:
- uid: "com.azure.search.models.ScoringProfile.getFunctionAggregation()"
fullName: "com.azure.search.models.ScoringProfile.getFunctionAggregation()"
name: "getFunctionAggregation()"
nameWithType: "ScoringProfile.getFunctionAggregation()"
summary: "Get the function<wbr>Aggregation property: A value indicating how the results of individual scoring functions should be combined."
syntax: "public ScoringFunctionAggregation getFunctionAggregation()"
desc: "Get the functionAggregation property: A value indicating how the results of individual scoring functions should be combined. Defaults to \"Sum\". Ignored if there are no scoring functions. Possible values include: 'sum', 'average', 'minimum', 'maximum', 'firstMatching'."
returns:
description: "the functionAggregation value."
type: "<xref href=\"com.azure.search.models.ScoringFunctionAggregation?alt=com.azure.search.models.ScoringFunctionAggregation&text=ScoringFunctionAggregation\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.ScoringProfile.getFunctions()"
fullName: "com.azure.search.models.ScoringProfile.getFunctions()"
name: "getFunctions()"
nameWithType: "ScoringProfile.getFunctions()"
summary: "Get the functions property: The collection of functions that influence the scoring of documents."
syntax: "public List<ScoringFunction> getFunctions()"
desc: "Get the functions property: The collection of functions that influence the scoring of documents."
returns:
description: "the functions value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.search.models.ScoringFunction?alt=com.azure.search.models.ScoringFunction&text=ScoringFunction\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.search.models.ScoringProfile.getName()"
fullName: "com.azure.search.models.ScoringProfile.getName()"
name: "getName()"
nameWithType: "ScoringProfile.getName()"
summary: "Get the name property: The name of the scoring profile."
syntax: "public String getName()"
desc: "Get the name property: The name of the scoring profile."
returns:
description: "the name value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.ScoringProfile.getTextWeights()"
fullName: "com.azure.search.models.ScoringProfile.getTextWeights()"
name: "getTextWeights()"
nameWithType: "ScoringProfile.getTextWeights()"
summary: "Get the text<wbr>Weights property: Parameters that boost scoring based on text matches in certain index fields."
syntax: "public TextWeights getTextWeights()"
desc: "Get the textWeights property: Parameters that boost scoring based on text matches in certain index fields."
returns:
description: "the textWeights value."
type: "<xref href=\"com.azure.search.models.TextWeights?alt=com.azure.search.models.TextWeights&text=TextWeights\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.ScoringProfile.setFunctionAggregation(com.azure.search.models.ScoringFunctionAggregation)"
fullName: "com.azure.search.models.ScoringProfile.setFunctionAggregation(ScoringFunctionAggregation functionAggregation)"
name: "setFunctionAggregation(ScoringFunctionAggregation functionAggregation)"
nameWithType: "ScoringProfile.setFunctionAggregation(ScoringFunctionAggregation functionAggregation)"
summary: "Set the function<wbr>Aggregation property: A value indicating how the results of individual scoring functions should be combined."
parameters:
- description: "the functionAggregation value to set."
name: "functionAggregation"
type: "<xref href=\"com.azure.search.models.ScoringFunctionAggregation?alt=com.azure.search.models.ScoringFunctionAggregation&text=ScoringFunctionAggregation\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ScoringProfile setFunctionAggregation(ScoringFunctionAggregation functionAggregation)"
desc: "Set the functionAggregation property: A value indicating how the results of individual scoring functions should be combined. Defaults to \"Sum\". Ignored if there are no scoring functions. Possible values include: 'sum', 'average', 'minimum', 'maximum', 'firstMatching'."
returns:
description: "the ScoringProfile object itself."
type: "<xref href=\"com.azure.search.models.ScoringProfile?alt=com.azure.search.models.ScoringProfile&text=ScoringProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.ScoringProfile.setFunctions(java.util.List<com.azure.search.models.ScoringFunction>)"
fullName: "com.azure.search.models.ScoringProfile.setFunctions(List<ScoringFunction> functions)"
name: "setFunctions(List<ScoringFunction> functions)"
nameWithType: "ScoringProfile.setFunctions(List<ScoringFunction> functions)"
summary: "Set the functions property: The collection of functions that influence the scoring of documents."
parameters:
- description: "the functions value to set."
name: "functions"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.search.models.ScoringFunction?alt=com.azure.search.models.ScoringFunction&text=ScoringFunction\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public ScoringProfile setFunctions(List<ScoringFunction> functions)"
desc: "Set the functions property: The collection of functions that influence the scoring of documents."
returns:
description: "the ScoringProfile object itself."
type: "<xref href=\"com.azure.search.models.ScoringProfile?alt=com.azure.search.models.ScoringProfile&text=ScoringProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.ScoringProfile.setName(java.lang.String)"
fullName: "com.azure.search.models.ScoringProfile.setName(String name)"
name: "setName(String name)"
nameWithType: "ScoringProfile.setName(String name)"
summary: "Set the name property: The name of the scoring profile."
parameters:
- description: "the name value to set."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ScoringProfile setName(String name)"
desc: "Set the name property: The name of the scoring profile."
returns:
description: "the ScoringProfile object itself."
type: "<xref href=\"com.azure.search.models.ScoringProfile?alt=com.azure.search.models.ScoringProfile&text=ScoringProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.ScoringProfile.setTextWeights(com.azure.search.models.TextWeights)"
fullName: "com.azure.search.models.ScoringProfile.setTextWeights(TextWeights textWeights)"
name: "setTextWeights(TextWeights textWeights)"
nameWithType: "ScoringProfile.setTextWeights(TextWeights textWeights)"
summary: "Set the text<wbr>Weights property: Parameters that boost scoring based on text matches in certain index fields."
parameters:
- description: "the textWeights value to set."
name: "textWeights"
type: "<xref href=\"com.azure.search.models.TextWeights?alt=com.azure.search.models.TextWeights&text=TextWeights\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ScoringProfile setTextWeights(TextWeights textWeights)"
desc: "Set the textWeights property: Parameters that boost scoring based on text matches in certain index fields."
returns:
description: "the ScoringProfile object itself."
type: "<xref href=\"com.azure.search.models.ScoringProfile?alt=com.azure.search.models.ScoringProfile&text=ScoringProfile\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Defines parameters for a search index that influence scoring in search queries."
metadata: {}
package: "com.azure.search.models"
artifact: com.azure:azure-search:11.0.0-beta.1