# What is wrong with this query

**URL:** <https://discuss.elastic.co/t/what-is-wrong-with-this-query/16616>\
**Category:** Elasticsearch\
**Created:** [March 26, 2014, 3:24pm UTC](https://discuss.elastic.co/t/what-is-wrong-with-this-query/16616 "2014-03-26T15:24:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kina\_Shah](https://avatars.discourse-cdn.com/v4/letter/k/4bbf92/32.png) [@Kina\_Shah](https://discuss.elastic.co/u/Kina_Shah)\
**Post date:** [March 26, 2014, 3:24pm UTC](https://discuss.elastic.co/t/what-is-wrong-with-this-query/16616/1 "2014-03-26T15:24:33Z")

</div>

Hi,

I am trying to apply the custom filter score to a filtered query. The  
filtered query works fine, but when I wrap the custom filter score with  
filters around it it gives me error. Listed below is the query. Can  
someone tell me what's wrong with it?

POST \_search  
{  
"query":  
{  
"custom\_filters\_score":  
{  
"query":  
{  
"filtered":  
{  
"query":  
{  
"match\_all": {}  
},  
"filter":  
{  
"or":  
[  
{  
"geo\_distance" :  
{  
"distance" : "20km",  
"senGeoPointLst" :  
{  
"lat" : 31.8655875846,  
"lon" : 65.8461840664  
}  
}  
},  
{  
"geo\_distance" :  
{  
"distance" : "20km",  
"fcGeoPointLst" :  
{  
"lat" : 88.1,  
"lon" : -120.1  
}  
}  
}  
]  
}  
}  
},  
" filters":  
[  
{  
"geo\_distance" :  
{  
"distance" : "20km",  
"fcGeoPointLst" :  
{  
"lat" : 88.1,  
"lon" : -120.1  
}  
},  
"boost":3  
}  
]  
}  
}  
}

The error I get is :QueryParsingException[[hws] [custom\_filters\_score]  
query does not support [filters]]; }]",

Thanks!

