Re:Show HN: PyEQS – query Elasticsearch like a Django Queryset
by andrewgross on Tuesday May 20, 2014 @10:17AM
(#7772628)
Are you referring to the drive to use more of a languages' built in operators to build queries, instead of my approach? I think the Mozilla library uses an approach like that.
Re:Show HN: PyEQS – query Elasticsearch like a Django Queryset
by coolsunglasses on Tuesday May 20, 2014 @05:17PM
(#7775243)
Yeah that looks to be closer to what I'd like, although it's still not type-safe.
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.