Overlapping words in phrases in bool must, returning no result

Hello

I have this document: "a nice fox and an ugly fox"

Now i want it to match with this query MUST HAVE "a nice fox" AND MUST HAVE "an ugly fox". So i have the following query: https://codebeautify.org/jsonviewer/cbf77a45
But this doesn't match the document. The funny thing is, if the phrases doesn't "overlap" in words, meaning not containing any of the words which are in the other phrase, then it works.
F.x. this query, which works: https://codebeautify.org/jsonviewer/cb4ff8f4 (i removed "fox" from "an ugly fox".

What am i doing wrong?

Here is a gist with some json data for reproduction: https://gist.github.com/Danielss89/6d8f14d613503008e7da67d596a195e9

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.