Qerying only those documents, which has their value of some field never contained by another documents' field

Hi dear friends. Is it possible to get documents in such way, where in result we dont have documents which has their value contained by another documents' field..
Let's consider we have following documents:

              "field1": "a"
       },
       "doc2":{
              "field1": "ab"
       },
       "doc3":{
              "field1": "abc"
       },
       "doc4":{
              "field1": "qwerty"
       }
``
So the result will be  **doc3** and **doc4**, because **doc3** contains **doc2** and **doc1**
Thanks in advance!

As I mentioned in your other thread, you cannot do this.

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