Interface BulkIndexRequestInterceptor


public interface BulkIndexRequestInterceptor
An interceptor that will be called before and/or after the execution of a BulkRequest in the BulkIndexingSession.
  • Method Details

    • beforeRequestAddToBulkIndexingSession

      void beforeRequestAddToBulkIndexingSession(String index, IndexedDataObject indexedDataObject, com.fasterxml.jackson.databind.node.ObjectNode originalData)
    • beforeRequestExecution

      void beforeRequestExecution(BulkRequest bulkRequest)
    • afterRequestExecution

      void afterRequestExecution(BulkRequest bulkRequest, ElasticsearchBulkResponse bulkResponse)