Class TagScoringFunction
- java.lang.Object
-
- com.azure.search.documents.indexes.models.ScoringFunction
-
- com.azure.search.documents.indexes.models.TagScoringFunction
-
public final class TagScoringFunction extends ScoringFunction
Defines a function that boosts scores of documents with string values matching a given list of tags.
-
-
Constructor Summary
Constructors Constructor Description TagScoringFunction(String fieldName, double boost, TagScoringParameters parameters)
Creates an instance of TagScoringFunction class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagScoringParameters
getParameters()
Get the parameters property: Parameter values for the tag scoring function.-
Methods inherited from class com.azure.search.documents.indexes.models.ScoringFunction
getBoost, getFieldName, getInterpolation, setInterpolation
-
-
-
-
Constructor Detail
-
TagScoringFunction
public TagScoringFunction(String fieldName, double boost, TagScoringParameters parameters)
Creates an instance of TagScoringFunction class.- Parameters:
fieldName
- the fieldName value to set.boost
- the boost value to set.parameters
- the parameters value to set.
-
-
Method Detail
-
getParameters
public TagScoringParameters getParameters()
Get the parameters property: Parameter values for the tag scoring function.- Returns:
- the parameters value.
-
-