jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r159368 - in incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/query: SQLQueryLevel2Test.java XPathQueryLevel2Test.java
Date Tue, 29 Mar 2005 13:25:59 GMT
Author: mreutegg
Date: Tue Mar 29 05:25:57 2005
New Revision: 159368

URL: http://svn.apache.org/viewcvs?view=rev&rev=159368
Log:
JCR-83: Text Search Syntax Deviates from Spec
- removed implicit AND operator from query statements.

Modified:
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/query/XPathQueryLevel2Test.java

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java?view=diff&r1=159367&r2=159368
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java
(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java
Tue Mar 29 05:25:57 2005
@@ -146,7 +146,7 @@
         tmp.append(propertyName1);
         tmp.append(" FROM ").append(testNodeType);
         tmp.append(" WHERE CONTAINS(");
-        tmp.append("'''quick brown'' AND -cat')");
+        tmp.append("'''quick brown'' -cat')");
         return new Statement(tmp.toString(), Query.SQL);
     }
 

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/query/XPathQueryLevel2Test.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/query/XPathQueryLevel2Test.java?view=diff&r1=159367&r2=159368
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/query/XPathQueryLevel2Test.java
(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/query/XPathQueryLevel2Test.java
Tue Mar 29 05:25:57 2005
@@ -142,7 +142,7 @@
         StringBuffer tmp = new StringBuffer("/");
         tmp.append(jcrRoot).append(testRoot);
         tmp.append("/*[").append(jcrfnContains);
-        tmp.append("(\"'quick brown' AND -cat\")]");
+        tmp.append("(\"'quick brown' -cat\")]");
         tmp.append("/(@").append(jcrPath).append("|@").append(propertyName1);
         tmp.append("|@").append(jcrScore).append(")");
         return new Statement(tmp.toString(), Query.XPATH);



Mime
View raw message