Class ElasticsearchBulkIndexOperation
java.lang.Object
org.nuxeo.ecm.automation.elasticsearch.ElasticsearchBulkIndexOperation
Run Elasticsearch indexing operation using the Bulk Service
- Since:
- 10.3
-
Field Summary
Modifier and TypeFieldDescriptionprotected BulkService
protected OperationContext
protected ElasticSearchAdmin
static final String
protected CoreSession
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
run()
protected String
submitBulkCommand
(String nxql, boolean syncAlias)
-
Field Details
-
ID
- See Also:
-
session
-
ctx
-
esa
-
bulkService
-
-
Constructor Details
-
ElasticsearchBulkIndexOperation
public ElasticsearchBulkIndexOperation()
-
-
Method Details
-
run
- Throws:
IOException
-
submitBulkCommand
-
checkAccess
protected void checkAccess() -
run
- Throws:
IOException
-