Where to add a missing filter in this Kibana search

Thanks Tanya! We've tried to do as you said, but the result is the same...

We want to get all the documents in one index with "coordenadasDestino" != NULL ... in all our documents this field exists but sometime its NULL or doens't have values

If we do:

{"constant_score":{"filter":{"exists":{"field":"coordenadasDestino"}}}}*

We get all the documents including also the ones who hasn't values for field coordenadasDestino (NULL)

How can we do this?

Thanks in advance! Regards.