5 ms·
There are a couple of libraries listed below. Would using any of them make life easier with ElasticSearch + Python? - https://github.com/elasticsearch/elastics
by chdir 12y ago
There are a couple of libraries listed below. Would using any of them make life easier with ElasticSearch + Python?
- https://github.com/elasticsearch/elasticsearch-py https://github.com/elasticsearch/elasticsearch-py (low level lib, from ES)
- https://github.com/elasticsearch/elasticsearch-dsl-py https://github.com/elasticsearch/elasticsearch-dsl-py (high level lib, from ES)
- https://github.com/mozilla/elasticutils https://github.com/mozilla/elasticutils (high level lib from Mozilla)
There are a few more, but they are either obsolete or don't have much traction. There's also django-haystack, but that's specific to django.
- roshansingh 12y agoWe use https://github.com/elasticsearch/elasticsearch-py https://github.com/elasticsearch/elasticsearch-py. It will certainly make like easier.
- mrmondo 12y agoWe (Infoxchange) use the official elasticsearch-py, I believe it's not without it's frustrations but we've integrated Elasticsearch with part of our large database of health services in Australia as part of a complete re-write (Django) of a very old application (Perl). You can try it out here: https://www2.hsnet.nsw.gov.au https://www2.hsnet.nsw.gov.au Try searching for something like: psychiatrists near sydney cbd The site is self is mostly just a front-end (as designed by / for a client) running across several Docker containers for the database (PostgreSQL) which is indexed into Elasticsearch and queried via the Elasticsearch API / Python ES Libraries. If you're interested in Elasticsearch with Python / Django check out our (pretty crappy at the moment) tech blog: https://ixa.io https://ixa.io or our github: https://github.com/infoxchange https://github.com/infoxchange
- hughes 12y agoI've had a very positive experience with elasticutils. It provides filtering syntax very similar to Django ORM filters.
- glial 12y agoI use elasticsearch-dsl-py for constructing and testing complex queries. It's great, much easier than debugging deeply nested JSON queries.