60 строки
4.1 KiB
YAML
60 строки
4.1 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.search.models.TextWeights"
|
|
fullName: "com.azure.search.models.TextWeights"
|
|
name: "TextWeights"
|
|
nameWithType: "TextWeights"
|
|
summary: "Defines weights on index fields for which matches should boost 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 **TextWeights**"
|
|
constructors:
|
|
- uid: "com.azure.search.models.TextWeights.TextWeights()"
|
|
fullName: "com.azure.search.models.TextWeights.TextWeights()"
|
|
name: "TextWeights()"
|
|
nameWithType: "TextWeights.TextWeights()"
|
|
syntax: "public TextWeights()"
|
|
methods:
|
|
- uid: "com.azure.search.models.TextWeights.getWeights()"
|
|
fullName: "com.azure.search.models.TextWeights.getWeights()"
|
|
name: "getWeights()"
|
|
nameWithType: "TextWeights.getWeights()"
|
|
summary: "Get the weights property: The dictionary of per-field weights to boost document scoring."
|
|
syntax: "public Map<String,Double> getWeights()"
|
|
desc: "Get the weights property: The dictionary of per-field weights to boost document scoring. The keys are field names and the values are the weights for each field."
|
|
returns:
|
|
description: "the weights value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>>"
|
|
- uid: "com.azure.search.models.TextWeights.setWeights(java.util.Map<java.lang.String,java.lang.Double>)"
|
|
fullName: "com.azure.search.models.TextWeights.setWeights(Map<String,Double> weights)"
|
|
name: "setWeights(Map<String,Double> weights)"
|
|
nameWithType: "TextWeights.setWeights(Map<String,Double> weights)"
|
|
summary: "Set the weights property: The dictionary of per-field weights to boost document scoring."
|
|
parameters:
|
|
- description: "the weights value to set."
|
|
name: "weights"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>>"
|
|
syntax: "public TextWeights setWeights(Map<String,Double> weights)"
|
|
desc: "Set the weights property: The dictionary of per-field weights to boost document scoring. The keys are field names and the values are the weights for each field."
|
|
returns:
|
|
description: "the TextWeights object itself."
|
|
type: "<xref href=\"com.azure.search.models.TextWeights?alt=com.azure.search.models.TextWeights&text=TextWeights\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Defines weights on index fields for which matches should boost scoring in search queries."
|
|
metadata: {}
|
|
package: "com.azure.search.models"
|
|
artifact: com.azure:azure-search:11.0.0-beta.1
|