[ 
https://issues.apache.org/jira/browse/OAK-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220763#comment-14220763
 ] 

Chetan Mehrotra commented on OAK-2282:
--------------------------------------

Current stats around test failure is provided below. Points to note

* Some of the failure are due to test related to aggregation which is pending
* Some of them are pure type related query. like _ select * from 
nt:unstructured_. They would be better served by NodeType query
* Some queries are path evaluation like _SELECT value FROM nt:unstructured 
WHERE jcr:path LIKE '/testroot/%' ORDER BY jcr:score_. Currently not supported
* Some perform ordering on multi value property which is not supported.

Would resume work on aggregation now and revisit this once done

{noformat}
Failed tests:   
testNtFile(org.apache.jackrabbit.oak.jcr.query.TextExtractionQueryTest): 
/testroot/node1 is not part of the result set []
  
testFulltextRelativeProperty(org.apache.jackrabbit.oak.jcr.query.QueryFulltextTest):
 expected:<[/testroot]> but was:<[]>

Tests in error: 
  testJoinWithOR3(org.apache.jackrabbit.core.query.JoinTest): No plan found for 
filter [Filter(query=SELECT a.* FROM [nt:unstructured] AS a  INNER JOIN 
[nt:unstructured] AS b ON ISCHILDNODE(b, a)   WHERE    ( CONTAINS(b.*, 'abc' ) 
OR CONTAINS(a.*, 'abc') )    AND   NAME(b) = 'p2n2' , path=*)] while using 
definition [IndexDefinition : /oak:index/luceneGlobal] and testMode is found to 
be enabled
  testMultiValuedReferenceJoin(org.apache.jackrabbit.core.query.JoinTest): No 
plan found for filter [Filter(query=SELECT a.*, b.* FROM [nt:unstructured] AS a 
INNER JOIN [nt:unstructured] AS b ON a.[jcr:uuid] = b.testref, path=*)] while 
using definition [IndexDefinition : /oak:index/luceneGlobal] and testMode is 
found to be enabled
  testJoinWithOR(org.apache.jackrabbit.core.query.JoinTest): No plan found for 
filter [Filter(query=SELECT a.*, b.* FROM [nt:unstructured] AS a INNER JOIN 
[nt:unstructured] AS b ON a.[jcr:uuid] = b.testref WHERE a.[jcr:primaryType] IS 
NOT NULL OR b.[jcr:primaryType] IS NOT NULL, path=*)] while using definition 
[IndexDefinition : /oak:index/luceneGlobal] and testMode is found to be enabled
  testJoinWithOR2(org.apache.jackrabbit.core.query.JoinTest): No plan found for 
filter [Filter(query=SELECT a.* FROM [nt:unstructured] AS a  INNER JOIN 
[nt:unstructured] AS b ON ISCHILDNODE(b, a)   WHERE    a.[p] = 'abc' OR b.[p] = 
'abc'  , path=*)] while using definition [IndexDefinition : 
/oak:index/luceneGlobal] and testMode is found to be enabled
  testOrderByScore(org.apache.jackrabbit.core.query.OrderByTest): No plan found 
for filter [Filter(query=SELECT value FROM nt:unstructured WHERE jcr:path LIKE 
'/testroot/%' ORDER BY jcr:score, value, path=*)] while using definition 
[IndexDefinition : /oak:index/luceneGlobal] and testMode is found to be enabled
  testOrderByMVP(org.apache.jackrabbit.core.query.OrderByTest): No plan found 
for filter [Filter(query=SELECT value FROM nt:unstructured WHERE jcr:path LIKE 
'/testroot/%' ORDER BY text, path=*)] while using definition [IndexDefinition : 
/oak:index/luceneGlobal] and testMode is found to be enabled
  testBuiltInMixin(org.apache.jackrabbit.core.query.MixinTest): No plan found 
for filter [Filter(query=select [jcr:path], [jcr:score], * from [mix:mimeType] 
as a where isdescendantnode(a, '/testroot') /* xpath: testroot//element(*, 
mix:mimeType) */, path=/testroot//*)] while using definition [IndexDefinition : 
/oak:index/luceneGlobal] and testMode is found to be enabled
  testSQL2SelectColums(org.apache.jackrabbit.core.query.SQL2QueryResultTest): 
No plan found for filter [Filter(query=select * from [test:RTypeTest], path=*)] 
while using definition [IndexDefinition : /oak:index/luceneGlobal] and testMode 
is found to be enabled
  testSimpleQuerySQL4(org.apache.jackrabbit.core.query.SimpleQueryTest): No 
plan found for filter [Filter(query=SELECT * FROM nt:unstructured WHERE 
jcr:path LIKE '/testroot/%', path=*)] while using definition [IndexDefinition : 
/oak:index/luceneGlobal] and testMode is found to be enabled
  testIsNull(org.apache.jackrabbit.core.query.SimpleQueryTest): No plan found 
for filter [Filter(query=SELECT * FROM nt:unstructured WHERE mytext is null and 
jcr:path LIKE '/testroot/%', path=*)] while using definition [IndexDefinition : 
/oak:index/luceneGlobal] and testMode is found to be enabled
  testLogicalExpression(org.apache.jackrabbit.core.query.SimpleQueryTest): No 
plan found for filter [Filter(query=SELECT * FROM nt:unstructured WHERE a=1 and 
b=2 or c=3, path=*)] while using definition [IndexDefinition : 
/oak:index/luceneGlobal] and testMode is found to be enabled
  testOuterJoin(org.apache.jackrabbit.core.query.SQL2OuterJoinTest): No plan 
found for filter [Filter(query= Select * from [test:SamplePage] as page left 
outer join [test:SampleContent] as content on ISDESCENDANTNODE(content,page), 
path=*)] while using definition [IndexDefinition : /oak:index/luceneGlobal] and 
testMode is found to be enabled
  testOuterJoinMissingNode(org.apache.jackrabbit.core.query.SQL2OuterJoinTest): 
No plan found for filter [Filter(query= Select * from [test:SamplePage] as page 
left outer join [test:SampleContent] as content on 
ISDESCENDANTNODE(content,page), path=*)] while using definition 
[IndexDefinition : /oak:index/luceneGlobal] and testMode is found to be enabled
  testOuterJoinExtraNode(org.apache.jackrabbit.core.query.SQL2OuterJoinTest): 
No plan found for filter [Filter(query= Select * from [test:SamplePage] as page 
left outer join [test:SampleContent] as content on 
ISDESCENDANTNODE(content,page), path=*)] while using definition 
[IndexDefinition : /oak:index/luceneGlobal] and testMode is found to be enabled
  sql2(org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexQueryTest): 
Results in target/sql2.txt don't match expected results in 
src/test/resources/sql2.txt; compare the files for details

Tests run: 339, Failures: 2, Errors: 15, Skipped: 0
{noformat}

> Make current testcases pass with new index implementation
> ---------------------------------------------------------
>
>                 Key: OAK-2282
>                 URL: https://issues.apache.org/jira/browse/OAK-2282
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: oak-lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.2
>
>
> Current testcases in oak-lucene should be run against the newer index and all 
> such testcases should pass



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to