lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Griffin" <jgrif...@thebluezone.net>
Subject RE: failed to open an indexer after about 20 queries
Date Tue, 05 Aug 2008 02:56:17 GMT
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:wysunxiaohua@yahoo.com.cn] 
Sent: Monday, August 04, 2008 8:34 PM
To: 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(indexName);    //failed after about 20
queries
          searcher = new IndexSearcher(reader);  
 
The reader and search have been closed after each query. Is there any
special configuration for the index in linux system? 
Appreicate your help very much.
BR,
Shawn


      


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message