Add batch import for elasticsearch.