Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 53435 invoked from network); 13 May 2004 10:50:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 May 2004 10:50:44 -0000 Received: (qmail 33937 invoked by uid 500); 13 May 2004 10:50:37 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 33859 invoked by uid 500); 13 May 2004 10:50:36 -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 33782 invoked by uid 98); 13 May 2004 10:50:35 -0000 Received: from otis_gospodnetic@yahoo.com by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(216.136.173.240):. Processed in 0.018454 secs); 13 May 2004 10:50:35 -0000 X-Qmail-Scanner-Mail-From: otis_gospodnetic@yahoo.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(216.136.173.240):. Processed in 0.018454 secs) Received: from unknown (HELO web12703.mail.yahoo.com) (216.136.173.240) by hermes.apache.org with SMTP; 13 May 2004 10:50:35 -0000 Message-ID: <20040513105034.24620.qmail@web12703.mail.yahoo.com> Received: from [194.152.216.244] by web12703.mail.yahoo.com via HTTP; Thu, 13 May 2004 03:50:34 PDT Date: Thu, 13 May 2004 03:50:34 -0700 (PDT) From: Otis Gospodnetic Subject: Re: index on SAN (storage area network) To: Lucene Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N My guess would be that you just have a wrong path to the index directory somewhere. You can add your own checks to your own code, before you create IndexSearcher/Reader. Something like: if (new File(/path/to/your/index/dir).isDirectory()) - ok, else not ok ;) Otis --- hui wrote: > Hi, > I am getting "not a directory" error when doing search after I moved > the > index from local to a SAN box. FSDirectory does not recognize the > index > directory as a directory. Any idea? I use JDK142 and Lucene 1.3 > final. > > Creating the index works fine. > > Regards, > hui > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org