top | item 7769709

(no title)

andrewgross | 11 years ago

Thanks for sharing this, didn't know about it. Always nice to see how other people tackle the same issue.

discuss

order

coolsunglasses|11 years ago

Putting together and composing queries in ES is error prone and I have grown quite allergic to libraries that just write off the query/filter API ES provides as "json blob lol lol".

You can lose massive amounts of time debugging a broken query in ES, due in no small part to a lack of an explicit spec.

To respond to the mis-aimed comment:

It's not about just beginning learning - it's a problem the moment you want to properly compose queries and not just have dumb templates.

I am not new to ES, I've been using it for years.

I understand wanting directness and the full breadth of the Elasticsearch API (thus moving away from Haystack), but not actually supporting anything in the API (which is the actual hard work, not wrapping an http-client) is problematic.

andrewgross|11 years ago

Agreed. I had a rough time when I was first learning how to manually build queries as there are few examples of complex queries.