Interface RequestIndexer


  • @PublicEvolving
    public interface RequestIndexer
    Users add multiple delete, index or update requests to a RequestIndexer to prepare them for sending to an Elasticsearch cluster.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void add​(org.elasticsearch.action.delete.DeleteRequest... deleteRequests)
      Add multiple DeleteRequest to the indexer to prepare for sending requests to Elasticsearch.
      void add​(org.elasticsearch.action.index.IndexRequest... indexRequests)
      Add multiple IndexRequest to the indexer to prepare for sending requests to Elasticsearch.
      void add​(org.elasticsearch.action.update.UpdateRequest... updateRequests)
      Add multiple UpdateRequest to the indexer to prepare for sending requests to Elasticsearch.
    • Method Detail

      • add

        void add​(org.elasticsearch.action.delete.DeleteRequest... deleteRequests)
        Add multiple DeleteRequest to the indexer to prepare for sending requests to Elasticsearch.
        Parameters:
        deleteRequests - The multiple DeleteRequest to add.
      • add

        void add​(org.elasticsearch.action.index.IndexRequest... indexRequests)
        Add multiple IndexRequest to the indexer to prepare for sending requests to Elasticsearch.
        Parameters:
        indexRequests - The multiple IndexRequest to add.
      • add

        void add​(org.elasticsearch.action.update.UpdateRequest... updateRequests)
        Add multiple UpdateRequest to the indexer to prepare for sending requests to Elasticsearch.
        Parameters:
        updateRequests - The multiple UpdateRequest to add.