lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kouta Osabe <>
Subject How to get the count of update rows by SolrJ
Date Sun, 08 Aug 2010 01:28:20 GMT
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(); = "a11200"; = "Dummy";
UpdateResponse response = server.addBean(dto);

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?

View raw message