tubing.ext package¶
Submodules¶
tubing.ext.elasticsearch module¶
-
tubing.ext.elasticsearch.
BulkUpdate
(base_url, index, username=None, password=None, chunks_per_post=512, fail_on_error=True)¶ Docs per post is source.chunk_size * chunks_per_post.
-
class
tubing.ext.elasticsearch.
DocUpdate
(doc, doc_type, esid=None, parent_esid=None, doc_as_upsert=True)¶ Bases:
object
DocUpdate is an ElasticSearch document update object. It is meant to be used with BulkBatcher and returns an action and update.
-
action
(encoding)¶
-
serialize
(encoding)¶
-
update
(encoding)¶
-
-
exception
tubing.ext.elasticsearch.
ElasticSearchError
¶ Bases:
exceptions.Exception
ElasticSearchError message is the text response from the elasticsearch server.