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 BB627960B for ; Mon, 12 Dec 2011 17:08:01 +0000 (UTC) Received: (qmail 73975 invoked by uid 500); 12 Dec 2011 17:08:00 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 73816 invoked by uid 500); 12 Dec 2011 17:08:00 -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 73803 invoked by uid 99); 12 Dec 2011 17:08:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2011 17:08:00 +0000 X-ASF-Spam-Status: No, hits=-2001.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; Mon, 12 Dec 2011 17:07:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CBAFD10E16B for ; Mon, 12 Dec 2011 17:07:30 +0000 (UTC) Date: Mon, 12 Dec 2011 17:07:30 +0000 (UTC) From: "Luca Cavanna (Updated) (JIRA)" To: dev@lucene.apache.org Message-ID: <1207670703.1737.1323709650836.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2097077236.2612.1321971280139.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LUCENE-3586) Choose a specific Directory implementation running the CheckIndex main 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-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luca Cavanna updated LUCENE-3586: --------------------------------- Attachment: LUCENE-3586.patch Good eye! Thanks Michael for your feedback. I attached a new patch version. The merge hasn't been so easy since LTC needs sometimes a Directory, while other times a FSDirectory. Furthermore commmand line utilities don't need a fallback while tests do..before the tests we even create the directory on file system etc. Let me know what you think! > Choose a specific Directory implementation running the CheckIndex main > ---------------------------------------------------------------------- > > Key: LUCENE-3586 > URL: https://issues.apache.org/jira/browse/LUCENE-3586 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Luca Cavanna > Assignee: Luca Cavanna > Priority: Minor > Attachments: LUCENE-3586.patch, LUCENE-3586.patch, LUCENE-3586.patch > > > It should be possible to choose a specific Directory implementation to use during the CheckIndex process when we run it from its main. > What about an additional main parameter? > In fact, I'm experiencing some problems with MMapDirectory working with a big segment, and after some failed attempts playing with maxChunkSize, I decided to switch to another FSDirectory implementation but I needed to do that on my own main. > Should we also consider to use a FileSwitchDirectory? > I'm willing to contribute, could you please let me know your thoughts about it? -- 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