On Wed, Nov 7, 2012 at 10:11 PM, Ian Lea <[email protected]> wrote: > 4.0 has maybeRefreshBlocking which "is useful if you want to guarantee > that the next call to acquire() will return a refreshed instance". > You don't say what version you're using. > > If you're stuck on 3.6.1 can you do something with refreshIfNeeded() > or isSearcherCurrent()?
Ah, yes. I'm stuck on 3.6 at the moment (for backwards compatibility with v2 indexes.) refreshIfNeeded() might work, but it's protected so I will have to subclass to make it public (and hope that nothing bad happens by accessing it directly.) TX --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
