forked from globocom/tornado-es
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support changes in ES since version 1.0
Changes: * Adapt ESConnection.count() to use a top-level `query` parameter * Use `term` query instead of `text` * Don't expect a hard-coded `"ok": true` from response References: * http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/breaking-changes.html * http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/_return_values.html#_return_values * http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/_search_requests.html#_search_requests * elastic/elasticsearch#4033 * elastic/elasticsearch#4310 Thanks @luizgpsantos for estensive support
- Loading branch information
Showing
2 changed files
with
13 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters