Not clear Query DSL schema


(Dmitry Karpich) #1

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/ .

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.


(Dmitry Karpich) #2

So, I search by myself amazing schema -

http://groups.google.com/a/elasticsearch.com/group/users/browse_thread/thread/549fb5ede5df6ff4/a8eaa00216e8f47d

I will print it. Realy.


(Clinton Gormley) #3

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

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:

http://www.elasticsearch.org/guide/reference/query-dsl/

http://www.elasticsearch.org/guide/reference/api/search/

clint


(Dmitry Karpich) #4

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

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:

http://www.elasticsearch.org/guide/reference/query-dsl/

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


(system) #5