Hi Team,
can anyone advice me how to proceed this ?
i am having list of data , need to index the data in particular index (index name : customers) , which logic need to use using java api? i am using like this . indexing time is taking too much
listofdata - customers
for(Customers customer : customers) {
bulkRequest.addAction(((Index.Builder) ((Index.Builder) ((Index.Builder) new Index.Builder(customer).index("test_prod"))
.type("test")).id(customer.getId())).build());
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.