Searches are not cached (other than possibly by the OS/File system). IndexSearcher can/should be cached (by your application), and how much memory it consumes depends on ... hm, I thought we included a formula for that in Lucene in Action, but it looks like we only included the formula for calculating the number of open files during indexing.
Well, Doug provided this formula a few times, and I don't recall it off the top of my head, but I do know that the .tii index file will be fully read into memory, so look at the size of that file to get an initial idea. Otis --- Chris Fraschetti <[EMAIL PROTECTED]> wrote: > I've got an application that performs millions of searches against a > lucene index, can someone give me a bit of insight as to the memory > consumption of these searches? Is there a cap on how many are kept > around? is there any way I can disable caching for this type of > search? > > -- > ___________________________________________________ > Chris Fraschetti > e [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]