Some of the docs in an index having the time filter is null/none/no value. How to create a GET query to filter out those documents?
you can use the exists
query, see https://www.elastic.co/guide/en/elasticsearch/reference/7.4/query-dsl-exists-query.html
Use a bool
query with a must_not
clause, that contains the exists query, basically searching for a document where this field does not exist.
--Alex
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.