On 12/2/06, Kevin Lewandowski <[EMAIL PROTECTED]> wrote:
I've done a temporary fix for this by running a proxy in front of tomcat. Then I updated my system startup to start solr, wait 20 seconds, run a few queries, wait 20 seconds, then start the proxy. This is working fine now. But I'd still like to fix the real problem.
OK, this may fix it: https://issues.apache.org/jira/browse/SOLR-77 A war with this patch included is here: http://people.apache.org/~yonik/solr/current/solr.war You also need to configure some queries to be done on the firstSearcher event in solrconfig.xml. Uncomment and customize the example one included. A single query should do, just make sure to include a sort that includes *all* of the fields that are commonly sorted on (the new lucene build with the sort fix hasn't been included yet). If you use any filters (fq param) or faceted browsing commands, then include those too. This will cause all searchers to block and wait for initial warming to be completed. If the load balancer is sending traffic during this time, these requests will pile up for a short time, but should complete OK after that. -Yonik