--  
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/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [March 26, 2014, 6:05pm UTC](https://discuss.elastic.co/t/what-is-wrong-with-this-query/16616/2 "2014-03-26T18:05:09Z")

</div>

Which version of Elasticsearch are you using? The custom filters score  
query was deprecated in 0.90,4 and removed in 1.0.

> **[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.

Look into using function score queries.

--  
Ivan

On Wed, Mar 26, 2014 at 8:24 AM, Kina Shah [kinashah0@gmail.com](mailto:kinashah0@gmail.com) wrote:

> Hi,
> 
> I am trying to apply the custom filter score to a filtered query. The  
> filtered query works fine, but when I wrap the custom filter score with  
> filters around it it gives me error. Listed below is the query. Can  
> someone tell me what's wrong with it?
> 
> POST \_search  
> {  
> "query":  
> {  
> "custom\_filters\_score":  
> {  
> "query":  
> {  
> "filtered":  
> {  
> "query":  
> {  
> "match\_all": {}  
> },  
> "filter":  
> {  
> "or":  
> [  
> {  
> "geo\_distance" :  
> {  
> "distance" : "20km",  
> "senGeoPointLst" :  
> {  
> "lat" : 31.8655875846,  
> "lon" : 65.8461840664  
> }  
> }  
> },  
> {  
> "geo\_distance" :  
> {  
> "distance" : "20km",  
> "fcGeoPointLst" :  
> {  
> "lat" : 88.1,  
> "lon" : -120.1  
> }  
> }  
> }  
> ]  
> }  
> }  
> },  
> " filters":  
> [  
> {  
> "geo\_distance" :  
> {  
> "distance" : "20km",  
> "fcGeoPointLst" :  
> {  
> "lat" : 88.1,  
> "lon" : -120.1  
> }  
> },  
> "boost":3  
> }  
> ]  
> }  
> }  
> }
> 
> The error I get is :QueryParsingException[[hws] [custom\_filters\_score]  
> query does not support [filters]]; }]",
> 
> Thanks!
> 
> --  
> 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/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%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/CALY%3DcQCwwY8w67gpVxfqgUrtOjG0o78unsn6uPEH5pJ%2BBY0wJA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCwwY8w67gpVxfqgUrtOjG0o78unsn6uPEH5pJ%2BBY0wJA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Kina\_Shah](https://avatars.discourse-cdn.com/v4/letter/k/4bbf92/32.png) [@Kina\_Shah](https://discuss.elastic.co/u/Kina_Shah)\
**Post date:** [March 26, 2014, 7:43pm UTC](https://discuss.elastic.co/t/what-is-wrong-with-this-query/16616/3 "2014-03-26T19:43:53Z")

</div>

Ivan,

Thanks for your reply. Yes, I am using 1.0. I went over the Function Score  
documentation, but its bit confusing. Do you have any example of Function  
Score queries?

Thanks!

On Wednesday, March 26, 2014 2:05:09 PM UTC-4, Ivan Brusic wrote:

> Which version of Elasticsearch are you using? The custom filters score  
> query was deprecated in 0.90,4 and removed in 1.0.
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/query-dsl-custom-filters-score-query.html)[http://www.google.com/url?q=http%3A%2F%2Fwww.elasticsearch.org%2Fguide%2Fen%2Felasticsearch%2Freference%2F0.90%2Fquery-dsl-custom-filters-score-query.html&sa=D&sntz=1&usg=AFQjCNEdX\_xYmhxziBbqEV\_sPF6Dvwb5mg](http://www.google.com/url?q=http%3A%2F%2Fwww.elasticsearch.org%2Fguide%2Fen%2Felasticsearch%2Freference%2F0.90%2Fquery-dsl-custom-filters-score-query.html&sa=D&sntz=1&usg=AFQjCNEdX_xYmhxziBbqEV_sPF6Dvwb5mg)
> 
> Look into using function score queries.
> 
> --  
> Ivan
> 
> On Wed, Mar 26, 2014 at 8:24 AM, Kina Shah \<[kina...@gmail.com](mailto:kina...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > Hi,
> > 
> > I am trying to apply the custom filter score to a filtered query. The  
> > filtered query works fine, but when I wrap the custom filter score with  
> > filters around it it gives me error. Listed below is the query. Can  
> > someone tell me what's wrong with it?
> > 
> > POST \_search  
> > {  
> > "query":  
> > {  
> > "custom\_filters\_score":  
> > {  
> > "query":  
> > {  
> > "filtered":  
> > {  
> > "query":  
> > {  
> > "match\_all": {}  
> > },  
> > "filter":  
> > {  
> > "or":  
> > [  
> > {  
> > "geo\_distance" :  
> > {  
> > "distance" : "20km",  
> > "senGeoPointLst" :  
> > {  
> > "lat" : 31.8655875846,  
> > "lon" : 65.8461840664  
> > }  
> > }  
> > },  
> > {  
> > "geo\_distance" :  
> > {  
> > "distance" : "20km",  
> > "fcGeoPointLst" :  
> > {  
> > "lat" : 88.1,  
> > "lon" : -120.1  
> > }  
> > }  
> > }  
> > ]  
> > }  
> > }  
> > },  
> > " filters":  
> > [  
> > {  
> > "geo\_distance" :  
> > {  
> > "distance" : "20km",  
> > "fcGeoPointLst" :  
> > {  
> > "lat" : 88.1,  
> > "lon" : -120.1  
> > }  
> > },  
> > "boost":3  
> > }  
> > ]  
> > }  
> > }  
> > }
> > 
> > The error I get is :QueryParsingException[[hws] [custom\_filters\_score]  
> > query does not support [filters]]; }]",
> > 
> > Thanks!
> > 
> > --  
> > 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/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%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/796ce883-453e-4a43-b183-285bebf651b9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/796ce883-453e-4a43-b183-285bebf651b9%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [March 26, 2014, 9:17pm UTC](https://discuss.elastic.co/t/what-is-wrong-with-this-query/16616/4 "2014-03-26T21:17:56Z")

</div>

There is a skeleton example at the very bottom:

> **[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.

--  
Ivan

On Wed, Mar 26, 2014 at 12:43 PM, Kina Shah [kinashah0@gmail.com](mailto:kinashah0@gmail.com) wrote:

> Ivan,
> 
> Thanks for your reply. Yes, I am using 1.0. I went over the Function Score  
> documentation, but its bit confusing. Do you have any example of Function  
> Score queries?
> 
> Thanks!
> 
> On Wednesday, March 26, 2014 2:05:09 PM UTC-4, Ivan Brusic wrote:
> 
> > Which version of Elasticsearch are you using? The custom filters score  
> > query was deprecated in 0.90,4 and removed in 1.0.
> > 
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/)  
> > reference/0.90/query-dsl-custom-filters-score-query.html[http://www.google.com/url?q=http%3A%2F%2Fwww.elasticsearch.org%2Fguide%2Fen%2Felasticsearch%2Freference%2F0.90%2Fquery-dsl-custom-filters-score-query.html&sa=D&sntz=1&usg=AFQjCNEdX\_xYmhxziBbqEV\_sPF6Dvwb5mg](http://www.google.com/url?q=http%3A%2F%2Fwww.elasticsearch.org%2Fguide%2Fen%2Felasticsearch%2Freference%2F0.90%2Fquery-dsl-custom-filters-score-query.html&sa=D&sntz=1&usg=AFQjCNEdX_xYmhxziBbqEV_sPF6Dvwb5mg)
> > 
> > Look into using function score queries.
> > 
> > --  
> > Ivan
> > 
> > On Wed, Mar 26, 2014 at 8:24 AM, Kina Shah [kina...@gmail.com](mailto:kina...@gmail.com) wrote:
> > 
> > > Hi,
> > > 
> > > I am trying to apply the custom filter score to a filtered query. The  
> > > filtered query works fine, but when I wrap the custom filter score with  
> > > filters around it it gives me error. Listed below is the query. Can  
> > > someone tell me what's wrong with it?
> > > 
> > > POST \_search  
> > > {  
> > > "query":  
> > > {  
> > > "custom\_filters\_score":  
> > > {  
> > > "query":  
> > > {  
> > > "filtered":  
> > > {  
> > > "query":  
> > > {  
> > > "match\_all": {}  
> > > },  
> > > "filter":  
> > > {  
> > > "or":  
> > > [  
> > > {  
> > > "geo\_distance" :  
> > > {  
> > > "distance" : "20km",  
> > > "senGeoPointLst" :  
> > > {  
> > > "lat" : 31.8655875846,  
> > > "lon" : 65.8461840664  
> > > }  
> > > }  
> > > },  
> > > {  
> > > "geo\_distance" :  
> > > {  
> > > "distance" : "20km",  
> > > "fcGeoPointLst" :  
> > > {  
> > > "lat" : 88.1,  
> > > "lon" : -120.1  
> > > }  
> > > }  
> > > }  
> > > ]  
> > > }  
> > > }  
> > > },  
> > > " filters":  
> > > [  
> > > {  
> > > "geo\_distance" :  
> > > {  
> > > "distance" : "20km",  
> > > "fcGeoPointLst" :  
> > > {  
> > > "lat" : 88.1,  
> > > "lon" : -120.1  
> > > }  
> > > },  
> > > "boost":3  
> > > }  
> > > ]  
> > > }  
> > > }  
> > > }
> > > 
> > > The error I get is :QueryParsingException[[hws] [custom\_filters\_score]  
> > > query does not support [filters]]; }]",
> > > 
> > > Thanks!
> > > 
> > > --  
> > > 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/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%  
> > > [40googlegroups.com](http://40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%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/796ce883-453e-4a43-b183-285bebf651b9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/796ce883-453e-4a43-b183-285bebf651b9%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/796ce883-453e-4a43-b183-285bebf651b9%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/796ce883-453e-4a43-b183-285bebf651b9%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/CALY%3DcQCajt%3DvsHLm%3DCv6ESd1nY1\_TXFojdbxjgc2BTHd8t7w1Q%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCajt%3DvsHLm%3DCv6ESd1nY1_TXFojdbxjgc2BTHd8t7w1Q%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Kina\_Shah](https://avatars.discourse-cdn.com/v4/letter/k/4bbf92/32.png) [@Kina\_Shah](https://discuss.elastic.co/u/Kina_Shah)\
**Post date:** [March 27, 2014, 4:16pm UTC](https://discuss.elastic.co/t/what-is-wrong-with-this-query/16616/5 "2014-03-27T16:16:14Z")

</div>

Thanks, Ivan! Any such example using java api?

On Wednesday, March 26, 2014 5:17:56 PM UTC-4, Ivan Brusic wrote:

> There is a skeleton example at the very bottom:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#_relation_to_literal_custom_boost_literal_literal_custom_score_literal_and_literal_custom_filters_score_literal)
> 
> --  
> Ivan
> 
> On Wed, Mar 26, 2014 at 12:43 PM, Kina Shah \<[kina...@gmail.com](mailto:kina...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > Ivan,
> > 
> > Thanks for your reply. Yes, I am using 1.0. I went over the Function  
> > Score documentation, but its bit confusing. Do you have any example of  
> > Function Score queries?
> > 
> > Thanks!
> > 
> > On Wednesday, March 26, 2014 2:05:09 PM UTC-4, Ivan Brusic wrote:
> > 
> > > Which version of Elasticsearch are you using? The custom filters score  
> > > query was deprecated in 0.90,4 and removed in 1.0.
> > > 
> > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/)  
> > > reference/0.90/query-dsl-custom-filters-score-query.html[http://www.google.com/url?q=http%3A%2F%2Fwww.elasticsearch.org%2Fguide%2Fen%2Felasticsearch%2Freference%2F0.90%2Fquery-dsl-custom-filters-score-query.html&sa=D&sntz=1&usg=AFQjCNEdX\_xYmhxziBbqEV\_sPF6Dvwb5mg](http://www.google.com/url?q=http%3A%2F%2Fwww.elasticsearch.org%2Fguide%2Fen%2Felasticsearch%2Freference%2F0.90%2Fquery-dsl-custom-filters-score-query.html&sa=D&sntz=1&usg=AFQjCNEdX_xYmhxziBbqEV_sPF6Dvwb5mg)
> > > 
> > > Look into using function score queries.
> > > 
> > > --  
> > > Ivan
> > > 
> > > On Wed, Mar 26, 2014 at 8:24 AM, Kina Shah [kina...@gmail.com](mailto:kina...@gmail.com) wrote:
> > > 
> > > > Hi,
> > > > 
> > > > I am trying to apply the custom filter score to a filtered query. The  
> > > > filtered query works fine, but when I wrap the custom filter score with  
> > > > filters around it it gives me error. Listed below is the query. Can  
> > > > someone tell me what's wrong with it?
> > > > 
> > > > POST \_search  
> > > > {  
> > > > "query":  
> > > > {  
> > > > "custom\_filters\_score":  
> > > > {  
> > > > "query":  
> > > > {  
> > > > "filtered":  
> > > > {  
> > > > "query":  
> > > > {  
> > > > "match\_all": {}  
> > > > },  
> > > > "filter":  
> > > > {  
> > > > "or":  
> > > > [  
> > > > {  
> > > > "geo\_distance" :  
> > > > {  
> > > > "distance" : "20km",  
> > > > "senGeoPointLst" :  
> > > > {  
> > > > "lat" : 31.8655875846,  
> > > > "lon" : 65.8461840664  
> > > > }  
> > > > }  
> > > > },  
> > > > {  
> > > > "geo\_distance" :  
> > > > {  
> > > > "distance" : "20km",  
> > > > "fcGeoPointLst" :  
> > > > {  
> > > > "lat" : 88.1,  
> > > > "lon" : -120.1  
> > > > }  
> > > > }  
> > > > }  
> > > > ]  
> > > > }  
> > > > }  
> > > > },  
> > > > " filters":  
> > > > [  
> > > > {  
> > > > "geo\_distance" :  
> > > > {  
> > > > "distance" : "20km",  
> > > > "fcGeoPointLst" :  
> > > > {  
> > > > "lat" : 88.1,  
> > > > "lon" : -120.1  
> > > > }  
> > > > },  
> > > > "boost":3  
> > > > }  
> > > > ]  
> > > > }  
> > > > }  
> > > > }
> > > > 
> > > > The error I get is :QueryParsingException[[hws] [custom\_filters\_score]  
> > > > query does not support [filters]]; }]",
> > > > 
> > > > Thanks!
> > > > 
> > > > --  
> > > > 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/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%  
> > > > [40googlegroups.com](http://40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/0f7141d1-bb1f-49b5-ac5b-a4dc0c785138%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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/796ce883-453e-4a43-b183-285bebf651b9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/796ce883-453e-4a43-b183-285bebf651b9%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/796ce883-453e-4a43-b183-285bebf651b9%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/796ce883-453e-4a43-b183-285bebf651b9%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/3c7e840e-3e72-40d5-b6f7-168291df2607%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3c7e840e-3e72-40d5-b6f7-168291df2607%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:40am UTC](https://discuss.elastic.co/t/what-is-wrong-with-this-query/16616/6 "2017-07-06T01:40:06Z")

</div>


