Honza Král
eaa67a100d
use_ssl flag is set by Connection
...
This wasn't an issue before as scheme=https was not documented but now
it is in the docs and it makes this entire block be skipped if url is
given without scheme and no ssl_context is passed completely breaking
ssl
2018-01-18 16:12:07 +01:00
Honza Král
57ec404ba3
Accurate description of TransportError.info
...
Fixes #710 , thank you, @fbacchella, for the report!
2018-01-12 17:35:07 +01:00
Honza Král
a023bddb4d
Use provided request headers in urllib3
...
outside. However, `Urllib3HttpConnection` did not use these headers but
only its default ones.
With this commit, `Urllib3HttpConnection` will either use the default
ones or merge the default headers with the provided ones if there are
any.
Relates #618
2018-01-01 15:42:46 +01:00
Honza Král
f639f9b28e
Apply cafile defaults before checking for emptiness
...
Fixes #669
2017-11-14 19:20:15 +01:00
Honza Král
d9fa510fa6
Bump version to 6.1.0-dev
2017-11-14 15:27:59 +01:00
Honza Král
ad4f83f592
Bump travis to test 6.0.0 GA
2017-11-14 15:14:47 +01:00
Honza Král
4e6a05f614
Added scroll_kwargs to scan helper
2017-11-10 21:43:16 +01:00
Honza Král
a1dc43192b
forgot raw -> keyword in example
2017-11-10 15:35:39 +01:00
Honza Král
7f5a9f8cec
Update example to work with elasticsearch 6.0
2017-11-10 15:18:50 +01:00
Honza Král
97491388d7
Update docs to reflect version changes
2017-11-10 15:18:19 +01:00
Honza Král
562c8c6146
Bump master to 6.0.0
2017-11-10 14:38:08 +01:00
Honza Král
ae632f2288
Adding 5.5.0 changelog
2017-11-10 14:37:03 +01:00
Honza Král
92763522a9
Check successful shards instead of failed
...
Fixes #660 , thanks @juke1
2017-11-09 20:35:53 +01:00
Honza Král
40b0a68b82
Add repository to commit documents
2017-10-26 14:36:50 +02:00
Honza Král
4e6f635711
6.x compatibility in tests
2017-08-01 15:54:59 -04:00
Honza Král
aca83e85ae
Update the upstream broken test list
2017-08-01 15:12:09 -04:00
Honza Král
3be98b0a09
first pass for 6.0 compatibility
2017-07-31 19:17:52 -04:00
Honza Král
95cf68a0bc
Merge branch 'backoff'
2017-07-24 13:07:55 -04:00
Honza Král
8f73594cac
Tests for retry logic in streaming_bulk
2017-07-22 13:40:22 -04:00
Honza Král
ba8772a66f
When retrying we get deserialized data
...
This is just a hotfix until a better solution with proper tests come
along
2017-07-22 13:13:53 -04:00
Honza Král
f1267b52f0
Fix urllib3 version to be compatible with requests
2017-07-20 14:02:29 -04:00
Honza Král
2c0f6d8c04
refactor the helpers a bit for more consistent errors
...
Now every error (either returned by streaming_bulk or collected by bulk)
contains the original data as well
2017-07-20 13:53:23 -04:00
Honza Král
a16679b2cf
draft of docs for backoff helper
2017-07-18 18:08:00 -04:00
Honza Král
b31b5ddae6
Merged backoff into streaming_bulk
2017-07-18 17:44:43 -04:00
Honza Král
66c380420f
Forgot to assign data
2017-07-18 16:20:36 -04:00
Honza Král
957fcad34b
Do not serialize the data in bulk_data
...
This can lead to multiple serializations when retrying with backoff
helper
2017-07-18 16:15:08 -04:00
Honza Král
accb19ab90
Action must be a dict, not serialized string
2017-07-18 15:45:43 -04:00
Honza Král
f9f4f0c61a
have _chunk_actions always return data and actions
2017-07-18 14:18:09 -04:00
Honza Král
c8231cad0e
Initial implementation of a backoff bulk helper
2017-07-18 14:02:02 -04:00
Honza Král
620afc667f
Set a limit on the internal queue of the parallel_bulk helper
...
Fixes #547
Solution taken from https://bugs.python.org/msg90067
2017-07-12 23:48:58 +02:00
Honza Král
24169821ac
add the remote namespace
2017-06-14 19:25:53 +02:00
Honza Král
49af6df631
Added missing APIs
2017-06-14 19:25:11 +02:00
Honza Král
58f16d13ec
bump travis to 5.4.1
2017-06-14 16:43:46 +02:00
Honza Král
ce9465afef
Test things to the testing dir
2017-06-14 16:42:47 +02:00
Honza Král
b803c2dd16
Add python 3.5 and 3.6 to setup.py
2017-05-19 12:49:05 -07:00
Honza Král
aea9824d53
Version bump for release
2017-05-18 19:11:38 +02:00
Honza Král
72105e3f4c
Allow the example/load.py script to load other repos from CLI
2017-05-18 10:11:34 -07:00
Honza Král
d336c571b9
[WIP] remove scheme checking
2017-05-15 22:01:54 +02:00
Honza Král
1aee1bb030
Removing obsolete gitmodules
2017-05-15 18:51:35 +02:00
Honza Král
3b41c3bca7
Add develop extra to allow for easy dependency install
2017-05-10 16:52:58 +02:00
Honza Král
5c658fcfb8
Allow pipeline as a parameter in bulk actions
...
Fixes #564
2017-04-17 22:12:41 +02:00
Honza Král
c318f7fa63
Make sure environment settings are merged in for requests
...
Fixes #557
2017-04-17 21:59:03 +02:00
Honza Král
5e63ea4f93
hardcoded ES version in travis.yml
2017-04-17 21:27:26 +02:00
Honza Král
618b69ae7a
Merge branch 'master' of github.com:elasticsearch/elasticsearch-py
2017-04-13 23:51:25 +02:00
Honza Král
2f62f9e3d4
version bump for 5.3
2017-03-30 22:32:38 -07:00
Honza Král
fe897ebe0d
Wait_for_completion defaults to true
2017-03-26 14:11:01 +02:00
Honza Král
c32e3e52f7
new API compatibility
2017-03-21 13:49:17 +01:00
Honza Král
597bf7ade9
Log proper headers in trace logs
2017-03-05 11:19:01 -08:00
Honza Král
66cc0a82b4
allow fielddata for files field to allow aggregations
2017-02-18 15:49:13 +05:30
Honza Král
f638c3f625
bump version to 2.0
2017-02-12 16:26:02 +01:00
Honza Král
fc25175130
Added API docs for ingest and tasks
...
Fixes #526
2017-02-12 16:23:49 +01:00
Honza Král
1a8896e207
setup.py typo
2017-02-08 21:30:23 +01:00
Honza Král
a180459d69
Update API parameters to 5.x
2017-02-08 21:07:29 +01:00
Honza Král
a96f5f7284
Sending raw text as body is no longer supported, wrap scroll_id
2017-02-08 20:51:13 +01:00
Honza Král
d862c8a799
Add content-type default headers with application/json
2017-02-08 20:50:50 +01:00
Honza Král
f38fa51fea
When user is passing params we need to make a copy
...
Fixes #517
2017-01-17 03:10:50 +01:00
Honza Král
5ecfc70a16
bunp version to 5.1.0 for release
2017-01-11 15:45:55 +01:00
Honza Král
0bf58d7717
Updated API
2017-01-11 15:42:33 +01:00
Honza Král
a870b4bf40
test es 5.1.1
2017-01-11 14:26:56 +01:00
Honza Král
8107bbcf93
update headers in lowercase to allow overriding of auth headers
2017-01-03 15:07:28 +01:00
Honza Král
75bc46f506
add unauthorized catch code for common test runner
2017-01-03 15:07:28 +01:00
Honza Král
b9ba12977f
Refactored connection error handling
2016-12-15 16:46:05 +11:00
Honza Král
c2fc5aa18c
Be more explicit with stats_only behavior
2016-12-15 10:21:38 +11:00
Honza Král
ef3820c4fe
use text/keyword instead of string in load example
2016-12-12 14:10:06 +11:00
Honza Král
4812980479
Merge PR #497 , thanks veatch!
2016-12-06 12:33:35 +01:00
Honza Král
fe53ab588e
Fix sniffing for 5.0
...
Fixes #477
2016-12-06 12:17:57 +01:00
Honza Král
1780214a19
explain localhost:9200 in the trace log
2016-11-13 05:52:59 +01:00
Honza Král
29ce4bd413
Adding 5.0.1 to changelog
2016-11-02 19:53:14 +01:00
Honza Král
5fe3b4baf8
Scan bug that caused the scan to be sorted
2016-11-02 19:29:41 +01:00
Honza Král
9c2af0f77c
Version bump for development version
2016-10-19 16:33:14 +02:00
Honza Král
ae0073c8ca
Version bump for 5.0 release
2016-10-19 16:22:48 +02:00
Honza Král
8b96556769
Change the trace logger to also include failed requests
2016-10-19 15:28:31 +02:00
Honza Král
a2cd22dbf6
New create API for 5.0
2016-10-19 03:01:27 +02:00
Honza Král
bf561fb856
Fix maxsize parameter description.
...
Fixes #414 Thanks theanti9!
2016-10-17 17:27:33 +02:00
Honza Král
8314f7b25c
Set verify_certs default to True
...
If certifi is installed use it as default for ca_certs value
Closes #403
2016-10-17 14:16:56 +02:00
Honza Král
aa3a7431ff
Add note about reindex API to the reindex helper
2016-10-17 14:01:52 +02:00
Honza Král
cd8aaf2c5e
5.0 compatibility
2016-10-17 13:57:10 +02:00
Honza Král
d4efb81b06
Propagate request_timeout to scroll calls
...
Fixes #434
2016-08-29 15:46:46 +02:00
Honza Král
ef390c2888
added 2.4.0 changelog
2016-08-17 16:37:48 +02:00
Honza Král
87bf9866a4
Catch up to elasticsearch master
2016-08-16 21:23:14 +02:00
Honza Král
c855adc6e6
None for parameter value should cause that param to be ignored
...
Fixes #375
2016-08-16 20:46:04 +02:00
Honza Král
10c013a067
stored_fields=_parent no longer needed with 5.0
2016-07-28 11:29:01 +02:00
Honza Král
515197a903
Don't try and decode an empty body
2016-07-28 11:26:55 +02:00
Honza Král
9cdcc5b4dd
Adding new params for cluster.health and cluster.allocation_explain
2016-07-14 17:29:33 +02:00
Honza Král
99c91b7b5c
Skip in yaml tests can have multiple values
2016-07-14 17:29:16 +02:00
Honza Král
fb8b55284a
Do not use weakref to refer to client
2016-07-12 22:46:15 +02:00
Honza Král
7bdaa317ed
adding the headers feature for our yaml test runner
2016-07-12 22:45:27 +02:00
Honza Král
311ac7c814
Allow specifying custom http headers
2016-07-12 18:13:48 +02:00
Honza Král
ac74778037
Allow test client to be created with kwargs
2016-07-12 18:02:46 +02:00
Honza Král
ef41d893aa
fields was renamed to stored_fields in elasticsearch
2016-07-12 17:52:50 +02:00
Honza Král
bf1892b36a
ignore 404 in tearDown when deleting indices
2016-07-12 17:35:31 +02:00
Honza Král
06e9a9851c
Implement teardown functionality for yaml tests
2016-07-11 11:01:56 +02:00
Honza Král
a53efe1705
Respect the transport_schema when constructing host
2016-06-28 16:44:58 +02:00
Honza Král
a359c5fba2
Elasticsearch 5.0 APIs
2016-06-28 16:38:32 +02:00
Honza Král
f28b634e17
simplify init code
2016-06-28 00:40:06 +02:00
Honza Král
5e0627bcfe
Attempting to force travis to java 8
2016-06-10 15:08:11 +02:00
Honza Král
3e1dd08a0a
Fix travis CI for 5.0.0 SNAPSHOT
2016-06-10 15:01:50 +02:00
Honza Král
a64fa04562
Adding the indices.shrink API
2016-06-10 14:55:40 +02:00
Honza Král
b7cba71be6
Explain differences between urllib3 and requests backends
...
Fixes #402
2016-06-09 11:23:26 +02:00
Honza Král
1e2770fb5d
Change default size for scan to 1000
...
Fixes #408
2016-06-03 15:07:09 -07:00