Commit Graph
672 Commits
Author SHA1 Message Date
Honza Král 1378073e2d Moved helpers unit tests to test_helpers 2015-10-11 04:50:31 +02:00
Honza Král 12c2a466e1 Basic tests for parallel_bulk 2015-10-11 04:47:02 +02:00
Honza Král acde15e742 we use our own compat module, not six 2015-10-10 18:57:21 +02:00
Honza Král 92c1757ad1 Allow people to just pass raw json strings to bulk helpers
This should allow for significant speedups when indexing json documents
from a file
2015-10-10 18:40:18 +02:00
Honza Král 5d4640d4c2 Move parallel_bulk helper into helpers/__init__ 2015-10-10 18:35:50 +02:00
Honza Král a7d66c891a Updated README for new versioning scheme 2015-10-08 04:00:13 +02:00
Honza Král ccef253001 Merge branch 'parallel' 2015-10-07 18:28:33 +02:00
Sujay MansinghandHonza Král e3d25e8fe3 [#256] Fix exception message
* Typo: Scrol -> Scroll
* We need to format the string with the args ourselves (ScanError won't
  do it).
  Otherwise the args in the ScanError won't be substituted.
2015-10-07 17:53:39 +02:00
Honza Král 3cb77ff0fb Updated Changelog 2015-10-07 17:49:52 +02:00
Honza Král 6f7a56964c Removing ThriftConnection and MemcachedConnection 2015-10-07 17:47:05 +02:00
Honza Král 140ebd022f Have search_exists only return boolean like other exists APIs
Fixes #272
2015-10-07 17:36:12 +02:00
Honza Král 2ba03d261a greatly simplify parallel_bulk by using Pool.imap 2015-10-06 02:11:22 +02:00
Honza Král 2208387e0b Extract the processing of individual bulk request to a separate method 2015-10-06 02:10:42 +02:00
Honza Král a0e1bf61aa Experimental helper for doing bulk requests in parallel 2015-10-01 01:25:29 +02:00
Honza Král 3400179153 Allos the size of the bulk request to be defined in bytes
Fixes #199
2015-09-30 21:06:24 +02:00
Honza Král 928fc000d1 Serialize the data in bulk helper 2015-09-30 19:25:17 +02:00
Honza Král 9e4d0dd25d Move the bulk body construction into _chunk_actions 2015-09-30 19:16:21 +02:00
Honza Král a177375c25 Don't keep the data twice in bulk helper 2015-09-30 19:03:49 +02:00
Honza Král 0ad6b94d1e Extract chunking from streaming_bulk 2015-09-30 18:23:42 +02:00
Honza Král 14f5b35a23 Version bump 2015-09-21 20:06:03 +02:00
Honza Král 202dc0d675 Move README around to avoid packaging issues 2015-09-21 20:01:16 +02:00
Honza Král b994d1d934 remove timestamp from reindex tests since it's deprecated in 2.0 2015-09-21 19:42:33 +02:00
Honza Král 324599dd03 Added termvector API 2015-09-21 19:42:23 +02:00
Honza Král f929df2575 Merge remote-tracking branch 'pr/267' 2015-09-14 14:00:11 +02:00
Honza Král 64dde0c77d Merge remote-tracking branch 'pr/266' 2015-09-14 13:48:59 +02:00
Honza Král 40dd7ce795 Added an attribute to test cat.nodeattr 2015-09-13 21:21:09 +02:00
Honza Král b1cb09ba8f Better docstring for search_shards 2015-09-13 21:06:22 +02:00
Daniel 3e4e6ba430 use GET method for count
as documented in the Elasticsearch API reference
2015-09-10 15:54:56 +02:00
Jason Veatch 80ccb181cd Removed "optionally", it might be confusing. 2015-09-09 16:06:03 -04:00
Jason Veatch 09efa15813 Clarified _op_type options in streaming_bulk docstring. 2015-09-09 15:02:09 -04:00
Honza Král edbf7ec545 add sude: false to travis 2015-08-28 17:41:42 +02:00
Honza Král 4f7b09df5b Purge duplicities in args 2015-08-28 17:41:04 +02:00
Honza Král a2d8fa4637 Adding gardsted to AUTHORS, thanks! 2015-08-28 13:59:02 +02:00
Jorgen JorgensenandHonza Král 7f5bf201ce Update __init__.py 2015-08-28 13:58:23 +02:00
Honza Král 6cd52bd4fd no need to test on pypy 2015-08-25 01:40:29 +02:00
Honza Král aefd60fa64 Better exception matching in yaml tests 2015-08-25 01:40:04 +02:00
Honza Král e2bd5467b2 removing python 3.2 since it's incompatible with coverage 2015-08-25 01:26:04 +02:00
Honza Král 36d8d4b545 2.0 compatibility 2015-08-25 01:21:45 +02:00
Honza Král ec5d4ef3ce Reflect ES 2.0 security config 2015-08-25 01:10:44 +02:00
Honza Král 9c61a1140d 2.0 compatibility 2015-08-25 01:09:54 +02:00
Honza Král c67fccf36c Added David Szotten to the authors file, thanks! 2015-07-14 15:15:19 +02:00
David SzottenandHonza Král a8d9ffd60b use now() instead of fixed time
took me a few minutes to figure out why the doc i just added didn't show up in kibana. a more recent timestamp may be friendlier for beginners
2015-07-14 15:14:59 +02:00
Honza Král 72f661f953 Added deprecation infor for thrift connection class 2015-07-06 18:13:02 +02:00
Honza Král 845f8cd6f5 Adding ssl_version parameter to Urllib3HttpConnection
Fixes #246
2015-07-06 18:09:44 +02:00
Honza Král df6e05b483 Merge pull request #243 from instacart/time_option
Time option
2015-06-24 14:02:34 +02:00
Xiuming Chen ceffee3b8b Comments for bytes. 2015-06-23 22:36:46 -07:00
Xiuming Chen b113fb3e9c Accept time resolution param for _cat/nodes. 2015-06-23 22:36:42 -07:00
Honza Král 6a453631ab Adding cxmcc to AUTHORS 2015-06-23 03:15:29 +02:00
Xiuming Chen 9b18b85db8 A few other cat APIs accept 'bytes'. 2015-06-22 18:09:39 -07:00
Honza Král d328998b36 Add keep_alive headers by default to Urllib3HttpConnection 2015-06-22 20:39:58 +02:00