Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 85366 invoked from network); 17 Jun 2009 18:50:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jun 2009 18:50:21 -0000 Received: (qmail 76081 invoked by uid 500); 17 Jun 2009 18:50:31 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 76006 invoked by uid 500); 17 Jun 2009 18:50:31 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 75998 invoked by uid 99); 17 Jun 2009 18:50:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 18:50:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 18:50:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 59E65234C044 for ; Wed, 17 Jun 2009 11:50:07 -0700 (PDT) Message-ID: <729361476.1245264607353.JavaMail.jira@brutus> Date: Wed, 17 Jun 2009 11:50:07 -0700 (PDT) From: "Tim Smith (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-1625) openReaderPassed not populated in CheckIndex.Status.SegmentInfoStatus In-Reply-To: <925847693.1241184990569.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Smith updated LUCENE-1625: ------------------------------ Attachment: CheckIndex.patch Attached patch for exposing all collected stats (created with svn diff > CheckIndex.patch (please correct me if this is not the right way (this is my first patch))) This patch breaks out the testing of field norms, terms, stored fields, and term vectors into their own methods it also creates a status object for each one of these tests to make the results transparent this status object exposes: * stats previously only available from infoStream * exception thrown if test fails (null if test was successful) each SegmentInfoStatus will have these status objects attached NOTE: This patch allows that if one of the above tests fails, it will attempt to keep testing (to find all failures) any failure will still result in the overall segment being rejected > openReaderPassed not populated in CheckIndex.Status.SegmentInfoStatus > --------------------------------------------------------------------- > > Key: LUCENE-1625 > URL: https://issues.apache.org/jira/browse/LUCENE-1625 > Project: Lucene - Java > Issue Type: Bug > Components: Index > Affects Versions: 2.4 > Reporter: Tim Smith > Attachments: CheckIndex.patch > > > When using CheckIndex programatically, the openReaderPassed flag on the SegmentInfoStatus is never populated (so it always comes back false) > looking at the code, its clear that openReaderPassed is defined, but never used > furthermore, it appears that not all information that is propagated to the "InfoStream" is available via SegmentIinfoStatus > All of the following information should be able to be gather from public properties on the SegmentInfoStatus: > test: open reader.........OK > test: fields, norms.......OK [2 fields] > test: terms, freq, prox...OK [101 terms; 133 terms/docs pairs; 133 tokens] > test: stored fields.......OK [100 total field count; avg 1 fields per doc] > test: term vectors........OK [0 total vector count; avg 0 term/freq vector fields per doc] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org