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

60 строки
4.1 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.models.FreshnessScoringParameters"
fullName: "com.azure.search.models.FreshnessScoringParameters"
name: "FreshnessScoringParameters"
nameWithType: "FreshnessScoringParameters"
summary: "Provides parameter values to a freshness scoring function."
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 **FreshnessScoringParameters**"
constructors:
- uid: "com.azure.search.models.FreshnessScoringParameters.FreshnessScoringParameters()"
fullName: "com.azure.search.models.FreshnessScoringParameters.FreshnessScoringParameters()"
name: "FreshnessScoringParameters()"
nameWithType: "FreshnessScoringParameters.FreshnessScoringParameters()"
syntax: "public FreshnessScoringParameters()"
methods:
- uid: "com.azure.search.models.FreshnessScoringParameters.getBoostingDuration()"
fullName: "com.azure.search.models.FreshnessScoringParameters.getBoostingDuration()"
name: "getBoostingDuration()"
nameWithType: "FreshnessScoringParameters.getBoostingDuration()"
summary: "Get the boosting<wbr>Duration property: The expiration period after which boosting will stop for a particular document."
syntax: "public Duration getBoostingDuration()"
desc: "Get the boostingDuration property: The expiration period after which boosting will stop for a particular document."
returns:
description: "the boostingDuration value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
- uid: "com.azure.search.models.FreshnessScoringParameters.setBoostingDuration(java.time.Duration)"
fullName: "com.azure.search.models.FreshnessScoringParameters.setBoostingDuration(Duration boostingDuration)"
name: "setBoostingDuration(Duration boostingDuration)"
nameWithType: "FreshnessScoringParameters.setBoostingDuration(Duration boostingDuration)"
summary: "Set the boosting<wbr>Duration property: The expiration period after which boosting will stop for a particular document."
parameters:
- description: "the boostingDuration value to set."
name: "boostingDuration"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
syntax: "public FreshnessScoringParameters setBoostingDuration(Duration boostingDuration)"
desc: "Set the boostingDuration property: The expiration period after which boosting will stop for a particular document."
returns:
description: "the FreshnessScoringParameters object itself."
type: "<xref href=\"com.azure.search.models.FreshnessScoringParameters?alt=com.azure.search.models.FreshnessScoringParameters&text=FreshnessScoringParameters\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Provides parameter values to a freshness scoring function."
metadata: {}
package: "com.azure.search.models"
artifact: com.azure:azure-search:11.0.0-beta.1