clear the percolator reader from the cache explicitly

This commit is contained in:
kimchy 2011-01-17 10:11:14 +02:00
parent 1f289df128
commit 20c77a2ac5
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ public class PercolatorService extends AbstractIndexComponent {
throw new PercolatorException(index, "failed to load queries from percolator index");
} finally {
searcher.release();
indexService.cache().clear(searcher.reader());
}
}