Hi, What I have done is I declare a reader = IndexReader.open(dir); then mSearcher = new IndexSearcher(reader); after the above I close the searcher but I didn't close the reader. And I'm wondering is it ok if I did not close the reader, and what will happened if I did not close it?
Thanks regards, Wooi Meng -- View this message in context: http://www.nabble.com/Perform-indexing-and-searching-concurrently-tf3012374.html#a8372827 Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]