I'm looking for a way to give words a score (different score for each word) and find docs that match a minimum score (based on the scores and the words).
The idea is that I might have words with high score (wordA - score=5) and I want all docs that has wordA, but I also have words with lower score (wordB, wordC, wordD - score=2). If i want docs that match minimum of score=4 I would like to get the docs that has wordA or any combination of 2 of (wordB, wordC, wordD).
Same goes with minimum score of 6 - the result should be docs contains wordA and one of (wordB, wordC, wordD), or docs contains all 3 of (wordB, wordC, wordD).
I was trying to boost words combined with minimum_should_match, but it doesn't really do the trick. Any ideas of how I can do that?