Skip to content

Instantly share code, notes, and snippets.

Dmitry Gladyshev dgladyshev

Block or report user

Report or block dgladyshev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dgladyshev
dgladyshev / BulkProcessorProvider.java
Created Aug 15, 2015
BulkProcessorProvider provides other classes with instance of BulkProcessor. BulkProcessor is useful then you need to upload large sets of data to elasticsearch.
View BulkProcessorProvider.java
package dglad.projectname.elastic;
import org.elasticsearch.action.bulk.BulkProcessor;
import org.elasticsearch.action.bulk.BulkRequest;
import org.elasticsearch.action.bulk.BulkResponse;
import org.elasticsearch.client.Client;
import org.elasticsearch.common.unit.ByteSizeUnit;
import org.elasticsearch.common.unit.ByteSizeValue;
import org.elasticsearch.common.unit.TimeValue;
You can’t perform that action at this time.