Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 950FC51F2 for ; Tue, 10 May 2011 18:20:30 +0000 (UTC) Received: (qmail 89133 invoked by uid 500); 10 May 2011 18:20:29 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 89057 invoked by uid 500); 10 May 2011 18:20:29 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 89050 invoked by uid 99); 10 May 2011 18:20:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 18:20:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 18:20:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 758D536E05 for ; Tue, 10 May 2011 18:19:47 +0000 (UTC) Date: Tue, 10 May 2011 18:19:47 +0000 (UTC) From: "Simon Willnauer (JIRA)" To: dev@lucene.apache.org Message-ID: <1532559736.823.1305051587478.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <576673186.5618.1300871825826.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LUCENE-2984) Move hasVectors() & hasProx() responsibility out of SegmentInfo to FieldInfos 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-2984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Willnauer updated LUCENE-2984: ------------------------------------ Attachment: LUCENE-2984.patch Attaching my current state. This patch moves all responsibility for hasVectors / hasProx out of SI into FIs. I also added some transactional code to FI that resets the FI#storeTermVector for a field if the TermVectors creation for that FI in the current segment has not successful. > Move hasVectors() & hasProx() responsibility out of SegmentInfo to FieldInfos > ------------------------------------------------------------------------------ > > Key: LUCENE-2984 > URL: https://issues.apache.org/jira/browse/LUCENE-2984 > Project: Lucene - Java > Issue Type: Improvement > Components: Index > Affects Versions: 4.0 > Reporter: Simon Willnauer > Assignee: Simon Willnauer > Fix For: 4.0 > > Attachments: LUCENE-2984.patch > > > Spin-off from LUCENE-2881 which had this change already but due to some random failures related to this change I remove this part of the patch to make it more isolated and easier to test. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org