Skip to content

Commit

Permalink
LUCENE-6523: NRT readers now reflect a new commit
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689198 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
mikemccand committed Jul 4, 2015
1 parent e517a71 commit cda718f
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -113,11 +113,11 @@ public void test() throws Exception {
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 {
Expand Down

0 comments on commit cda718f

Please sign in to comment.