Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 66749 invoked from network); 28 Apr 2004 04:04:45 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 28 Apr 2004 04:04:45 -0000 Received: (qmail 70660 invoked by uid 500); 28 Apr 2004 04:04:19 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 70641 invoked by uid 500); 28 Apr 2004 04:04:19 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 70626 invoked from network); 28 Apr 2004 04:04:19 -0000 Received: from unknown (HELO web20302.mail.yahoo.com) (216.136.226.83) by daedalus.apache.org with SMTP; 28 Apr 2004 04:04:19 -0000 Message-ID: <20040428040429.84463.qmail@web20302.mail.yahoo.com> Received: from [203.126.142.231] by web20302.mail.yahoo.com via HTTP; Tue, 27 Apr 2004 21:04:29 PDT Date: Tue, 27 Apr 2004 21:04:29 -0700 (PDT) From: Gabriela D Subject: Re: Index directory name To: Lucene Users List In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1960910253-1083125069=:82897" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-1960910253-1083125069=:82897 Content-Type: text/plain; charset=us-ascii I assume you are using Wintel platform. You may map the the directory where your indexes are kept using persistent connection. (this can be done using "NET USE....." command in command prompt). This keeps network connection always open, which otherwise Windows will close the connection after sometime(but still manully accessible). You can notice this in explorer window where you will find a red cross mark against the mapped network drive. Harsha. "Narayan, Anand" wrote: I am having a problem with using a network path for the index directory. If I use a path of the form //server/indexdir the IndexWriter finds it and indexes documents but the IndexSearcher throws an exception saying it is not a valid path. I cannot use a local path as I need to be able to support a common index directory for a clustered environment. What is the best solution in this case? Thanks Anand --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org --------------------------------- Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs --0-1960910253-1083125069=:82897--