Folks, We have a problem in our environment where after a system is idle the query time goes up from a few 100ms to 4+ seconds after 9 hours of idle time on the system.
System Details: - Solr 1.4 - 10 Million Index. - Use MMAP for mapping the index files in memory Test Details: - 8 hour performance run with ingestion (@ 8 docs/sec) , query rate - 3 Queries per sec. - Commit is per hour. Issue: - After 9 hours of idle time (ie no queries, no ingestion ) every query takes 4+ seconds, subsequent queries are fast. I have a few specific questions: A. Does Lucene/Solr have internal caches which may be flushed out of memory when the system is idle ? B. What operations are done on a per term basis (example: build doc lists ) for first time queries. C. Any pointers to what else may be an issue here. Really appreciate any help you can provide. ST