You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mk...@apache.org on 2017/06/26 09:16:15 UTC

lucene-solr:master: SOLR-10824: fixing stats tests: ignore local scores from query result cache.

Repository: lucene-solr
Updated Branches:
  refs/heads/master e4a7fc59a -> 7c448623c


SOLR-10824: fixing stats tests: ignore local scores from query result cache.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/7c448623
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/7c448623
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/7c448623

Branch: refs/heads/master
Commit: 7c448623ccb1d7284f72144bb69e2998051f75ab
Parents: e4a7fc5
Author: Mikhail Khludnev <mk...@apache.org>
Authored: Mon Jun 26 12:11:34 2017 +0300
Committer: Mikhail Khludnev <mk...@apache.org>
Committed: Mon Jun 26 12:11:51 2017 +0300

----------------------------------------------------------------------
 .../test/org/apache/solr/search/stats/TestDefaultStatsCache.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/7c448623/solr/core/src/test/org/apache/solr/search/stats/TestDefaultStatsCache.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/search/stats/TestDefaultStatsCache.java b/solr/core/src/test/org/apache/solr/search/stats/TestDefaultStatsCache.java
index 88300ba..f577387 100644
--- a/solr/core/src/test/org/apache/solr/search/stats/TestDefaultStatsCache.java
+++ b/solr/core/src/test/org/apache/solr/search/stats/TestDefaultStatsCache.java
@@ -73,7 +73,7 @@ public class TestDefaultStatsCache extends BaseDistributedSearchTestCase {
     commit();
 
     if (aDocId != null) {
-      dfQuery("q", "id:"+aDocId,"debugQuery", "true", "fl", "*,score");
+      dfQuery("q", "{!cache=false}id:"+aDocId,"debugQuery", "true", "fl", "*,score");
     }
     dfQuery("q", "a_t:one a_t:four", "debugQuery", "true", "fl", "*,score");
   }