Yep, I notice the default is true/true, but I explicitly specified both those things too and there's no difference in behavior.
On Wed, Mar 4, 2009 at 7:39 PM, Shalin Shekhar Mangar <shalinman...@gmail.com> wrote: > On Thu, Mar 5, 2009 at 6:06 AM, Steve Conover <scono...@gmail.com> wrote: > >> I'm doing some testing of a solr master/slave config and find that, >> after syncing my slave, I need to sleep for about 400ms after commit >> to "see" the new index state. i.e. if I don't sleep, and I execute a >> query, I get results that reflect the prior state of the index. >> > > How are you sending the commit? You should use commit with waitSearcher=true > and waitFlush=true so that it blocks until the new searcher becomes > available for querying. > > > -- > Regards, > Shalin Shekhar Mangar. >