azure-docs-sdk-java/docs-ref-autogen/com.azure.search.documents....

101 строка
6.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.documents.models.ScoringParameter"
fullName: "com.azure.search.documents.models.ScoringParameter"
name: "ScoringParameter"
nameWithType: "ScoringParameter"
summary: "Represents a parameter value to be used in scoring functions (for example, reference<wbr>Point<wbr>Parameter)."
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 **ScoringParameter**"
constructors:
- uid: "com.azure.search.documents.models.ScoringParameter.ScoringParameter(java.lang.String)"
fullName: "com.azure.search.documents.models.ScoringParameter.ScoringParameter(String nameValuePair)"
name: "ScoringParameter(String nameValuePair)"
nameWithType: "ScoringParameter.ScoringParameter(String nameValuePair)"
summary: "Constructor to take name value pair string of Scoring<wbr>Parameter."
parameters:
- description: "The dash separated name value pairs."
name: "nameValuePair"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ScoringParameter(String nameValuePair)"
desc: "Constructor to take name value pair string of ScoringParameter. Name and values are separated by dash, and values are separared by comma."
- uid: "com.azure.search.documents.models.ScoringParameter.ScoringParameter(java.lang.String,com.azure.core.models.GeoPoint)"
fullName: "com.azure.search.documents.models.ScoringParameter.ScoringParameter(String name, GeoPoint value)"
name: "ScoringParameter(String name, GeoPoint value)"
nameWithType: "ScoringParameter.ScoringParameter(String name, GeoPoint value)"
summary: "Initializes a new instance of the Scoring<wbr>Parameter class with the given name and Geography<wbr>Point value."
parameters:
- description: "Name of the scoring parameter."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "Value of the scoring parameter."
name: "value"
type: "<xref href=\"com.azure.core.models.GeoPoint?alt=com.azure.core.models.GeoPoint&text=GeoPoint\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ScoringParameter(String name, GeoPoint value)"
desc: "Initializes a new instance of the ScoringParameter class with the given name and GeographyPoint value."
- uid: "com.azure.search.documents.models.ScoringParameter.ScoringParameter(java.lang.String,java.util.List<java.lang.String>)"
fullName: "com.azure.search.documents.models.ScoringParameter.ScoringParameter(String name, List<String> values)"
name: "ScoringParameter(String name, List<String> values)"
nameWithType: "ScoringParameter.ScoringParameter(String name, List<String> values)"
summary: "Initializes a new instance of the Scoring<wbr>Parameter class with the given name and string values."
parameters:
- description: "Name of the scoring parameter."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "Values of the scoring parameter."
name: "values"
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 ScoringParameter(String name, List<String> values)"
desc: "Initializes a new instance of the ScoringParameter class with the given name and string values."
methods:
- uid: "com.azure.search.documents.models.ScoringParameter.getName()"
fullName: "com.azure.search.documents.models.ScoringParameter.getName()"
name: "getName()"
nameWithType: "ScoringParameter.getName()"
summary: "Gets the name of the scoring parameter."
syntax: "public String getName()"
desc: "Gets the name of the scoring parameter."
returns:
description: "The name of scoring parameter."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.documents.models.ScoringParameter.getValues()"
fullName: "com.azure.search.documents.models.ScoringParameter.getValues()"
name: "getValues()"
nameWithType: "ScoringParameter.getValues()"
summary: "Gets the values of the scoring parameter."
syntax: "public List<String> getValues()"
desc: "Gets the values of the scoring parameter."
returns:
description: "The values of scoring parameter."
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.documents.models.ScoringParameter.toString()"
fullName: "com.azure.search.documents.models.ScoringParameter.toString()"
name: "toString()"
nameWithType: "ScoringParameter.toString()"
summary: "Covert <xref uid=\"com.azure.search.documents.models.ScoringParameter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ScoringParameter\"></xref> to string."
overridden: "java.lang.Object.toString()"
syntax: "public String toString()"
desc: "Covert <xref uid=\"com.azure.search.documents.models.ScoringParameter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ScoringParameter\"></xref> to string."
returns:
description: "Service accepted string format."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "Represents a parameter value to be used in scoring functions (for example, referencePointParameter)."
metadata: {}
package: "com.azure.search.documents.models"
artifact: com.azure:azure-search-documents:11.7.3