Live data from Hacker News

Show HN: PyEQS – query Elasticsearch like a Django Queryset

github.com

21–26 of 26 posts

Re: Show HN: PyEQS – query Elasticsearch like a Django Queryset

#21
I am kinda newbie in search technology field. Can someone please explain what is difference between haystack, elastic search to me ? How does this compare to search engines like google , yahoo and others from application prospective ? Where to use haystack, elastic search and where not ?

Re: Show HN: PyEQS – query Elasticsearch like a Django Queryset

#24

Is the precommit hook[1] a custom one or is it an off-the-shelf Django recommended hook? Looks like it has some neat tricks and code style checking. [1]: https://github.com/Yipit/pyeqs/blob/master/pre-commit

It is a modified version of what we use at Yipit. I stripped out mostly things related to working with Django/Flask apps. It comes in very handy when making sure we maintain style and push fewer broken commits. Feel free to re-use.

Re: Show HN: PyEQS – query Elasticsearch like a Django Queryset

#25

Earlier quoted context omitted.

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

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 p…

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.

http://elasticutils.readthedocs.org/en/latest/

Re: Show HN: PyEQS – query Elasticsearch like a Django Queryset

#26

Earlier quoted context omitted.

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 p…

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. http://elasticutils.readthedocs.org/en/latest/

Yeah that looks to be closer to what I'd like, although it's still not type-safe.
Post reply on HN