Bird’s Eye View of the ElasticSearch Query DSL
Peter Karich.
From the post:
I’ve copied the whole post into a gist so that you can simply clone, copy and paste the important stuff and even could contribute easily.
Several times per month there are questions regarding the query structure on the ElasticSearch user group.
Although there are good docs explaining this in depth, I think a bird’s eye view of the Query DSL is necessary to understand what is written there. There is even some good external documentation available. And there were attempts to define a schema but nevertheless I’ll add my 2 cents here. I assume you set up your ElasticSearch instance correctly and on the local machine filled with exactly those 3 articles.
Do you have a feel for what a “bird’s eye view” would say about the differences in NoSQL query languages?
SQL has been relatively uniform, enabling users to learn the basics and then fill in the particulars as necessary. How far are we from a query DSL that obscures most of the differences from the average user?