Github user moshebla commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/501#discussion_r234882891
--- Diff: solr/core/src/test/org/apache/solr/search/TestReload.java ---
@@ -36,13 +36,13 @@ public void testGetRealtimeReload() throws Exception {
assertU(commit("softCommit","true")); // should cause a RTG searcher
to be opened
- assertJQ(req("qt","/get","id","1")
+ assertJQ(req("qt","/get","id","1", "fl", "id,_version_")
,"=={'doc':{'id':'1','_version_':" + version + "}}"
);
h.reload();
- assertJQ(req("qt","/get","id","1")
+ assertJQ(req("qt","/get","id","1", "fl", "id,_version_")
--- End diff --
_root_ is also added to the doc so I added fl param to filter it,
since, IMO, testing _root_ seemed out of scope for this test.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]