/** * Returns <code>true</code> iff one or more changes to the engine are not visible to via the current searcher *or* there are pending * refresh listeners. * Otherwise <code>false</code>. * * @throws AlreadyClosedException if the engine or internal indexwriter in the engine is already closed */ public boolean isRefreshNeeded() { return getEngine().refreshNeeded() || (refreshListeners != null && refreshListeners.refreshNeeded()); }
/** * Returns <code>true</code> iff one or more changes to the engine are not visible to via the current searcher *or* there are pending * refresh listeners. * Otherwise <code>false</code>. * * @throws AlreadyClosedException if the engine or internal indexwriter in the engine is already closed */ public boolean isRefreshNeeded() { return getEngine().refreshNeeded() || (refreshListeners != null && refreshListeners.refreshNeeded()); }
/** * Returns <code>true</code> iff one or more changes to the engine are not visible to via the current searcher *or* there are pending * refresh listeners. * Otherwise <code>false</code>. * * @throws AlreadyClosedException if the engine or internal indexwriter in the engine is already closed */ public boolean isRefreshNeeded() { return getEngine().refreshNeeded() || (refreshListeners != null && refreshListeners.refreshNeeded()); }
/** * Returns <code>true</code> iff one or more changes to the engine are not visible to via the current searcher *or* there are pending * refresh listeners. * Otherwise <code>false</code>. * * @throws AlreadyClosedException if the engine or internal indexwriter in the engine is already closed */ public boolean isRefreshNeeded() { return getEngine().refreshNeeded() || (refreshListeners != null && refreshListeners.refreshNeeded()); }