Maybe it is a rare requirement. But I have a use case where users can specify that they want exactly m out of n conditions to be true, where m < n and n<=10. This system is currently implemented in SQL and is very slow and we are in the process of migrating it to ElasticSearch...