# Not clear Query DSL schema

**URL:** https://discuss.elastic.co/t/not-clear-query-dsl-schema/3944
**Category:** Elasticsearch
**Created:** [February 18, 2011, 8:35am UTC](https://discuss.elastic.co/t/not-clear-query-dsl-schema/3944 "2011-02-18T08:35:13Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Dmitry\_Karpich](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dmitry_karpich/32/3263_2.png) [@Dmitry\_Karpich](https://discuss.elastic.co/u/Dmitry_Karpich)
#### Post date: [February 18, 2011, 8:35am UTC](https://discuss.elastic.co/t/not-clear-query-dsl-schema/3944/1 "2011-02-18T08:35:13Z")

</div>

I learning to work with ES from GET with body queries. If I feeling right - it more power and comfort way to have deal with ES.

But I not sure about understanding correctly full DSL schema at [http://www.elasticsearch.org/guide/reference/query-dsl/](http://www.elasticsearch.org/guide/reference/query-dsl/) .

I misunderstood root object for queries and filters.

Is root for queries - { "query" : { | all queries is here | } } ?

And filters is { "filter" : { | all filters is here | } } ? I think I wrong there.

Is it possible, as future request, improve docs in this way?

Thanx.

Dmitry.

PS. Also its very helpfully to point me now.

---

<div class="post-metadata">

### Author: ![Dmitry\_Karpich](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dmitry_karpich/32/3263_2.png) [@Dmitry\_Karpich](https://discuss.elastic.co/u/Dmitry_Karpich)
#### Post date: [February 18, 2011, 2:42pm UTC](https://discuss.elastic.co/t/not-clear-query-dsl-schema/3944/2 "2011-02-18T14:42:37Z")

</div>

So, I search by myself amazing schema -

[http://groups.google.com/a/elasticsearch.com/group/users/browse\_thread/thread/549fb5ede5df6ff4/a8eaa00216e8f47d](http://groups.google.com/a/elasticsearch.com/group/users/browse_thread/thread/549fb5ede5df6ff4/a8eaa00216e8f47d)

I will print it. Realy.

---

<div class="post-metadata">

### Author: ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)
#### Post date: [February 18, 2011, 2:48pm UTC](https://discuss.elastic.co/t/not-clear-query-dsl-schema/3944/3 "2011-02-18T14:48:14Z")

</div>

On Fri, 2011-02-18 at 06:42 -0800, Meettya wrote:

> So, I search by myself amazing schema -
> 
> [http://groups.google.com/a/elasticsearch.com/group/users/browse\_thread/thread/549fb5ede5df6ff4/a8eaa00216e8f47d](http://groups.google.com/a/elasticsearch.com/group/users/browse_thread/thread/549fb5ede5df6ff4/a8eaa00216e8f47d)
> 
> I will print it. Realy.

Oooh that is very out of date. I stopped updating it months ago. not  
sure how accurate it is anymore, and it is certainly missing all of the  
newer features.

I stopped updating it because I felt that the docs were sufficiently  
good that it was no longer necessary:

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

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

clint

---

<div class="post-metadata">

### Author: ![Dmitry\_Karpich](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dmitry_karpich/32/3263_2.png) [@Dmitry\_Karpich](https://discuss.elastic.co/u/Dmitry_Karpich)
#### Post date: [February 18, 2011, 5:54pm UTC](https://discuss.elastic.co/t/not-clear-query-dsl-schema/3944/4 "2011-02-18T17:54:41Z")

</div>

On Feb 18, 2011, at 5:48 PM, Clinton Gormley wrote:

> On Fri, 2011-02-18 at 06:42 -0800, Meettya wrote:
> 
> > So, I search by myself amazing schema -
> > 
> > [http://groups.google.com/a/elasticsearch.com/group/users/browse\_thread/thread/549fb5ede5df6ff4/a8eaa00216e8f47d](http://groups.google.com/a/elasticsearch.com/group/users/browse_thread/thread/549fb5ede5df6ff4/a8eaa00216e8f47d)
> > 
> > I will print it. Realy.
> 
> Oooh that is very out of date. I stopped updating it months ago. not  
> sure how accurate it is anymore, and it is certainly missing all of the  
> newer features.

Thats is perfect schema. It`s explain for me all and give me conception.

> I stopped updating it because I felt that the docs were sufficiently  
> good that it was no longer necessary:
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/query-dsl/)
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/search/)

Yes, docs are good, but I don't see schema. I think its are necessary add to docs for fast loockup and understand syntax .

Anyway, thanx a lot. I broke my brain trying to imagine it.

Meettya.

> clint

---

<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:11am UTC](https://discuss.elastic.co/t/not-clear-query-dsl-schema/3944/5 "2017-07-06T04:11:51Z")

</div>


