mirror of https://github.com/apache/lucene.git
LUCENE-6523: NRT readers now reflect a new commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689198 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3d8bfad40b
commit
b3bc510c2b
|
@ -113,11 +113,11 @@ public class TestSearcherReuse extends SolrTestCaseJ4 {
|
|||
assertSearcherHasNotChanged(expectedSearcher);
|
||||
|
||||
assertU(delQ("id:match_no_documents"));
|
||||
assertU(commit());
|
||||
assertU(commit("softCommit","true","openSearcher","true"));
|
||||
assertSearcherHasNotChanged(expectedSearcher);
|
||||
|
||||
assertU(delI("0")); // no doc has this id, yet
|
||||
assertU(commit("softCommit","true"));
|
||||
assertU(commit("softCommit","true","openSearcher","true"));
|
||||
assertSearcherHasNotChanged(expectedSearcher);
|
||||
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue