Hi, I have a set of indices in different languages (very smal indices: on average each index directory has 10,000 documents, which has an overall size of less than 2mb). I want to know if this is a good idea to cache IndexReader (once opened) somewhere and further reuse it? My application is single-threaded, but I have memory concerns, since the indexing and search is totally done on client machines.
Does it make sense to have all IndexReaders cached (for example if opening an index reader takes some time). Does Lucene load some part of index in memory as soon as a call to IndexReader.open() is done? Mohsen. -- View this message in context: http://www.nabble.com/Doesn-it-make-sense-cache-IndexReader--tp18502361p18502361.html 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]