For example. I have these rows stored in my Solr.
{city: "Boston", country: "USA"},
{city: "Miami", country: "USA"},
{city: "Orlando", country: "USA"}
I'll search by "Boston USA". In that case I'd like to return a single result because my search matches all words. That's "AND" behavior or like "mm" param with 100% value.
But if I search by "Texas USA", I'd like to return three results because it can't match all words, but it found at least one word. Now, I think that's "OR" behavior or like "mm" param with 0 value.
In short, I'd like to match all words. If haven't any results, it should try to match at least one word. Is it possible to have two different behaviors in the unique query?
ps: I'm using eDismax parser.