jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1430839 - in /jackrabbit/oak/trunk/oak-core/src/test/resources/org/apache/jackrabbit/oak/query: sql2.txt sql2_explain.txt
Date Wed, 09 Jan 2013 13:11:46 GMT
Author: thomasm
Date: Wed Jan  9 13:11:46 2013
New Revision: 1430839

URL: http://svn.apache.org/viewvc?rev=1430839&view=rev
Log:
OAK-420 Query: Lucene index problem with isdescendantnode

Modified:
    jackrabbit/oak/trunk/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2.txt
    jackrabbit/oak/trunk/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2_explain.txt

Modified: jackrabbit/oak/trunk/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2.txt
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2.txt?rev=1430839&r1=1430838&r2=1430839&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2.txt
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2.txt
Wed Jan  9 13:11:46 2013
@@ -33,9 +33,6 @@ xpath test//yes/..[@x]
 select b.[jcr:path] as [jcr:path], b.[jcr:score] as [jcr:score], b.* from [nt:base] as a
inner join [nt:base] as b on ischildnode(a, b) where name(a) = 'yes' and isdescendantnode(a,
'/test') and b.[x] is not null
 /test/a, null, /test/a
 
-explain select b.[jcr:path] as [jcr:path], b.[jcr:score] as [jcr:score], b.* from [nt:base]
as a inner join [nt:base] as b on ischildnode(a, b) where name(a) = 'yes' and isdescendantnode(a,
'/test') and b.[x] is not null
-[nt:base] as [a] /* traverse "/test//*" where (name([a]) = cast('yes' as string)) and (isdescendantnode([a],
[/test])) */ inner join [nt:base] as [b] /* traverse "//*" where [b].[x] is not null */ on
ischildnode([a], [b])
-
 commit / - "test"
 
 # test spaces in identifiers

Modified: jackrabbit/oak/trunk/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2_explain.txt
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2_explain.txt?rev=1430839&r1=1430838&r2=1430839&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2_explain.txt
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2_explain.txt
Wed Jan  9 13:11:46 2013
@@ -33,6 +33,9 @@ explain select * from [nt:base] where pr
 explain select * from [nt:base] where property(id, 'REFERENCE') = CAST('123' AS REFERENCE)
 [nt:base] as [nt:base] /* traverse "//*" where property([nt:base].[id], 'reference') = cast('123'
as reference) */
 
+explain select b.[jcr:path] as [jcr:path], b.[jcr:score] as [jcr:score], b.* from [nt:base]
as a inner join [nt:base] as b on ischildnode(a, b) where name(a) = 'yes' and isdescendantnode(a,
'/test') and b.[x] is not null
+[nt:base] as [a] /* traverse "/test//*" where (name([a]) = cast('yes' as string)) and (isdescendantnode([a],
[/test])) */ inner join [nt:base] as [b] /* traverse "//*" where [b].[x] is not null */ on
ischildnode([a], [b])
+
 select * from [nt:base] where property([*], 'REFERENCE') = CAST('123' AS REFERENCE)
 /test/a
 



Mime
View raw message