From java-dev-return-28482-apmail-lucene-java-dev-archive=lucene.apache.org@lucene.apache.org Sun Nov 16 19:18:53 2008 Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 91407 invoked from network); 16 Nov 2008 19:18:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Nov 2008 19:18:52 -0000 Received: (qmail 37823 invoked by uid 500); 16 Nov 2008 19:18:59 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 37766 invoked by uid 500); 16 Nov 2008 19:18:58 -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 37757 invoked by uid 99); 16 Nov 2008 19:18:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Nov 2008 11:18:58 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [69.44.16.11] (HELO getopt.org) (69.44.16.11) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Nov 2008 19:17:35 +0000 Received: from [192.168.0.220] ([81.219.54.251]) (authenticated) by getopt.org (8.11.6/8.11.6) with ESMTP id mAGJHTA29463 for ; Sun, 16 Nov 2008 13:17:30 -0600 Message-ID: <492071AF.2010002@getopt.org> Date: Sun, 16 Nov 2008 20:17:03 +0100 From: Andrzej Bialecki User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: java-dev@lucene.apache.org Subject: Luke bugs (Re: [jira] Commented: (LUCENE-1454) Corrupted index produced by lucene 2.4) References: <1467383906.1226840568631.JavaMail.jira@brutus> In-Reply-To: <1467383906.1226840568631.JavaMail.jira@brutus> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Michael McCandless (JIRA) wrote: > [ https://issues.apache.org/jira/browse/LUCENE-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647960#action_12647960 ] > > Michael McCandless commented on LUCENE-1454: > -------------------------------------------- > > You're right, Luke is saying that! > > But, that's a misleading error -- here are the sources in Luke for that error: > > {code} > fn = ir.getFieldNames(IndexReader.FieldOption.ALL); > if (fn.size() == 0) { > errorMsg("Invalid or corrupted index."); > return; > } > {code} > > So, what Luke really means is there are 0 fields found in the index, ie it's an empty index. You're lucky that I spotted this message ... ;) I'll fix it in the next minor release of Luke, pretty soon. However, in the future please notify me about any suspected bugs in Luke, otherwise I may miss reports like this. -- Best regards, Andrzej Bialecki <>< ___. ___ ___ ___ _ _ __________________________________ [__ || __|__/|__||\/| Information Retrieval, Semantic Web ___|||__|| \| || | Embedded Unix, System Integration http://www.sigram.com Contact: info at sigram dot com --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org