Search for null and values (but not for non exists) in elasticsearch
As far i know(i worked only till 1.7.2), document 1 and 2 will have same json structure in _source document of the elastic.As elasticsearch doesn't support null values.
So if you want to search for documents which have images , do a exists filters in the must bool filter.