Package | Description |
---|---|
com.azure.search.documents.models |
Package containing the data models for SearchServiceRestClient.
|
Modifier and Type | Class and Description |
---|---|
class |
DistanceScoringFunction
Defines a function that boosts scores based on distance from a geographic
location.
|
class |
FreshnessScoringFunction
Defines a function that boosts scores based on the value of a date-time
field.
|
class |
MagnitudeScoringFunction
Defines a function that boosts scores based on the magnitude of a numeric
field.
|
class |
TagScoringFunction
Defines a function that boosts scores of documents with string values
matching a given list of tags.
|
Modifier and Type | Method and Description |
---|---|
ScoringFunction |
ScoringFunction.setBoost(double boost)
Set the boost property: A multiplier for the raw score.
|
ScoringFunction |
ScoringFunction.setFieldName(String fieldName)
Set the fieldName property: The name of the field used as input to the
scoring function.
|
ScoringFunction |
ScoringFunction.setInterpolation(ScoringFunctionInterpolation interpolation)
Set the interpolation property: A value indicating how boosting will be
interpolated across document scores; defaults to "Linear".
|
Copyright © 2020 Microsoft Corporation. All rights reserved.