Honza Král
02117ad29e
Remove duplicate param definitions and docs.
...
Fixes #191 Thanks jfunez!
2015-01-27 16:18:50 +01:00
Honza Král
93d287d99c
Added tests for raise_on_exception
2015-01-24 18:41:43 +01:00
Honza Král
320e17dce8
Added raise_on_exception param to streaming_bulk
...
This means that we can now handle also TransportErrors that might occur
durig the bulk processing and report those items in the failed request
as failed instead of just propagating the exception.
Fixes #166
2015-01-24 18:41:35 +01:00
Honza Král
c897c75aa9
Update parameters for cluster.state
2015-01-23 03:47:01 +01:00
Honza Král
32f23b6748
Add some docs for scan mentioning passing extra args to search
...
Fixes #186 Thanks jpshelley!
2015-01-16 23:33:38 +01:00
Honza Král
1f0852bb92
Tests for reindex accepting a query
2015-01-16 16:34:44 +01:00
Honza Král
d293346375
Proper skipping technique for yaml test suite
2015-01-12 14:57:52 +01:00
Honza Král
8e43be946a
Fixing certifi spellinf. Thanks jezdez!
2015-01-12 13:46:13 +01:00
Honza Král
0fd051922b
Use chain instead of concatenation.
...
Fixes #180
2015-01-09 00:16:34 +01:00
Honza Král
cdd240dc59
Removing duplicit id documentation.
...
Fixes #177 , thanks houqp!
2015-01-08 17:11:20 +01:00
Honza Král
d3e745ab77
Make initial sniff (sniff_on_start) ignore sniff_timeout
...
This is due to issue mentioned in #167 as part of discussion
2015-01-04 19:44:21 +01:00
Honza Král
b3c2ef2996
version bump for dev
2015-01-03 01:50:46 +01:00
Honza Král
e3bfeeef22
Version bump for 1.3 release
2014-12-31 17:02:06 +01:00
Honza Král
9aeabf33f7
Changelog formatting
2014-12-31 16:58:47 +01:00
Honza Král
953c66e650
fix Elasticsearch.index with id=0
...
Fixes #164 Thanks larsmans!
2014-12-30 18:50:52 +01:00
Honza Král
72d24906d7
Clarifying connection parameters.
...
Fixes #171 Thanks DavidAwad!
2014-12-30 17:21:22 +01:00
Honza Král
bdf2c4b9f4
Added docs on SSL and auth options
2014-12-29 17:11:18 +01:00
Honza Král
2dc933e1c9
Add docs that load balancing only applies when more connections specified
2014-12-20 14:47:30 +01:00
Honza Král
836c6d1933
Introducing DummyConnectionPool for when only 1 connection defined
2014-12-20 00:35:24 +01:00
Honza Král
82a32540d7
Fix race condition in ConnectionPool
...
Fixes #158
2014-12-20 00:34:42 +01:00
Honza Král
9b5d2c062e
Add an option to use scan helper without search_type=scan, use with caution
...
Fixes #160
2014-12-15 15:15:03 +01:00
Honza Král
a23772ba27
Updated to new ES api version
2014-12-15 14:59:04 +01:00
Honza Král
f47bb52de1
Adding the upgrade APIs
...
Thanks to @ashangit for the PR on which this is based.
2014-12-11 18:27:12 +01:00
Honza Král
5977b5ea9c
Ignore build directory
2014-12-08 15:57:48 +01:00
Honza Král
f1ef6336ee
Add changelog entry for the check in ConnectionPool
2014-12-08 14:40:03 +01:00
Honza Král
0f0630d8d7
Make sure we always have connections defined
2014-12-08 14:32:52 +01:00
Honza Král
fe556873d8
Adding the search_exists API
2014-12-02 00:13:37 +01:00
Honza Král
5173d5b741
Check required parameters for empty values.
...
Fixes #138 , thanks robhudson!
2014-12-02 00:13:01 +01:00
Honza Král
9b37be87f1
Docs improvements
...
Mentioning the restriction on sniffing and GETs with no bodies allowed
(Fixes #137 )
2014-11-28 17:20:05 +01:00
Honza Král
377dd12d12
Leave the termvector API as it was, including the URL
2014-11-25 13:56:04 +01:00
Honza Král
32377a4f18
ES master has removed none gateway and memory index storage, update Travis CI defs
2014-11-25 13:52:43 +01:00
Honza Král
ee4a37658f
termvector -> termvectors rename + bw compatibility alias
2014-11-25 13:48:23 +01:00
Honza Král
8ebbf3375f
Clearer description of the index param for put_mapping
...
ref #152
2014-11-24 17:36:27 +01:00
Honza Král
265d00d5d6
Retry on some HTTP statuses and touching up the retry logic
2014-11-24 17:08:23 +01:00
Honza Král
eadb65ba24
updated Changelog
2014-11-24 13:29:19 +01:00
Honza Král
cd5d646c09
Allow to specify url_prefix through RFC-1738 parsing
...
Also add docs about the various connection options.
2014-11-15 16:18:58 +01:00
Honza Král
bf74f7244e
make host url parsing more resilient
...
Reject invalid combinations of url scheme and connection_class
2014-11-14 15:55:32 +01:00
Honza Král
03a817690d
Added support for client SSL certificates for https
...
Thanks almer-fuel for the inital patch!
2014-11-14 15:31:49 +01:00
Honza Král
fedcfafe7e
Proper SSL implementation, including optional certificate verification
2014-11-11 03:20:16 +01:00
Honza Král
d9296e85b9
Timeout should not trigger a retry by default
2014-11-10 23:52:26 +01:00
Honza Král
2b107ece5c
indices.put_alias requires index parameter
2014-11-10 23:42:46 +01:00
Honza Král
9d89259f06
Non-ascii character fix
2014-10-08 09:58:17 +02:00
Honza Král
d58d43b15e
Verify repository API for snapshots
2014-10-08 09:23:13 +02:00
Honza Král
ecfeb93a6f
Introducing a ConnectionTimeout as a subclass of ConnectionError
...
This is to enable #128 to work
2014-10-03 18:49:07 +02:00
Honza Král
f401d100a8
Add realtime parameter for termvector API
2014-10-03 17:32:49 +02:00
Honza Král
f93a79aedd
Add explanation of url encoding
2014-10-03 17:32:11 +02:00
Honza Král
5fec49e261
Make sure url is a string, not unicode in python 2
...
Fixes #133 , thanks sheIIdon!
2014-10-01 17:31:38 +02:00
Honza Král
20aa35d791
Urllib3 will fill in the content-length automatically
2014-10-01 16:42:04 +02:00
Honza Král
45a4d36ae1
Added a failing unicode test
2014-10-01 15:52:46 +02:00
Honza Král
40f7fc5a01
Log failed attempts at closing the failed thrift connections
2014-09-27 17:34:00 +02:00
Honza Král
4c649682c7
Add indices.get API
2014-09-11 13:02:48 +02:00
Honza Král
81431a2823
Reroute API has a metric param
2014-09-10 16:25:37 +02:00
Honza Král
cb68308abf
Body in the logs should be debug-level
...
Fixes #119 , thanks traxair!
2014-09-10 16:24:44 +02:00
Honza Král
f9b70383b9
Added versioning support to *_script APIs
2014-09-08 12:16:08 +02:00
Honza Král
44060a48a0
Catch socket.timeout in ThriftConnection
...
Fixes #121 , thanks traxair!
2014-09-08 12:08:45 +02:00
Honza Král
8869497744
Nightly snapshot has moved, update travis.yml
2014-08-28 09:55:39 -07:00
Honza Král
18d6b41e82
Allow body to be passed as bytes in python 3.4
...
Fixes #113 , thanks leplatrem for the report!
2014-08-23 15:25:44 -07:00
Honza Král
be1391b9ac
Added better description of global parameters
...
Fixes #118
2014-08-22 16:07:52 -07:00
Honza Král
639aa93096
1.2.0 release
2014-08-03 13:57:07 +02:00
Honza Král
e68786bc8a
Clearer message regardings alternate bulk operations.
...
Fixes #107 , thanks jwarzech!
2014-08-02 14:31:47 +02:00
Honza Král
8966902e40
Filter out master-only nodes when sniffing
...
Fixes #106 , thanks jolynch!
2014-07-31 00:33:26 +02:00
Honza Král
43b96e7a49
Added stored script and search template APIs
2014-07-29 23:05:56 +02:00
Honza Král
b6860f1f3d
Escape trailing underscore to fix docs.
...
Fixes #108 , thanks Lambdanaut!
2014-07-16 17:11:40 +09:00
Honza Král
3a79457250
Do not escape the global request_timeout param
...
Thanks EyePulp for the report!
2014-07-04 16:50:48 +02:00
Honza Král
e8af8dbcc7
Version bump after release for master
2014-07-02 18:20:35 +02:00
Honza Král
6e3de80d82
Bumping the version to 1.1.0
2014-07-02 18:03:20 +02:00
Honza Král
daa4885836
Adding back snapshot_index removed in ef30042 for backwards compatibility
2014-07-02 17:10:49 +02:00
Honza Král
3147637b17
ES nightly build has moved since moving to JDK7
2014-07-02 17:00:00 +02:00
Honza Král
ef3004277b
Updated the API interface to latest API specs
2014-07-02 16:48:25 +02:00
Honza Král
c5f91faaad
Added docs for request_timeout
2014-07-02 16:19:23 +02:00
Honza Král
c112399631
Allow for global parameter to set per-request timeout
...
Fixes #100 , thanks portante!
2014-07-02 15:56:57 +02:00
Honza Král
d9c64dadc6
giving up on memcached testing in travis
2014-06-25 15:51:25 +02:00
Honza Král
3e48fdac9f
Update memcached plugin version
2014-06-25 15:48:23 +02:00
Honza Král
dc28246b71
Add SKIP_TESTS to enable skipping some broken tests in released es versions
2014-06-25 15:32:35 +02:00
Honza Král
55e6f41606
unittest2 is now used in test helpers
2014-06-12 01:49:57 +02:00
Honza Král
d8312e4c70
Docstring formatting
2014-06-12 01:47:09 +02:00
Honza Král
e9bc9007ce
Adding a missing 'create' param for put_template
2014-06-06 17:36:00 +02:00
Honza Král
be766b4a30
Adding a test for a single document in bulk helper
2014-06-04 15:11:39 +04:00
Honza Král
38ae1bd3c3
Fix repr tests and url quoting in bytes/strings
2014-05-29 02:42:59 +02:00
Honza Král
756a6aee25
unicode_literals ftw
2014-05-29 01:16:17 +02:00
Honza Král
b1d36926c1
Allow get_test_client to not wait for es cluster startup
2014-05-20 15:05:40 +02:00
Honza Král
f10d7f2da2
Body is always sent as utf-8 bytes, reflect it in tests
...
Thanks johbo for the report!
2014-05-09 18:11:50 +02:00
Honza Král
2539214d55
Add cat.fielddata API
2014-05-09 17:41:59 +02:00
Honza Král
c24e7c9908
Better phrasing of th compatibility warning. Thanks, karmi!
2014-04-29 12:05:08 +02:00
Honza Král
0b7f7672d0
Remove trailing whitespaces in cat client
2014-04-28 19:19:02 +02:00
Honza Král
d1b5acba93
Add example with namespaces and ignore param
2014-04-24 15:09:32 +02:00
Honza Král
4bfc89409f
Giving up on testing the docs
2014-04-24 15:08:11 +02:00
Honza Král
93d104eea8
Adding the search_shards API
2014-04-23 23:57:12 +02:00
Honza Král
3173e06ec1
start elasticsearch with benchmarking enabled
2014-04-23 23:55:52 +02:00
Honza Král
71176d5595
Provide helpers for running tests against elasticsearch
2014-04-23 01:12:03 +02:00
Honza Král
28f9171235
Make helpers into a package
2014-04-23 00:49:25 +02:00
Honza Král
4a3ab2768f
Add the experimental benchmark API support
2014-04-22 21:55:07 +02:00
Honza Král
86b59d5d90
Add new params to search_template and clear_scroll APIs
2014-04-22 21:35:51 +02:00
Honza Král
49b7a1aca9
Make sure to include Content-Length header in calls with body
...
Fixes #70
2014-03-31 16:41:08 -07:00
Honza Král
7ce5b67a21
Actually add coverage back, it's just coveralls we didn't want
2014-03-28 18:53:39 +01:00
Honza Král
7507bc0dda
Don't include coverage in running tests, it's unreliable
2014-03-28 18:49:29 +01:00
Honza Král
f084251278
Implemented gte/lte for yaml tests
2014-03-28 17:42:51 +01:00
Honza Král
a8b24debb8
Added indices.recovery api
2014-03-28 17:42:42 +01:00
Honza Král
e970503d58
Got tired of thrift errors, skipping thirft tests in Travis CI
2014-03-26 18:54:09 +01:00
Honza Král
d205cbfbb5
Perform git reset --hard on the elasticsearch repo when running tests.
2014-03-26 18:46:14 +01:00