diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 7c19304d40d..6e576b2ef98 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -602,6 +602,9 @@ Other Changes * SOLR-6906: Fix typo bug in DistributedDebugComponentTest.testCompareWithNonDistributedRequest (Ramkumar Aiyenga via Erick Erickson) +* SOLR-6905: Test pseudo-field retrieval in distributed search. + (Ramkumar Aiyengar via shalin) + ================== 4.10.3 ================== Bug Fixes diff --git a/solr/core/src/test/org/apache/solr/TestDistributedSearch.java b/solr/core/src/test/org/apache/solr/TestDistributedSearch.java index d68789a358d..be50d6230e8 100644 --- a/solr/core/src/test/org/apache/solr/TestDistributedSearch.java +++ b/solr/core/src/test/org/apache/solr/TestDistributedSearch.java @@ -315,6 +315,11 @@ public class TestDistributedSearch extends BaseDistributedSearchTestCase { query("q","*:*", "fl",i1, "fl", "id","sort",i1 + " desc"); query("q","*:*", "fl", "id", "fl",nint, "fl",tint,"sort",i1 + " desc"); query("q","*:*", "fl",nint, "fl", "id", "fl",tint,"sort",i1 + " desc"); + handle.put("did", SKIPVAL); + query("q","*:*", "fl","did:[docid]","sort",i1 + " desc"); + handle.remove("did"); + query("q","*:*", "fl","log(" + tlong + "),abs(" + tlong + "),score","sort",i1 + " desc"); + query("q","*:*", "fl","n_*","sort",i1 + " desc"); // basic spellcheck testing query("q", "toyata", "fl", "id,lowerfilt", "spellcheck", true, "spellcheck.q", "toyata", "qt", "spellCheckCompRH_Direct", "shards.qt", "spellCheckCompRH_Direct");