When indexing in Solr, which of the following code snippets can significantly improve indexing performance? (multiple choice)
When indexing in Solr, which of the following code snippets can significantly improve indexing performance? (multiple choice)
A . lbClient.setRequestWriter (new BinaryRequestWriter());
B . if (updateRequest.getDocumentsMap().size() >= 10000) {
cloudSolrClient.request (updateRequest, collName);
updateRequest.clear();
}
C . if (updateRequest.getDocuments().size() >= 1000) {
cloudSolrClient.request (updateRequest, collName);
updateRequest.clear();
}
D . SolrlnputDocument doc = new SolrlnputDocument();
doc.addField ("id", i.toString());
doc.addField ("name", "Zhang San" + i);
doc.addField ("features", "test" + );
doc.addField ("price", (float) i * 1.01);
cloudSolrClient.add (doc);
cloudSolrClient.commit();
Answer: AB
Latest H13-723-ENU Practice Questions with 153 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations