Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 56847 invoked from network); 26 Mar 2004 17:26:38 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Mar 2004 17:26:38 -0000 Received: (qmail 22248 invoked by uid 500); 26 Mar 2004 17:26:25 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 22199 invoked by uid 500); 26 Mar 2004 17:26:25 -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 22183 invoked from network); 26 Mar 2004 17:26:24 -0000 Received: from unknown (HELO mail.gmhwh.org) (12.110.19.37) by daedalus.apache.org with SMTP; 26 Mar 2004 17:26:24 -0000 Received: from 192.168.8.246 by mail.gmhwh.org with ESMTP ( (MMS v5.5.3)); Fri, 26 Mar 2004 10:29:23 -0600 Received: from WH-INET-MTA by wh-inet.gmhwh.org with Novell_GroupWise; Fri, 26 Mar 2004 10:25:52 -0700 Message-ID: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Fri, 26 Mar 2004 10:25:37 -0700 From: "Charlie Smith" To: lucene-user@jakarta.apache.org cc: johnbrown1024@netscape.net Subject: Re: too many files open error MIME-Version: 1.0 X-WSS-ID: 6C7AB7F91045454-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 I'm using lucene-1.2.jar as part of the build for this docSearcher application. Would these recommendations work for this or should I upgrade to lucene 1.3. In doing so, I'm not sure if a rewrite of the docSearcher will be necessary or not. >>>Daniel Naber wrote on 3/26/04: Try IndexWriter.setUseCompoundFile(true) to limit the number of files. >>> Erik Hatcher 3/26/2004 2:32:16 AM >>> If you are using Lucene 1.3, try using the index in "compound" format. You will have to rebuild (or convert) your index to this format. The handy utility Luke will convert an index easily. Erik On Mar 25, 2004, at 9:34 PM, Charlie Smith wrote: > I need to get solution to following error ASAP. Please help me with > this. > I'm getting following error returned from call to > > > > try { > searcher = new IndexSearcher( > IndexReader.open(indexName) //create an > indexSearcher for our page > ); > } catch (Exception e) { //any error > that > happens is probably due > //to a > permission > problem or non-existant > //or otherwise > corrupt > index > %> >

ERROR opening the Index - contact sysadmin!

>

While parsing query: <%=e.getMessage()%>

> <% error = true; > //don't do > anything up to the footer > } > > > > Output: > ERROR opening the Index - contact sysadmin! > > While parsing query: > /opt/famhistdev/fhstage/jbin/.docSearcher/indexes/fhstage_update/ > _3ff.f6 (Too > many open files) > >
> > Charlie > 3/25/04 > > > > --------------------------------------------------------------------- > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org