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
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-user@lucene.apache.org > Subject: failed to open an indexer after abou

RE: failed to open an indexer after about 20 queries

2008-08-04 Thread John Griffin
java-user@lucene.apache.org Subject: failed to open an indexer after about 20 queries Hi, The indexer can't be opened after about 20 queries in linux system, but it is fine if the index is in windows  system. The indexer is the same in both systems.   reader = IndexReader.open

RE: failed to open an indexer after about 20 queries

2008-08-04 Thread John Griffin
@lucene.apache.org Subject: failed to open an indexer after about 20 queries Hi, The indexer can't be opened after about 20 queries in linux system, but it is fine if the index is in windows  system. The indexer is the same in both systems.   reader = IndexReader.open(indexName);    //failed after abo

failed to open an indexer after about 20 queries

2008-08-04 Thread xh sun
Hi, The indexer can't be opened after about 20 queries in linux system, but it is fine if the index is in windows  system. The indexer is the same in both systems.   reader = IndexReader.open(indexName);    //failed after about 20 queries   searcher = new IndexSearcher(reader);