On 11/5/2013 10:45 PM, Luis Cappa wrote: > I have seen that when disabling replication and executing queries the time > responses are good. Interesting... I can't ser the solution, then, because > slow replication tomes are needed to almost always get 'fresh' documents in > slaves to search by, but this appareantly slows down first queries launched > because of caches warm up. There must be a solution for this scenario - I > think that it should be very common. Do you think that disabling caches will > improve this?
If disabling replication keeps your query times good, then I would say that Solr's caches may be the only reason that you're seeing those good query times. With nothing changing the index, the caches remain valid. When the index changes, the caches are invalidated and Solr creates new empty caches, which is why autowarming can be important. I don't think that disabling the caches will help, but you can always try it. Thanks, Shawn
