This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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..


 
Consider Paul's rocket mass heater.
 
subject: How to get the IndexSize from Solr using Java
 
Similar Threads
Process the multiple records in a file by Producer/consumer concept using Multithreading
File IO - BufferedWriter/FileWriter
i need to skip lines after exception
Trouble writing to a text file
read lines after exception