This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Java in General and the fly likes How to get the IndexSize from Solr using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to get the IndexSize from Solr using Java" Watch "How to get the IndexSize from Solr using Java" New topic
Author

How to get the IndexSize from Solr using Java

Raihan Jamal
Ranch Hand

Joined: Mar 23, 2010
Posts: 86
I need to get the Index Size of the total documents in Apache Solr in Java. And this code is getting the numFound means total number of documents in Apache Solr. And with the use of ReplicationHandler I was thinking that I can get the index size as told by someone here on this link..(http://lucene.472066.n3.nabble.com/cheking-the-size-of-the-index-using-solrj-API-s-td692686.html). but I am not getting the index size.




Any suggestions will be appreciated..


 
Have you checked out Aspose?
 
subject: How to get the IndexSize from Solr using Java
 
It's not a secret anymore!