Ability to set a "minimum should match" in a query
I can specify a percent of terms I want to match, for instance 100% means require all terms, 66% means, only return documents that matched at least 60% of the terms. (the default is 1 term)
Ex for 100%
search "foo bar"
"foo bar" "bar foo" "bar hello foo" would all return
"foo hello" would not
3
votes

-
We offer the minimumShouldMatch parameter in the should operator of the compound query. You can easily break this out by terms on the application side and set the ratio (100% or 60%) with this parameter.
See the docs here: https://docs.atlas.mongodb.com/atlas-search/compound/#mongodb-data-should
Does that work for user?