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

69 строки
5.9 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.models.DistanceScoringFunction"
fullName: "com.azure.search.models.DistanceScoringFunction"
name: "DistanceScoringFunction"
nameWithType: "DistanceScoringFunction"
summary: "Defines a function that boosts scores based on distance from a geographic location."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.ScoringFunction?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.search.models.ScoringFunction?alt=com.azure.search.models.ScoringFunction&text=ScoringFunction\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.search.models.ScoringFunction.getBoost()?alt=com.azure.search.models.ScoringFunction.getBoost&text=getBoost\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.ScoringFunction.getFieldName()?alt=com.azure.search.models.ScoringFunction.getFieldName&text=getFieldName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.ScoringFunction.getInterpolation()?alt=com.azure.search.models.ScoringFunction.getInterpolation&text=getInterpolation\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.ScoringFunction.setBoost(double)?alt=com.azure.search.models.ScoringFunction.setBoost&text=setBoost\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.ScoringFunction.setFieldName(java.lang.String)?alt=com.azure.search.models.ScoringFunction.setFieldName&text=setFieldName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.ScoringFunction.setInterpolation(com.azure.search.models.ScoringFunctionInterpolation)?alt=com.azure.search.models.ScoringFunction.setInterpolation&text=setInterpolation\" data-throw-if-not-resolved=\"False\" />"
- 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 **DistanceScoringFunction**</br> extends <xref href=\"com.azure.search.models.ScoringFunction?alt=com.azure.search.models.ScoringFunction&text=ScoringFunction\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.search.models.DistanceScoringFunction.DistanceScoringFunction()"
fullName: "com.azure.search.models.DistanceScoringFunction.DistanceScoringFunction()"
name: "DistanceScoringFunction()"
nameWithType: "DistanceScoringFunction.DistanceScoringFunction()"
syntax: "public DistanceScoringFunction()"
methods:
- uid: "com.azure.search.models.DistanceScoringFunction.getParameters()"
fullName: "com.azure.search.models.DistanceScoringFunction.getParameters()"
name: "getParameters()"
nameWithType: "DistanceScoringFunction.getParameters()"
summary: "Get the parameters property: Parameter values for the distance scoring function."
syntax: "public DistanceScoringParameters getParameters()"
desc: "Get the parameters property: Parameter values for the distance scoring function."
returns:
description: "the parameters value."
type: "<xref href=\"com.azure.search.models.DistanceScoringParameters?alt=com.azure.search.models.DistanceScoringParameters&text=DistanceScoringParameters\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.DistanceScoringFunction.setParameters(com.azure.search.models.DistanceScoringParameters)"
fullName: "com.azure.search.models.DistanceScoringFunction.setParameters(DistanceScoringParameters parameters)"
name: "setParameters(DistanceScoringParameters parameters)"
nameWithType: "DistanceScoringFunction.setParameters(DistanceScoringParameters parameters)"
summary: "Set the parameters property: Parameter values for the distance scoring function."
parameters:
- description: "the parameters value to set."
name: "parameters"
type: "<xref href=\"com.azure.search.models.DistanceScoringParameters?alt=com.azure.search.models.DistanceScoringParameters&text=DistanceScoringParameters\" data-throw-if-not-resolved=\"False\" />"
syntax: "public DistanceScoringFunction setParameters(DistanceScoringParameters parameters)"
desc: "Set the parameters property: Parameter values for the distance scoring function."
returns:
description: "the DistanceScoringFunction object itself."
type: "<xref href=\"com.azure.search.models.DistanceScoringFunction?alt=com.azure.search.models.DistanceScoringFunction&text=DistanceScoringFunction\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Defines a function that boosts scores based on distance from a geographic location."
metadata: {}
package: "com.azure.search.models"
artifact: com.azure:azure-search:11.0.0-beta.1