Hi everybody,

I use SolrJ to add and update the solr index.

my sample code is like this.

SolrServer server = new CommonsHttpSolrServer("http://localhost:8983/solr";);
ExampleDto dto = new ExampleDto();
dto.id = "a11200";
dto.name = "Dummy";
UpdateResponse response = server.addBean(dto);
server.commit();

and I'm trying to get the count of updated rows(update indexes)
through UpdateResponse Object or By other methods, but I can't.

Anyone any ideas on How to get the count of updated rows by SolrJ?

Actually, It's possible to get the count on Solr when add or update solr index?

Reply via email to