Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 81488 invoked from network); 5 Apr 2010 12:35:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Apr 2010 12:35:48 -0000 Received: (qmail 97186 invoked by uid 500); 5 Apr 2010 12:35:46 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 96993 invoked by uid 500); 5 Apr 2010 12:35:45 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 96985 invoked by uid 99); 5 Apr 2010 12:35:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 12:35:45 +0000 X-ASF-Spam-Status: No, hits=1.7 required=10.0 tests=AWL,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 12:35:40 +0000 Received: from ben.nabble.com ([192.168.236.152]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NylWR-00022i-8W for solr-user@lucene.apache.org; Mon, 05 Apr 2010 05:35:19 -0700 Date: Mon, 5 Apr 2010 04:35:19 -0800 (PST) From: Na_D To: solr-user@lucene.apache.org Message-ID: <1270470919257-697599.post@n3.nabble.com> In-Reply-To: <2c138bed0907201741t406b9547t3545b186b3757512@mail.gmail.com> References: <7C046A67-3A1B-49C8-A717-457802B71B7D@ehatchersolutions.com> <2c138bed0907201741t406b9547t3545b186b3757512@mail.gmail.com> Subject: Re: Obtaining SOLR index size on disk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hi, I am using the piece of code given below ReplicationHandler handler2 = new ReplicationHandler(); System.out.println( handler2.getDescription()); NamedList statistics = handler2.getStatistics(); System.out.println("Statistics "+ statistics); The result that i am getting (ie the printed statment is : Statistics {handlerStart=1270469530218,requests=0,errors=0,timeouts=0,totalTime=0,avgTimePerRequest=NaN,avgRequestsPerSecond=NaN} But the Statistics consists of the other info too: org.apache.solr.handler.ReplicationHandler $Revision: 829682 $ ReplicationHandler provides replication of index and configuration files from Master to Slaves 1270463612968 0 0 0 0 NaN 0.0 19.29 KB 1266984293131 3 C:\solr\apache-solr-1.4.0\example\example-DIH\solr\db\data\index true false schema.xml,stopwords.txt,elevate.xml [commit, startup] true this is where the problem lies : i need the size of the index im not finding the API nor is the statistics printing out(sysout) the same. how to i get the size of the index???? -- View this message in context: http://n3.nabble.com/Obtaining-SOLR-index-size-on-disk-tp500095p697599.html Sent from the Solr - User mailing list archive at Nabble.com.