# Query and Filter

**URL:** https://discuss.elastic.co/t/query-and-filter/17086
**Category:** Elasticsearch
**Created:** [April 18, 2014, 7:52pm UTC](https://discuss.elastic.co/t/query-and-filter/17086 "2014-04-18T19:52:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![mhughes](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mhughes](https://discuss.elastic.co/u/mhughes)
#### Post date: [April 18, 2014, 7:52pm UTC](https://discuss.elastic.co/t/query-and-filter/17086/1 "2014-04-18T19:52:34Z")

</div>

Trying to compose a query and filter combination to no avail:

{  
"from":0,  
"size":200,  
"query":{  
"filtered":{  
"query":{  
"query\_string":{  
"fields":[  
"\_all"  
],  
"query":""Test message""  
}  
},  
"filter":{  
"and":[  
{  
"term":{  
"appId":"a32b782c-3c51-4d76-9b01-c4c1ffe53d8b"  
}  
},  
{  
"term":{  
"processId":"754311ef-d807-4bb4-8c5e-1b480fb7034f"  
}  
}  
]  
}  
}  
}  
}

That parses fine by ES, but never returns the results. I know the two  
fields are correct and in my index. If I take off the 'filter', I get the  
expected results, but I need the filter to narrow the results. When I  
compose the same query using Kibana, it tries to use an 'ffilter' query  
which I don't see documented anywhere:

"filter": {  
"bool": {  
"must": [  
{  
"terms": {  
"\_type": [  
"event"  
]  
}  
},  
{  
"fquery": {  
"query": {  
"query\_string": {  
"query": "appId:("a32b782c-3c51-4d76-9b01-c4c1ffe53d8b")"  
}  
},  
"\_cache": true  
}  
}  
]  
}

Any pointers would be most appreciated. Pulling my hair out here.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![mattweber](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattweber/32/44940_2.png) [@mattweber](https://discuss.elastic.co/u/mattweber)
#### Post date: [April 18, 2014, 8:07pm UTC](https://discuss.elastic.co/t/query-and-filter/17086/2 "2014-04-18T20:07:31Z")

</div>

Chances are your appId and processId fields are analyzed so it is breaking  
up the id's. Update your mapping of these fields so it is not analyzed  
[1]. Also, you should not use an "and" filter to combine term filters.  
Use a boolean filter [2] with must clauses for better performance. Read  
why at  
[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/blog/all-about-elasticsearch-filter-bitsets/).

[1]

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

[2]

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Thanks,  
Matt Weber

On Fri, Apr 18, 2014 at 12:52 PM, Matt Hughes [hughes.matt@gmail.com](mailto:hughes.matt@gmail.com) wrote:

> Trying to compose a query and filter combination to no avail:
> 
> {  
> "from":0,  
> "size":200,  
> "query":{  
> "filtered":{  
> "query":{  
> "query\_string":{  
> "fields":[  
> "\_all"  
> ],  
> "query":""Test message""  
> }  
> },  
> "filter":{  
> "and":[  
> {  
> "term":{  
> "appId":"a32b782c-3c51-4d76-9b01-c4c1ffe53d8b"  
> }  
> },  
> {  
> "term":{  
> "processId":"754311ef-d807-4bb4-8c5e-1b480fb7034f"  
> }  
> }  
> ]  
> }  
> }  
> }  
> }
> 
> That parses fine by ES, but never returns the results. I know the two  
> fields are correct and in my index. If I take off the 'filter', I get the  
> expected results, but I need the filter to narrow the results. When I  
> compose the same query using Kibana, it tries to use an 'ffilter' query  
> which I don't see documented anywhere:
> 
> "filter": {  
> "bool": {  
> "must": [  
> {  
> "terms": {  
> "\_type": [  
> "event"  
> ]  
> }  
> },  
> {  
> "fquery": {  
> "query": {  
> "query\_string": {  
> "query": "appId:("a32b782c-3c51-4d76-9b01-c4c1ffe53d8b")"  
> }  
> },  
> "\_cache": true  
> }  
> }  
> ]  
> }
> 
> Any pointers would be most appreciated. Pulling my hair out here.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAJ3KEoBc0EmeY5yUo0juR5EUuOR%3DmuaROPbYKJJ9u7qP\_-HB9w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAJ3KEoBc0EmeY5yUo0juR5EUuOR%3DmuaROPbYKJJ9u7qP_-HB9w%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![mhughes](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mhughes](https://discuss.elastic.co/u/mhughes)
#### Post date: [April 18, 2014, 9:51pm UTC](https://discuss.elastic.co/t/query-and-filter/17086/3 "2014-04-18T21:51:31Z")

</div>

Thanks for the quick reply!

I updated the mappings and confirmed both types read not\_analyzed. I also  
updated the query to use bool/must:

{  
"from":0,  
"size":200,  
"query":{  
"filtered":{  
"query":{  
"query\_string":{  
"fields":[  
"\_all"  
],  
"query":""Test message from AT by user admin was  
generated""  
}  
},  
"filter":{  
"bool":{  
"must":[  
{  
"term":{  
"where.appId":"12229ac6-8e9a-43ff-ab67-e80f3c585a69"  
}  
},  
{  
"term":{  
"where.processId":  
"bd13dbe5-0a4c-4469-a645-44cb3fde280a"  
}  
}  
]  
}  
}  
}  
}  
}

Still not getting any hits though. Tried escaping the terms. Is there  
anything special about having nested field names like that  
'where.processId'?

On Friday, April 18, 2014 4:07:31 PM UTC-4, Matt Weber wrote:

> Chances are your appId and processId fields are analyzed so it is breaking  
> up the id's. Update your mapping of these fields so it is not analyzed  
> [1]. Also, you should not use an "and" filter to combine term filters.  
> Use a boolean filter [2] with must clauses for better performance. Read  
> why at  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/blog/all-about-elasticsearch-filter-bitsets/).
> 
> [1]  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html#string)  
> [2]  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-bool-filter.html)
> 
> Thanks,  
> Matt Weber
> 
> On Fri, Apr 18, 2014 at 12:52 PM, Matt Hughes \<[hughe...@gmail.com](mailto:hughe...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > Trying to compose a query and filter combination to no avail:
> > 
> > {  
> > "from":0,  
> > "size":200,  
> > "query":{  
> > "filtered":{  
> > "query":{  
> > "query\_string":{  
> > "fields":[  
> > "\_all"  
> > ],  
> > "query":""Test message""  
> > }  
> > },  
> > "filter":{  
> > "and":[  
> > {  
> > "term":{  
> > "appId":"a32b782c-3c51-4d76-9b01-c4c1ffe53d8b"  
> > }  
> > },  
> > {  
> > "term":{  
> > "processId":"754311ef-d807-4bb4-8c5e-1b480fb7034f"  
> > }  
> > }  
> > ]  
> > }  
> > }  
> > }  
> > }
> > 
> > That parses fine by ES, but never returns the results. I know the two  
> > fields are correct and in my index. If I take off the 'filter', I get the  
> > expected results, but I need the filter to narrow the results. When I  
> > compose the same query using Kibana, it tries to use an 'ffilter' query  
> > which I don't see documented anywhere:
> > 
> > "filter": {
> > 
> > ```
> > "bool": {
> > "must": [
> > 
> > {
> > "terms": {
> > 
> > "_type": [
> > "event"
> > 
> > ]
> > }
> > },
> > {
> > 
> > "fquery": {
> > "query": {
> > 
> > "query_string": {
> > "query": "appId:(\"a32b782c-3c51-4d76-9b01-c4c1ffe53d8b\")"
> > 
> > }
> > },
> > "_cache": true
> > 
> > }
> > }
> > ]
> > }
> > 
> > ```
> > 
> > Any pointers would be most appreciated. Pulling my hair out here.
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/58feafb8-1110-4630-8cbd-ebfd5fef0809%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/58feafb8-1110-4630-8cbd-ebfd5fef0809%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![mattweber](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattweber/32/44940_2.png) [@mattweber](https://discuss.elastic.co/u/mattweber)
#### Post date: [April 18, 2014, 11:24pm UTC](https://discuss.elastic.co/t/query-and-filter/17086/4 "2014-04-18T23:24:06Z")

</div>

Did you reindex your docs after updating the mapping? Can you post your  
mapping and original docs?

On Friday, April 18, 2014, Matt Hughes [hughes.matt@gmail.com](mailto:hughes.matt@gmail.com) wrote:

> Thanks for the quick reply!
> 
> I updated the mappings and confirmed both types read not\_analyzed. I  
> also updated the query to use bool/must:
> 
> {  
> "from":0,  
> "size":200,  
> "query":{  
> "filtered":{  
> "query":{  
> "query\_string":{  
> "fields":[  
> "\_all"  
> ],  
> "query":""Test message from AT by user admin was  
> generated""  
> }  
> },  
> "filter":{  
> "bool":{  
> "must":[  
> {  
> "term":{  
> "where.appId":  
> "12229ac6-8e9a-43ff-ab67-e80f3c585a69"  
> }  
> },  
> {  
> "term":{  
> "where.processId":  
> "bd13dbe5-0a4c-4469-a645-44cb3fde280a"  
> }  
> }  
> ]  
> }  
> }  
> }  
> }  
> }
> 
> Still not getting any hits though. Tried escaping the terms. Is there  
> anything special about having nested field names like that  
> 'where.processId'?
> 
> On Friday, April 18, 2014 4:07:31 PM UTC-4, Matt Weber wrote:
> 
> > Chances are your appId and processId fields are analyzed so it is  
> > breaking up the id's. Update your mapping of these fields so it is not  
> > analyzed [1]. Also, you should not use an "and" filter to combine term  
> > filters. Use a boolean filter [2] with must clauses for better  
> > performance. Read why at [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/blog/all-about-)  
> > elasticsearch-filter-bitsets/.
> > 
> > [1] [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/)  
> > reference/current/mapping-core-types.html#string  
> > [2] [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/)  
> > reference/current/query-dsl-bool-filter.html
> > 
> > Thanks,  
> > Matt Weber
> > 
> > On Fri, Apr 18, 2014 at 12:52 PM, Matt Hughes [hughe...@gmail.com](mailto:hughe...@gmail.com) wrote:
> > 
> > > Trying to compose a query and filter combination to no avail:
> > > 
> > > {  
> > > "from":0,  
> > > "size":200,  
> > > "query":{  
> > > "filtered":{  
> > > "query":{  
> > > "query\_string":{  
> > > "fields":[  
> > > "\_all"  
> > > ],  
> > > "query":""Test message""  
> > > }  
> > > },  
> > > "filter":{  
> > > "and":[  
> > > {  
> > > "term":{  
> > > "appId":"a32b782c-3c51-4d76-9b01-c4c1ffe53d8b"  
> > > }  
> > > },  
> > > {  
> > > "term":{  
> > > "processId":"754311ef-d807-4bb4-8c5e-1b480fb7034f"  
> > > }  
> > > }  
> > > ]  
> > > }  
> > > }  
> > > }  
> > > }
> > > 
> > > That parses fine by ES, but never returns the results. I know the two  
> > > fields are correct and in my index. If I take off the 'filter', I get the  
> > > expected results, but I need the filter to narrow the results. When I  
> > > compose the same query using Kibana, it tries to use an 'ffilter' query  
> > > which I don't see documented anywhere:
> > > 
> > > "filter": {
> > > 
> > > ```
> > > "bool": {
> > > "must": [
> > > 
> > > {
> > > "terms": {
> > > 
> > > "_type": [
> > > "event"
> > > 
> > > ]
> > > }
> > > },
> > > {
> > > 
> > > "fquery": {
> > > "query"
> > > 
> > > ```
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%  
> > > [40googlegroups.com](http://40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com)\<javascript:\_e(%7B%7D,'cvml','elasticsearch%2Bunsubscribe@googlegroups.com');\>  
> > .  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/58feafb8-1110-4630-8cbd-ebfd5fef0809%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/58feafb8-1110-4630-8cbd-ebfd5fef0809%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/58feafb8-1110-4630-8cbd-ebfd5fef0809%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/58feafb8-1110-4630-8cbd-ebfd5fef0809%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
Thanks,  
Matt Weber

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAJ3KEoDaNmkYnDUpb4yXqSqx1Hd%3Dg7f%2BgXi1%2BuQVRMAjfs3W5A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAJ3KEoDaNmkYnDUpb4yXqSqx1Hd%3Dg7f%2BgXi1%2BuQVRMAjfs3W5A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![mhughes](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mhughes](https://discuss.elastic.co/u/mhughes)
#### Post date: [April 18, 2014, 11:39pm UTC](https://discuss.elastic.co/t/query-and-filter/17086/5 "2014-04-18T23:39:21Z")

</div>

Nevermind. It was an error on my part; these changes worked. Thanks again!

On Friday, April 18, 2014 5:51:31 PM UTC-4, Matt Hughes wrote:

> Thanks for the quick reply!
> 
> I updated the mappings and confirmed both types read not\_analyzed. I  
> also updated the query to use bool/must:
> 
> {  
> "from":0,  
> "size":200,  
> "query":{  
> "filtered":{  
> "query":{  
> "query\_string":{  
> "fields":[  
> "\_all"  
> ],  
> "query":""Test message from AT by user admin was  
> generated""  
> }  
> },  
> "filter":{  
> "bool":{  
> "must":[  
> {  
> "term":{  
> "where.appId":  
> "12229ac6-8e9a-43ff-ab67-e80f3c585a69"  
> }  
> },  
> {  
> "term":{  
> "where.processId":  
> "bd13dbe5-0a4c-4469-a645-44cb3fde280a"  
> }  
> }  
> ]  
> }  
> }  
> }  
> }  
> }
> 
> Still not getting any hits though. Tried escaping the terms. Is there  
> anything special about having nested field names like that  
> 'where.processId'?
> 
> On Friday, April 18, 2014 4:07:31 PM UTC-4, Matt Weber wrote:
> 
> > Chances are your appId and processId fields are analyzed so it is  
> > breaking up the id's. Update your mapping of these fields so it is not  
> > analyzed [1]. Also, you should not use an "and" filter to combine term  
> > filters. Use a boolean filter [2] with must clauses for better  
> > performance. Read why at  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/blog/all-about-elasticsearch-filter-bitsets/)  
> > .
> > 
> > [1]  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html#string)  
> > [2]  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-bool-filter.html)
> > 
> > Thanks,  
> > Matt Weber
> > 
> > On Fri, Apr 18, 2014 at 12:52 PM, Matt Hughes [hughe...@gmail.com](mailto:hughe...@gmail.com) wrote:
> > 
> > > Trying to compose a query and filter combination to no avail:
> > > 
> > > {  
> > > "from":0,  
> > > "size":200,  
> > > "query":{  
> > > "filtered":{  
> > > "query":{  
> > > "query\_string":{  
> > > "fields":[  
> > > "\_all"  
> > > ],  
> > > "query":""Test message""  
> > > }  
> > > },  
> > > "filter":{  
> > > "and":[  
> > > {  
> > > "term":{  
> > > "appId":"a32b782c-3c51-4d76-9b01-c4c1ffe53d8b"  
> > > }  
> > > },  
> > > {  
> > > "term":{  
> > > "processId":"754311ef-d807-4bb4-8c5e-1b480fb7034f"  
> > > }  
> > > }  
> > > ]  
> > > }  
> > > }  
> > > }  
> > > }
> > > 
> > > That parses fine by ES, but never returns the results. I know the two  
> > > fields are correct and in my index. If I take off the 'filter', I get the  
> > > expected results, but I need the filter to narrow the results. When I  
> > > compose the same query using Kibana, it tries to use an 'ffilter' query  
> > > which I don't see documented anywhere:
> > > 
> > > "filter": {
> > > 
> > > ```
> > > "bool": {
> > > "must": [
> > > 
> > > {
> > > "terms": {
> > > 
> > > "_type": [
> > > "event"
> > > 
> > > ]
> > > }
> > > },
> > > {
> > > 
> > > "fquery": {
> > > "query": {
> > > 
> > > "query_string": {
> > > "query": "appId:(\"a32b782c-3c51-4d76-9b01-c4c1ffe53d8b\")"
> > > 
> > > }
> > > },
> > > "_cache": true
> > > 
> > > }
> > > }
> > > ]
> > > }
> > > 
> > > ```
> > > 
> > > Any pointers would be most appreciated. Pulling my hair out here.
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/4a88afad-971d-4d3a-8ddf-a947ff82c99d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4a88afad-971d-4d3a-8ddf-a947ff82c99d%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:34am UTC](https://discuss.elastic.co/t/query-and-filter/17086/6 "2017-07-06T01:34:54Z")

</div>


