You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ho...@apache.org on 2017/06/14 20:19:37 UTC

lucene-solr:jira/SOLR-10834: found an 'id' range query i overlooked before because it only fails depending on test method order

Repository: lucene-solr
Updated Branches:
  refs/heads/jira/SOLR-10834 b26bf9d60 -> 7b95773bd


found an 'id' range query i overlooked before because it only fails depending on test method order


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

Branch: refs/heads/jira/SOLR-10834
Commit: 7b95773bd524cd86aaccc56cc33a003a9aff2004
Parents: b26bf9d
Author: Chris Hostetter <ho...@apache.org>
Authored: Wed Jun 14 11:53:39 2017 -0700
Committer: Chris Hostetter <ho...@apache.org>
Committed: Wed Jun 14 11:53:39 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/7b95773b/solr/core/src/test/org/apache/solr/search/function/TestFunctionQuery.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/search/function/TestFunctionQuery.java b/solr/core/src/test/org/apache/solr/search/function/TestFunctionQuery.java
index 7c9fa49..f19e4b0 100644
--- a/solr/core/src/test/org/apache/solr/search/function/TestFunctionQuery.java
+++ b/solr/core/src/test/org/apache/solr/search/function/TestFunctionQuery.java
@@ -504,7 +504,7 @@ public class TestFunctionQuery extends SolrTestCaseJ4 {
 
     String threeonetwo =  "/response/docs==[{'x_i':200},{'x_i':100},{'x_i':300}]";
 
-    String q = "id:[1 TO 3]";
+    String q = "id_i:[1 TO 3]";
     assertJQ(req("q",q,  "fl","x_i", "sort","add(x_i,x_i) desc")
       ,desc
     );