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 42C4E776A for ; Wed, 9 Nov 2011 15:08:18 +0000 (UTC) Received: (qmail 20421 invoked by uid 500); 9 Nov 2011 15:08:16 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 20351 invoked by uid 500); 9 Nov 2011 15:08:16 -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 20326 invoked by uid 99); 9 Nov 2011 15:08:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 15:08:16 +0000 X-ASF-Spam-Status: No, hits=-2001.2 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; Wed, 09 Nov 2011 15:08:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B207344871 for ; Wed, 9 Nov 2011 15:07:51 +0000 (UTC) Date: Wed, 9 Nov 2011 15:07:51 +0000 (UTC) From: "Simon Willnauer (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <626336406.14511.1320851271730.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1543397246.55575.1320325892471.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3558) SearcherManager and NRTManager should be in the same package 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/LUCENE-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147084#comment-13147084 ] Simon Willnauer commented on LUCENE-3558: ----------------------------------------- bq. Can we also move SearcherLifetimeManager I wasn't sure about this one - SeracherManager and NRTManager went through serious refactorings since they where added. But we can still do that if it is in core... I will mover the NRTCachingDirectory in a different issue. bq. I'm curious why you used svn copy instead of svn move? I used svn cp since the patch removes the files and otherwise some systems have problems if the files don't exist anymore. I used svn mv to create the patch actually :) > SearcherManager and NRTManager should be in the same package > ------------------------------------------------------------ > > Key: LUCENE-3558 > URL: https://issues.apache.org/jira/browse/LUCENE-3558 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Robert Muir > Assignee: Simon Willnauer > Fix For: 3.5, 4.0 > > Attachments: LUCENE-3558.patch, LUCENE-3558.sh > > > I didnt even know NRTManager was still around, because its in the .index package, whereas SearcherManager is in the .search package. > Separately, I don't like that this stuff is so 'hard' with core lucene... would it be so bad if this stuff was added to core? > I suspect a lot of people have issues with this stuff (see http://www.lucidimagination.com/search/document/37964e5f0e5d733b) for example. > Worst case is just that, combine mistakes with trying to manage this stuff with MMap unmapping and total lack of error detection > for searching closed readers (LUCENE-3439) and its a mess. -- 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