First time you run a query it's always slower, because it reads data from disk. After the first query, caches are built and stored in RAM memory, so the second run of that query will hit caches and be sensibly faster.
To change how slow the first query is, play around with you firstSearcher and newSearcher queries (see the example solrconfig.xml for more details) Following link should provide you some more info on caching and what you can do to improve the performance of your first query. http://wiki.apache.org/solr/SolrCaching If your hardware and setup allows it, you can try a trick, putting the contents of your index in RAM directly: cat .../<core>/data/index/* >/dev/null ----- Thanks, Michael -- View this message in context: http://lucene.472066.n3.nabble.com/The-first-search-is-slow-tp4099316p4099347.html Sent from the Solr - User mailing list archive at Nabble.com.