Skip to content
Python connector for ElasticSearch - the pythonic way to use ElasticSearch
Python Other
Find file
Latest commit d146d7c Oct 26, 2015 @aparo Merge pull request #502 from patilvikram/master
Added ids field to MoreLikeThisQuery
Failed to load latest commit information.
contrib/mailman Added contrib mailman indexing Dec 15, 2010
docs Update queries.rst: Grammar fix Jan 12, 2015
performance Fixed namespace errors Jun 20, 2014
pyes Updated code to handle default arguments correctly Oct 26, 2015
scripts Migrated StringQuery -> QueryStringQuery to use ES naming convention May 4, 2014
tests Merge pull request #466 from holm/master Jan 8, 2015
.gitignore Moved tests outside pyes code dir. Update references. Upgraded test e… Aug 23, 2012
AUTHORS Updated documentation Aug 25, 2012
Changelog Updated documentation Aug 25, 2012
FAQ Updated documentation Aug 25, 2012
INSTALL fixed some file permissions Jul 27, 2011
LICENSE fixed some file permissions Jul 27, 2011
MANIFEST.in fixed some file permissions Jul 27, 2011
README added thrift support Sep 11, 2010
README.md Update README.md Jan 12, 2015
README.rst Update README.rst Jan 12, 2015
THANKS fixed some file permissions Jul 27, 2011
TODO fixed some file permissions Jul 27, 2011
install_es.sh Updated es script to 1.7.3 Oct 18, 2015
migrate_deprecation.py Fixed some tests. Improved migration script. Aug 12, 2013
pyes_coverage.sh Moved tests outside pyes code dir. Update references. Upgraded test e… Aug 23, 2012
requirements_develop.txt Added thrift for unit testing requirements Mar 10, 2013
setup.cfg Moved tests outside pyes code dir. Update references. Upgraded test e… Aug 23, 2012
setup.py fix OrderedDict ImportError with Python < 2.7 Jun 4, 2014

README.md

pyes - Python ElasticSearch

Gitter

pyes is a pythonic way to use ElasticSearch since 2010.

This version requires elasticsearch 1.x or above. It's a pre release for pyes 1.x. Give a look to migrations documentation to upgrade you code for ElasticSearch 1.x.

We are working to provide full support to ElasticSearch 1.x (check the develop branch: we are using the git-flow workflow) that'll have:

  • connection based on Official ElasticSearch client ??
  • full support to ElasticSearch 1.x (removed old support due incompatibility with old version of ES)
  • migration from multi_field to >field>.fields
  • refactory of old code to be more pythonic
  • performance improvements

Features

  • Python3 support (only HTTP, thrift lib is not available on python3)
  • Thrift/HTTP protocols
  • Bulk insert/delete
  • Index management
  • Every search query types
  • Facet Support
  • Aggregation Support
  • Geolocalization support
  • Highlighting
  • Percolator
  • River support

Changelog

v. 0.99.0:

Migrated many code to ElasticSearch 1.x

Full coverage for actual queries

v. 0.99:

Added aggregation

Fix for python3 compatibility

Upgraded code to use ElasticSearch 1.x or above

v. 0.90.1:

Bug Fix releases for some python3 introduced regression

v. 0.90.0:

A lot of improvements.

Python 3 support.

Migration to version 0.99

CustomScoreQuery has been removed. The FunctionScoreQuery with its functions cover the previous functionalities. For scripting use ScriptScoreFunction.

TODO

  • much more documentation
  • add coverage
  • add jython native client protocol

License

This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text.

Something went wrong with that request. Please try again.