Scoring based on existence of all terms even if one term appears multiple times

Trying to score documents in a way that if all the term words exist will get better score then document with two of the terms appears multiple times



You may be interested in using a constant score query, which ignores the frequencies that the default TF/IDF algorithm takes into account: