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

69 строки
5.9 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.models.FreshnessScoringFunction"
fullName: "com.azure.search.models.FreshnessScoringFunction"
name: "FreshnessScoringFunction"
nameWithType: "FreshnessScoringFunction"
summary: "Defines a function that boosts scores based on the value of a date-time field."
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 **FreshnessScoringFunction**</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.FreshnessScoringFunction.FreshnessScoringFunction()"
fullName: "com.azure.search.models.FreshnessScoringFunction.FreshnessScoringFunction()"
name: "FreshnessScoringFunction()"
nameWithType: "FreshnessScoringFunction.FreshnessScoringFunction()"
syntax: "public FreshnessScoringFunction()"
methods:
- uid: "com.azure.search.models.FreshnessScoringFunction.getParameters()"
fullName: "com.azure.search.models.FreshnessScoringFunction.getParameters()"
name: "getParameters()"
nameWithType: "FreshnessScoringFunction.getParameters()"
summary: "Get the parameters property: Parameter values for the freshness scoring function."
syntax: "public FreshnessScoringParameters getParameters()"
desc: "Get the parameters property: Parameter values for the freshness scoring function."
returns:
description: "the parameters value."
type: "<xref href=\"com.azure.search.models.FreshnessScoringParameters?alt=com.azure.search.models.FreshnessScoringParameters&text=FreshnessScoringParameters\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.FreshnessScoringFunction.setParameters(com.azure.search.models.FreshnessScoringParameters)"
fullName: "com.azure.search.models.FreshnessScoringFunction.setParameters(FreshnessScoringParameters parameters)"
name: "setParameters(FreshnessScoringParameters parameters)"
nameWithType: "FreshnessScoringFunction.setParameters(FreshnessScoringParameters parameters)"
summary: "Set the parameters property: Parameter values for the freshness scoring function."
parameters:
- description: "the parameters value to set."
name: "parameters"
type: "<xref href=\"com.azure.search.models.FreshnessScoringParameters?alt=com.azure.search.models.FreshnessScoringParameters&text=FreshnessScoringParameters\" data-throw-if-not-resolved=\"False\" />"
syntax: "public FreshnessScoringFunction setParameters(FreshnessScoringParameters parameters)"
desc: "Set the parameters property: Parameter values for the freshness scoring function."
returns:
description: "the FreshnessScoringFunction object itself."
type: "<xref href=\"com.azure.search.models.FreshnessScoringFunction?alt=com.azure.search.models.FreshnessScoringFunction&text=FreshnessScoringFunction\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Defines a function that boosts scores based on the value of a date-time field."
metadata: {}
package: "com.azure.search.models"
artifact: com.azure:azure-search:11.0.0-beta.1