# Just Pushed: Exists and Missing filters and extension to use them in query\_string query

**URL:** https://discuss.elastic.co/t/just-pushed-exists-and-missing-filters-and-extension-to-use-them-in-query-string-query/3467
**Category:** Elasticsearch
**Created:** [October 22, 2010, 3:57pm UTC](https://discuss.elastic.co/t/just-pushed-exists-and-missing-filters-and-extension-to-use-them-in-query-string-query/3467 "2010-10-22T15:57:16Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [October 22, 2010, 3:57pm UTC](https://discuss.elastic.co/t/just-pushed-exists-and-missing-filters-and-extension-to-use-them-in-query-string-query/3467/1 "2010-10-22T15:57:16Z")

</div>

Hey,

The exists and missing filters allow to filter if a field has a value in a  
document, or not:  
[http://github.com/elasticsearch/elasticsearch/issues/closed#issue/445](http://github.com/elasticsearch/elasticsearch/issues/closed#issue/445).

There is also an extension syntax to a query string based queries:  
[http://github.com/elasticsearch/elasticsearch/issues/closed#issue/446](http://github.com/elasticsearch/elasticsearch/issues/closed#issue/446).

Note, this is a highly optimized implementation (post first invocation), and  
its better to use it then what was suggested previously (before this feature  
was available): field1[\* TO \*].

-shay.banon

---

<div class="post-metadata">

### Author: ![ppearcy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppearcy/32/980_2.png) [@ppearcy](https://discuss.elastic.co/u/ppearcy)
#### Post date: [October 22, 2010, 9:53pm UTC](https://discuss.elastic.co/t/just-pushed-exists-and-missing-filters-and-extension-to-use-them-in-query-string-query/3467/2 "2010-10-22T21:53:32Z")

</div>

Awesome, thank you!!!

On Oct 22, 9:57 am, Shay Banon [shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) wrote:

> Hey,
> 
> The exists and missing filters allow to filter if a field has a value in a  
> document, or not:[Issues · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/closed#issue/445).
> 
> There is also an extension syntax to a query string based queries:[Issues · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/closed#issue/446).
> 
> Note, this is a highly optimized implementation (post first invocation), and  
> its better to use it then what was suggested previously (before this feature  
> was available): field1[\* TO \*].
> 
> -shay.banon

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 4:17am UTC](https://discuss.elastic.co/t/just-pushed-exists-and-missing-filters-and-extension-to-use-them-in-query-string-query/3467/3 "2017-07-06T04:17:39Z")

</div>


