Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 64509 invoked from network); 18 Jul 2008 22:02:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jul 2008 22:02:14 -0000 Received: (qmail 6095 invoked by uid 500); 18 Jul 2008 22:02:09 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 5178 invoked by uid 500); 18 Jul 2008 22:02:07 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 5167 invoked by uid 99); 18 Jul 2008 22:02:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 15:02:07 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.69.42.181] (HELO radix.cryptio.net) (208.69.42.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 22:01:14 +0000 Received: by radix.cryptio.net (Postfix, from userid 1007) id DBC6771C475; Fri, 18 Jul 2008 15:01:38 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by radix.cryptio.net (Postfix) with ESMTP id D9E6771C473 for ; Fri, 18 Jul 2008 15:01:38 -0700 (PDT) Date: Fri, 18 Jul 2008 15:01:38 -0700 (PDT) From: Chris Hostetter To: java-user@lucene.apache.org Subject: Re: Lucene & XFile interface In-Reply-To: <487D2676.7050102@stimulussoft.com> Message-ID: References: <487D2676.7050102@stimulussoft.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org : remote drive. Is there a way to easily modify lucene such that when it reads / : writes from the Index it uses the XFile object instead of File? In this way, : there is a lot more flexibility on where the index can be stored (without : having to rely on operating system mount points). Is it correct to subclass : org.apache.lucene.store.Directory for this purpose? Are there any other That is exactly what the org.apache.lucene.store.Directory abstraction is for, so you can keep your index anywhere you want. -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org