actualManager.release(searcher);
}
public void purgeExpiredSearchers(SearcherVersionTracker versionTracker) {
try {
lifetimeManager.prune(new PruneByAge(1800.0));
} catch (IOException e) {
Log.error(Geonet.LUCENE, "error pruning SearcherLifetimeManager for: " + GeonetworkNRTManager.this, e);
}
// prune out the versionMapping now that lifetimeManager has
// been pruned