Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 12128 invoked from network); 24 Jun 2008 01:50:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jun 2008 01:50:12 -0000 Received: (qmail 10790 invoked by uid 500); 24 Jun 2008 01:50:07 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 10734 invoked by uid 500); 24 Jun 2008 01:50:07 -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 10725 invoked by uid 99); 24 Jun 2008 01:50:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2008 18:50:07 -0700 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; Tue, 24 Jun 2008 01:49:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 16D62234C14A for ; Mon, 23 Jun 2008 18:49:45 -0700 (PDT) Message-ID: <1008925383.1214272185092.JavaMail.jira@brutus> Date: Mon, 23 Jun 2008 18:49:45 -0700 (PDT) From: "Karl Wettin (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-1312) InstantiatedIndexReader does not implement getFieldNames properly In-Reply-To: <2036941388.1214094464953.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wettin updated LUCENE-1312: -------------------------------- Attachment: lucene-1312.patch Thanks for the updated patch Jason! I worked a bit on it: * Factored out the writer specific field settings (omitnorms, binary, etc) and introduced an extention in the writer. * Added test cases for deleting documents and comparing field options in TestIndiciesEquals. * Fixed bug in index writer that did not create field settings for non indexed non stored fields, identified by the new test in previous point. * Introduced new class FieldNames that actually merges the field options. The previous patch just copied the most recent field setting from the writer, thus changing a setting from true to false in some cases. I think that was all. I'll be committing this soon pending any comments. > InstantiatedIndexReader does not implement getFieldNames properly > ----------------------------------------------------------------- > > Key: LUCENE-1312 > URL: https://issues.apache.org/jira/browse/LUCENE-1312 > Project: Lucene - Java > Issue Type: Bug > Components: contrib/* > Reporter: Jason Rutherglen > Assignee: Karl Wettin > Attachments: lucene-1312.patch, lucene-1312.patch, lucene-1312.patch, lucene-1312.patch, lucene-1312.patch > > > Causes error in org.apache.lucene.index.SegmentMerger.mergeFields -- 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