How to build a query which matches one of the phrases in Spring Elasticsearch repository
<p>I would like to know if and how is possible to create a query which matches one of the keyword phrases and does not contain any of the stop word phrases. For example:</p>

<pre><code>List&lt;String&gt; keywords = Arrays.asList("one keyword", "another one");
List&lt;String&gt; stopWords = Arrays.asList("dismiss this");

Page&lt;Result&gt; results = elRepository.findByKeywordsAndStepwords(
                                keywords, stopwords, new PageRequest(0, 12));
</code></pre>

<p>This should match documents containing one of the exact phrases ("one keyword" or "another one") and no stop word phrases ("dismiss this"). Note that if a document contains only terms which are contained in phrases (eg. "another"), it should not return the given document as a result.</p>