Honza Král
06efe2c15b
Update to latest tests
2013-12-23 16:03:04 +01:00
Karan Gupta
18f2ac1231
#29 - corrected target_client assignment
2013-12-21 01:18:17 +05:30
Brian Hicks
6f7349eec4
make Elasticsearch.scroll POST the scroll ID
...
Without this, if you have a large number of indices the `scroll_id` will be very long, and ElasticSearch will return an invalid response. (A urllib3 `ConnectionError` to be precise.) This changes the behavior to POST to the scroll endpoint, which gets around the URL length restriction.
2013-12-16 16:33:32 +01:00
Honza Král
05c4eefbf3
Enable deserialization of different content types coming from the server.
2013-12-14 18:15:15 +01:00
Honza Král
d1ccc2430d
Mark 0.4.4 as development at leats in Changelog
2013-12-13 19:38:59 +01:00
Honza Král
e2ab7ea80d
Adding a third return value from connection.perform_request - headers
...
This will be used to implement deserializing based on mimetype
2013-12-13 19:36:21 +01:00
Honza Král
be9acfad90
Make sure we handle quotes correctly in the trace logger
2013-12-11 14:41:42 +01:00
Honza Král
1345b36948
Make sure actions aren't modified when passed into bulk
2013-12-11 14:30:59 +01:00
Honza Král
79c59d6f80
Use fully qualified names for the generated tests
2013-12-09 22:24:54 +01:00
Honza Král
a19595e803
Report the name of the generated test case when running the tests with -v
2013-12-09 22:17:36 +01:00
Honza Král
99eb8936a3
Another example query, this time with an actual query
2013-12-09 17:48:54 +01:00
Honza Král
3e262779bb
Example code using the client
2013-12-09 03:17:32 +01:00
Honza Král
6947b01275
Removed extra reference to the id parameter for create API
2013-12-09 02:53:07 +01:00
Honza Král
0ab904c4de
Use dict.popitem when we know the dict only has one key
2013-12-08 19:27:44 +01:00
Honza Král
e9eaefd999
Add a note to changelog about the unicode fix
2013-12-04 15:10:31 +01:00
Honza Král
95fba05e02
Fix unicode body handling.
...
Only body should be encoded as bytes, not anything going through the
serializer (mostly because of bulk)
2013-12-04 15:07:56 +01:00
Honza Král
4420296636
For string body make sure we serialize unicode properly
2013-12-04 13:22:33 +01:00
Honza Král
19f9eaab95
Make sure bulk requests are logged correctly
2013-12-03 02:04:11 +01:00
Honza Král
c5c98dcaac
Add logging of body as INFO on connection error
2013-12-03 01:55:32 +01:00
Honza Král
cf03f9831a
Ass send_get_body_as parameter for situations where GET cannot have a body
2013-12-02 22:57:47 +01:00
Honza Král
69b8023c15
Doc fix: bulk_index -> bulk rename
2013-12-02 17:17:06 +01:00
Honza Král
6f6c864bc8
Bulk supports timeout parameter in new ES
2013-11-25 11:57:21 +01:00
Honza Král
10ae841db3
Add a not on the optional test client override to CONTRIBUTING.md
2013-11-23 19:34:54 +01:00
Honza Král
911817d514
Have git ignore local overrides in tests
2013-11-23 19:22:38 +01:00
Honza Král
82fa7b03a4
Enable users to override the client used in tests.
...
Fixes #7 , thanks nkvoll!
2013-11-23 19:20:44 +01:00
Honza Král
5ce42094c6
Skip test for different op types before 0.90.1
2013-11-22 22:28:29 +01:00
Honza Král
5f8c5322b0
Have bulk tests work for 0.90.0 too
2013-11-22 16:05:51 +01:00
Honza Král
8e8981d9c9
New bulk docs updated
2013-11-22 14:38:38 +01:00
Honza Král
3ae44db90c
Bulk helpers overhaul
...
streaming_bulk for iterative consumption of the input
bulk_index -> bulk
callback expand_action to transform input into action/data pairs
support for non-index actions through _op_type key
2013-11-22 14:29:08 +01:00
Honza Král
a4e068c505
Fix the helpers tests.
...
ES doesn't guarantee that refresh will wait for cluster state
propagation and thus the type might not exist right after the index
being created during the bulk load. Just check the documents instead.
2013-11-19 22:33:53 +01:00
Honza Král
1c279d5aad
By default allow 10 connections to be held to the server
2013-11-19 22:31:25 +01:00
Honza Král
eed4698c2c
Merge branch 'urllib3_pool_maxsize' of github.com:rboulton/elasticsearch-py
2013-11-19 22:29:08 +01:00
Richard Boulton
7c84613abc
Document the format of the body parameter for bulk operations, and correct a couple of typos in the documentation.
2013-11-19 17:03:32 +00:00
Richard Boulton
e8439372d6
Allow the maxsize parameter to be passed to the urllib3 connection pool
2013-11-19 16:45:39 +00:00
Honza Král
5557fbff1e
Make sure jenkins output contains logs
2013-11-19 04:10:34 +01:00
Hari haran
daad6eacca
Spell mistake corrected
2013-11-18 02:17:17 +05:30
Honza Král
4bce8a464c
Added more detailed error handling
...
namely being able to detect conflicts and bad requests
2013-11-14 01:12:55 +01:00
Honza Král
62738c85c4
Remove specific version from pip example in README
2013-11-13 02:58:42 +01:00
Murhaf Fares
5a4373b689
add how to install using pip
...
i couldn't find how to install elasticsearch package, and didn't know that you already deployed it to pip repository. now i know, and i think it's worth adding this piece of info to README.rst.
2013-11-12 15:22:07 +01:00
Honza Král
e04b875ca7
Changer is 1.0 Beta2
2013-11-07 17:18:19 +02:00
Honza Král
a8094486e0
Merge branch 'master' of github.com:obmarg/elasticsearch-py
2013-11-06 13:36:35 +02:00
Honza Král
98854b31e7
Strip excess '/' at the end of doc urls
2013-11-04 00:14:19 +01:00
Honza Král
68b19ebe55
Fixed test after log format change
2013-11-03 22:44:16 +01:00
Honza Král
b8b9f67092
Logging fixes
2013-11-03 22:39:03 +01:00
Honza Král
9e68ea91ed
If we have sniffed no hosts, consider our sniff failed
2013-11-03 22:38:30 +01:00
Boaz Leskes
a673682cb4
update urls to new website layout
2013-10-30 22:55:01 +01:00
Boaz Leskes
422d43f4f8
Added get_field_mapping API
2013-10-30 19:23:43 +01:00
Graeme Coupar
02b47b3f13
Added support for q parameter to delete_by_query
2013-10-30 12:47:53 +00:00
Honza Král
04afc03cdd
Thrift plugin uses different format in cluster stats
2013-10-29 17:45:49 +01:00
Honza Král
6454372da6
Allow people to import ThriftConnection from elasticsearch package itself
2013-10-29 15:30:58 +01:00