how to find the documents if field exists