A Twisted Elasticsearch client loosely based on PyES.
This repo is simply a fork of txes, however, the API has changed enough that I believe a name change was warranted. I also am not representing it as a fork on Github to avoid getting it confused with the 12 other forks of txes that have taken the software in different directions. So for clarity: I am not the original author of this library, jkoelker is. Thanks to all the other contributers who helped make this happen, listed in the Contributors section.
Available at Read The Docs.
BSD (as per original project).
- ES 5 compatibility thanks to @jwaterhouse.
- Renamed
ElasticSearch
toElasticsearch
(old name will still be available for backwards compatilibity). - Add
Elasticsearch.scroller
method and convertedscan
method into a scroller with_doc
ordering (thanks @bra-fsn). - Add
Scroller.delete
method for clearing scroller when finished.
- Support for ES 2.x (tested on ES 2.4.2).
- Removed more_like_this method.
- Removed delete_by_query method.
- Removed *_river methods.
- Removed
create_index_if_missing
method. - Removed
delete_index_if_exists
method. - Updated exception handling code.
- Perform retries and ensure bad nodes are taken out of the pool.
- Add support for HTTP auth (for people using Shield or Nginx in front of ES).
- Add support for HTTPS.
- Add support for
script_file
arg inpartial_update
(thanks @bra-fsn). - Ensure master-only nodes aren't included during Discovery (thanks @zsiddique).
- Fixed
scan
method (thanks @bra-fsn) and deprecated old methods. - Various bug fixes and test coverage increases.
- Check for connection pool before attempting to close it.
- Fixed incorrect method names.
- Small documentation fixes.
- Fixed small bug in
partial_update
method.
- Added
partial_update
method.
- Ensure
query_params
is used consistently across API. - Lots of test coverage.
- Remove legacy methods.
- Improved support for ES v1.x.
- Removed pip internals from setup.py all together.
- Ensure url path components are quoted.
- Fixed used of Pip session (thanks @reversefold).
- Fixed issue with setup.py on Pip versions > 6.
- Fixed
scan
method. - Increased test coverage.
- Fixed
delete_by_query
method. - Increased test coverage.
- Removed
reindex
method (relied on an obscure fork of ES).
- Split requirements into main/dev.
- Use treq's persistent arg if no pool passed in.
- Fixed broken requirements path.
- Doc updates.
- PEP8ified API.
- Added docs, tests & PyPi.
If you contribute to this project, feel free to add your name and/or Github username here.
- Jason Kölker (@jkoelker) - original author
- Zuhaib Siddique (@zsiddique)
- Lex Toumbourou (@lextoumbourou) - current maintainer
- Jon Waterhouse (@jwaterhouse) - ES 5 compatibility