Package com.mongodb.client.model.search
Interface PathBoostSearchScore
- All Superinterfaces:
 Bson,SearchScore
- 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 newPathBoostSearchScorewith the value to fall back to if the field specified viaSearchScore.boost(FieldSearchPath)is not found in a document.Methods inherited from interface org.bson.conversions.Bson
toBsonDocument, toBsonDocument 
- 
Method Details
- 
undefined
Creates a newPathBoostSearchScorewith the value to fall back to if the field specified viaSearchScore.boost(FieldSearchPath)is not found in a document.- Parameters:
 fallback- The fallback value. UnlikeSearchScore.constant(float), does not have constraints.- Returns:
 - A new 
PathBoostSearchScore. 
 
 -