Honza Král
d8d1b4b0fa
Flatten namespaces, keep xpack access as failover
2019-12-22 16:32:49 +01:00
Francesco Vigliaturo and GitHub
d2a0cc62eb
fix host arg docs in the Elasticsearch class ( #1069 )
...
* updated the __init__ docs of the Elasticsearch class to reflect the fact that is possible to pass a string representing the URL of the host we want to connect to and not necessarily a list of hosts
* adds space between as and kwargs in Elasticsearch __init__ doc
2019-12-16 14:36:34 +01:00
Honza Král
cc461fdc3c
Disable urllib3 warningns if not ssl_show_warn
2019-12-12 23:43:16 +01:00
Alvaro Olmedo and Honza Král
c3fd04b5db
Disable InsecureRequestWarning from urllib3's connectionpool with ssl_show_warn option
2019-12-12 22:25:49 +01:00
Luca Wintergerst and Honza Král
35afe32a6d
fix typo in transport docs
2019-11-21 10:38:43 -06:00
Honza Král
07fef33acc
Version bump to 7.1.0
2019-11-14 09:17:45 +01:00
Ian Danforth and Honza Král
1bb8f50f58
Align order of arguments to put_mapping() in docs with code
2019-11-08 17:42:29 -05:00
Xiaodong and Honza Král
4bdac2a0b1
Minor Correction in exceptions.py
2019-11-08 17:25:47 -05:00
Patryk Krawaczyński and Honza Král
39ada119fe
HTTP 405 when node_id is defined
...
_make_path encodes "/" - so the request looks like: GET /_cluster%2Fstats%2Fnodes/node_id and elastic returns a 405 error.
2019-11-08 17:20:28 -05:00
Chris Bennight and Honza Král
8f5c60f333
Proper import in Python2.x
2019-11-06 17:02:02 +01:00
Chris B and Honza Král
f1df7ae604
Fix for 7.4 encoding change
2019-11-06 17:02:02 +01:00
Alex Kahan and Honza Král
1438d66045
Removing request_timeout from function doc strings
2019-11-05 22:19:17 +01:00
Alex Kahan and Honza Král
07314a1cc7
Removes request_timeout params from indices handler
2019-11-05 22:19:17 +01:00
Honza Král
8542410c3c
merge indices and xpack.indices
2019-10-30 19:06:39 +01:00
epiphyte and Honza Král
71840d315a
Support http.publish_host addresses
2019-10-30 18:40:06 +01:00
Honza Král
ba234dcf03
Allow access to xpack methods without .xpack
2019-10-30 18:27:46 +01:00
Honza Král
7785dd150d
Adding indices.clone
2019-10-30 18:08:31 +01:00
Alex Kahan and Honza Král
a2e9f0c807
Closes #1044 . Fixing bug with mark_dead in connection pool
2019-10-29 17:01:47 +01:00
Honza Král
fc78c992ef
Take skipped shards as successful in scan helper
2019-10-04 11:46:48 +02:00
Honza Král
a8c858718e
Version bump
2019-10-01 22:23:45 +02:00
Honza Král
4c531c5cdb
When turning of ssl verification, make sure it propagates to urllib3
2019-10-01 22:03:55 +02:00
Philip Krauss and GitHub
9421f36ed5
Merge pull request #1019 from XD-DENG/patch-2
...
Fix issue caused by 7.x breaking change (_source_include/_source_exclude)
2019-09-26 15:50:35 +02:00
Philip Krauss and Honza Král
c4bc2e420d
API key Authentication ( #1010 )
2019-09-20 14:01:31 +01:00
Xiaodong and GitHub
5f18f216bd
Fix issue caused by breaking change (_source_include/_source_exclude)
2019-09-20 16:36:09 +08:00
Xiaodong and GitHub
a2a6d529ea
Fix docstring typos in /elasticsearch/transport.py
2019-09-19 11:13:02 +08:00
Honza Král
edb4de7382
Merge branch 'master' of github.com:elastic/elasticsearch-py
2019-09-17 23:04:16 +01:00
Bichitra
66428e5a1d
moved request_timeout to a new line
2019-09-17 13:08:17 +05:30
Bichitra
d3ffb321a6
fix error due to missing comma in between timeout and request_timeout in create method of client indices.
2019-09-07 23:05:00 +05:30
Honza Král
4244f88fc1
version bump for 7.0.4
2019-08-22 18:10:02 +02:00
Honza Král
a40b7c73d7
version bump for 7.0.3
2019-08-21 17:53:23 +02:00
Honza Král
5c0cbc76b1
leftover square brackets
2019-08-21 17:47:23 +02:00
Honza Král
a98fa8ba9f
Allow the use of scroll_id
...
Reverts breaking change in 8e92b85
2019-08-21 15:58:27 +02:00
Philip Krauss and Honza Král
28920b5d59
Ensure a custom User-Agent header is not overwritten ( #992 )
2019-08-12 14:20:10 +02:00
Philip Krauss and Nick Lang
100a2e623b
Send User-Agent header identifying the Client ( #991 )
...
* send user agent header identifing the client
* no need to instantiate a new var
* add python version to user-agent
2019-08-08 08:50:11 -06:00
Honza Král
6dc6018a51
missing import
2019-07-28 00:02:31 +02:00
Honza Král
4b88e12a13
Do not sleep during the retry loop
2019-07-26 16:26:27 +02:00
John Young
916a744baf
Pass scroll and scroll_id in the request body instead of as query params
2019-06-20 11:26:46 -04:00
Nick Lang
a29ea990a7
Bump version to 7.0.2
2019-05-28 11:33:06 -06:00
Nick Lang and GitHub
a5d27e36a4
ml client has no method _bulk_body ( #962 )
...
* ml client has not method _bulk_body
Need to access the _bulk_body method from the client object
closes : #959
* update changelog too
2019-05-22 22:03:05 -05:00
Nick Lang and GitHub
60d254860b
Add support for using cloud_id when instantiating conections ( #957 )
...
* add cloud_id
* adding doc strings
* update changelog
* adding some tests to check for cloud_id
* update the read me
2019-05-21 21:21:34 -05:00
David Sanders and Nick Lang
9f4baacb70
Fix typo in docstring ( #956 )
2019-05-17 10:53:03 -04:00
svalee and Nick Lang
b6fe0d424f
Added equality check for Connection class ( #938 )
...
* Added equality check for Connection class
* ES: make connection hashable
2019-05-15 18:25:58 -04:00
Nick Lang
c4f0454285
Bump to version 7.0.1
2019-05-10 16:51:51 -06:00
Nick Lang and GitHub
8e92b857bc
Update ES client API's for some missing 7 features ( #949 )
...
* Update cat.py to have correct query params
* Add missing api remote_info and missing params
* a couple apis have had added query params
* Add Split api and add missing query params
* Adding processor_grok api
* Adding missing apis:
* update by query rethrottle
* scripts painless execute
* scripts painless context
* rank eval
* delete by query rethrottle
* add missing query params
* Add missing xpack apis
* Update helpers to account for 7.x scroll api
2019-05-10 16:41:50 -06:00
Nick Lang and GitHub
206f5e2754
Black ( #948 )
2019-05-10 09:16:33 -06:00
Jubin Soni and Nick Lang
2aab285c8f
Fixed illegal argument exception in indices.py as request_timeout is expected instead of timeout. ( #937 )
...
The `timeout` parameter in docstring is misleading for following methods in elasticsearch.client.indices.py, renamed this param in query_params decorator and docstring to `request_timeout`:
1. create
2. open
3. close
4. delete
5. put_mapping
6. put_alias
7. update_aliases
8. delete_alias
9. put_template
10. delete_template
11. shrink
12. rollover
2019-04-29 14:45:59 -06:00
Christopher Lee and Nick Lang
fda9d3429c
BlockingPool must fit thread_count ( #894 )
...
queue_size must be greater than or equal to thread_count, or else the main thread can hang trying to acquire a lock to write sentinel values to the queue during teardown.
2019-04-26 11:57:11 -06:00
Andrés Portillo and Nick Lang
dd72153a71
Add ignore_throttled to query_params for search ( #928 )
2019-04-25 16:11:16 -06:00
Evgeni Enchev and Nick Lang
f47145ada6
Fix typo in utils.py docs ( #927 )
...
nad --> and
2019-04-09 14:40:02 -06:00
Slam and Nick Lang
2181611a00
Scan refactor ( #924 )
...
* Adds scan test for exception & data yielded
* Adds scan test for fast route & initial search error
* Refactores scan implementation; better scroll test
* Adds tests clear_scroll & logger
2019-04-05 09:31:43 -06:00