Package com.mongodb.client.model.search
Interface PathSearchScoreExpression
- All Superinterfaces:
Bson
,SearchScoreExpression
- Since:
- 4.7
- See Also:
-
Field Summary
Fields inherited from interface org.bson.conversions.Bson
DEFAULT_CODEC_REGISTRY
-
Method Summary
Modifier and TypeMethodDescriptionundefined
(float fallback) Creates a newPathSearchScoreExpression
with the value to fall back to if the field specified viaSearchScoreExpression.pathExpression(FieldSearchPath)
is not found in a document.Methods inherited from interface org.bson.conversions.Bson
toBsonDocument, toBsonDocument
-
Method Details
-
undefined
Creates a newPathSearchScoreExpression
with the value to fall back to if the field specified viaSearchScoreExpression.pathExpression(FieldSearchPath)
is not found in a document.- Parameters:
fallback
- The fallback value.- Returns:
- A new
PathSearchScoreExpression
.
-