개발/IR_ML_NLP17 elasticsearch 2.3.3 bulk index 예제 public static BulkProcessor esBulk(Client client) throws UnknownHostException, IOException { BulkProcessor bulkProcessor = BulkProcessor.builder( client, new BulkProcessor.Listener() { @Override public void beforeBulk(long executionId, BulkRequest request) { // System.out.println("@before bulk indexing"); } @Override public void afterBulk(long executionId, BulkRequest request, BulkResponse respo.. 2016. 6. 14. 이전 1 2 3 4 5 다음