Re: failed to open an indexer after about 20 queries

2008-08-06 Thread Marcus Herou
ion e) >>{ >>e.printStackTrace(); >>error = true; >>} >> . >> if (reader != null) >>reader.close(); >> if (searcher != null) >> searcher.close(); >> >> BR, >> Shawn >> >>

Re: failed to open an indexer after about 20 queries

2008-08-05 Thread Grant Ingersoll
reader.close(); if (searcher != null) searcher.close(); BR, Shawn - Original Message From: Marcus Herou <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Tuesday, August 5, 2008 3:00:15 PM Subject: Re: failed to open an indexer after about 20 queries Hi. And s

Re: failed to open an indexer after about 20 queries

2008-08-05 Thread xh sun
  if (reader != null)     reader.close();   if (searcher != null)     searcher.close();        BR, Shawn - Original Message From: Marcus Herou <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Tuesday, August 5, 2008 3:00:15 PM Subject: Re: failed to open an indexer after about

Re: failed to open an indexer after about 20 queries

2008-08-05 Thread Marcus Herou
Hi. And some exception stacktrace would be nice as well. Kindly //Marcus On Tue, Aug 5, 2008 at 4:58 AM, John Griffin <[EMAIL PROTECTED]>wrote: > Xh, > > Sorry about those questions. I received two copies of your email. The first > was corrupt. > > We still need to see more code. No there isn'

RE: failed to open an indexer after about 20 queries

2008-08-04 Thread John Griffin
Xh, Sorry about those questions. I received two copies of your email. The first was corrupt. We still need to see more code. No there isn't any special config necessary. John G. -Original Message- From: xh sun [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2008 8:34 PM To: java-use

RE: failed to open an indexer after about 20 queries

2008-08-04 Thread John Griffin
Xh, We need to see a little more code her. Are you reopening the reader for each query? If so are you closing it each time? We need more information. John G. -Original Message- From: xh sun [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2008 8:34 PM To: java-user@lucene.apache.org