clear the percolator reader from the cache explicitly
This commit is contained in:
parent
1f289df128
commit
20c77a2ac5
|
@ -100,6 +100,7 @@ public class PercolatorService extends AbstractIndexComponent {
|
||||||
throw new PercolatorException(index, "failed to load queries from percolator index");
|
throw new PercolatorException(index, "failed to load queries from percolator index");
|
||||||
} finally {
|
} finally {
|
||||||
searcher.release();
|
searcher.release();
|
||||||
|
indexService.cache().clear(searcher.reader());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue