Package com.mongodb.client.model
Interface WeightedScoreFusionCombination
- All Superinterfaces:
Bson,ScoreFusionCombination
- Since:
- 5.10
- MongoDB documentation
- $scoreFusion
- Since server release
- 8.2
-
Field Summary
Fields inherited from interface org.bson.conversions.Bson
DEFAULT_CODEC_REGISTRY -
Method Summary
Modifier and TypeMethodDescriptionavg()Returns a newWeightedScoreFusionCombinationthat instructs the server to combine the weighted scores using their average instead of the default combination method.Methods inherited from interface org.bson.conversions.Bson
toBsonDocument, toBsonDocument
-
Method Details
-
avg
Returns a newWeightedScoreFusionCombinationthat instructs the server to combine the weighted scores using their average instead of the default combination method.- Returns:
- A new
WeightedScoreFusionCombination.
-