Dmitry Sadovnychyi and Honza Král
2d04178215
Move import statement into a function
...
To fix a bug on App Engine where multiprocessing is not allowed.
Closes #282
2015-10-19 15:20:39 +02:00
Honza Král
1527177b5c
Removing non-ascii quote
2015-10-14 00:15:42 +02:00
Honza Král
fa62ae71bf
Updated to latest 2.x compatibility
2015-10-14 00:06:27 +02:00
Honza Král
af86fa8d61
2.0 version bump
2015-10-13 23:39:33 +02:00
Honza Král
22943e7e47
Move bulk helpers' docs outside of streaming_bulk's docstring
2015-10-11 23:45:09 +02:00
Honza Král
9d415fadef
Adding tests for indexing strings via bulk helpers
2015-10-11 05:00:14 +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
ccef253001
Merge branch 'parallel'
2015-10-07 18:28:33 +02:00
Sujay Mansingh and Honza 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
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
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
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
4f7b09df5b
Purge duplicities in args
2015-08-28 17:41:04 +02:00
Jorgen Jorgensen and Honza Král
7f5bf201ce
Update __init__.py
2015-08-28 13:58:23 +02:00
Honza Král
36d8d4b545
2.0 compatibility
2015-08-25 01:21:45 +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
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
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
Honza Král
fdeb3d1131
Make sure reindex preserves _parent, _routing and _timestamp
...
Fixes #140
2015-06-20 00:27:08 +02:00
Honza Král
586704000e
Add human arg to indices.create and get_settings
2015-06-19 14:13:00 +02:00
Honza Král
174ded0854
Version bump for 1.6.0
2015-06-10 02:38:35 +02:00
Honza Král
26ab39f313
correct link and simple description of flush_synced
2015-06-09 21:32:19 +02:00
Honza Král
799918712f
Added missing params to methods
2015-06-09 19:21:31 +02:00
Honza Král
aed7ec0d03
Added flush_synced API
2015-06-09 19:21:23 +02:00
Honza Král
23609dc02c
Forgot one version
2015-05-18 16:05:22 +02:00
Honza Král
2835c8ca1c
post release version bump
2015-05-18 16:04:38 +02:00
Honza Král
699c040eaf
Version bump to 1.5.0
2015-05-18 16:03:00 +02:00
Honza Král
10c36ad530
Make search_exists consistent with other _exists APIs
...
Fixes #230 Thanks ncrocfer for the report!
2015-05-18 15:50:35 +02:00
Honza Král
481dc907ad
Add query_string parameters to count, search_exists and validate_query
2015-05-11 15:01:09 +02:00
Honza Král
12ded2b841
Added a class to addon clients to add more namespaces
2015-05-02 16:41:53 +02:00