petite_abeille wrote:
Each indexed field adds a file per segment. So, if you want to conserve file handles, use fewer indexed fields per index, and/or use multiple indexes, as you have done.On Friday, Dec 20, 2002, at 19:58 Europe/Zurich, Scott Ganyo wrote:FYI: The best thing I've found for both increasing speed and reducing file handles is to use an IndexWriter on a RamDirectory for indexing and then use FileWriter.addIndexes() to write the result to disk. This is subject to the amount of memory you have available, of course...I do follow this strategy and it seems to work nicely... however it might be not enough :-( Another factor to consider is how homogeneous are your indexes: the more documents are alike the better. I tried a wide spectrum of combination and I settled on using one index per class of documents. This seems to work best for me as far as file handles go. YMMV.
Doug
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
