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 38632905E for ; Fri, 7 Oct 2011 11:42:53 +0000 (UTC) Received: (qmail 63451 invoked by uid 500); 7 Oct 2011 11:42:51 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 63387 invoked by uid 500); 7 Oct 2011 11:42:51 -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 63379 invoked by uid 99); 7 Oct 2011 11:42:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 11:42:51 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Fri, 07 Oct 2011 11:42:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 48EEB2AD7BB for ; Fri, 7 Oct 2011 11:42:30 +0000 (UTC) Date: Fri, 7 Oct 2011 11:42:30 +0000 (UTC) From: "Mark Miller (Resolved) (JIRA)" To: dev@lucene.apache.org Message-ID: <1086273110.7456.1317987750300.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <464082135.58815.1306913627357.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (SOLR-2565) Prevent IW#close and cut over to IW#commit MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller resolved SOLR-2565. ------------------------------- Resolution: Fixed > Prevent IW#close and cut over to IW#commit > ------------------------------------------ > > Key: SOLR-2565 > URL: https://issues.apache.org/jira/browse/SOLR-2565 > Project: Solr > Issue Type: Improvement > Components: update > Affects Versions: 4.0 > Reporter: Simon Willnauer > Assignee: Mark Miller > Fix For: 4.0 > > Attachments: SOLR-2565-revert.patch, SOLR-2565.patch, SOLR-2565.patch, SOLR-2565.patch, SOLR-2565__HuperDuperAutoCommitTest.patch, dump.txt, fix+hossmans-test.patch, slowtests.txt > > > Spinnoff from SOLR-2193. We already have a branch to work on this issue here https://svn.apache.org/repos/asf/lucene/dev/branches/solr2193 > The main goal here is to prevent solr from closing the IW and use IW#commit instead. AFAIK the main issues here are: > The update handler needs an overhaul. > A few goals I think we might want to look at: > 1. Expose the SolrIndexWriter in the api or add the proper abstractions to get done what we now do with special casing: > 2. Stop closing the IndexWriter and start using commit (still lazy IW init though). > 3. Drop iwAccess, iwCommit locks and sync mostly at the Lucene level. > 4. Address the current issues we face because multiple original/'reloaded' cores can have a different IndexWriter on the same index. > Eventually this is a preparation for NRT support in Solr which I will create a followup issue for. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa 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