[
https://issues.apache.org/jira/browse/OAK-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chetan Mehrotra resolved OAK-2340.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.2)
1.1.7
Added support in trunk with http://svn.apache.org/r1659765
With this fixed the {{testSQL2SelectColumsn}} is still not enabled as that
would require creating the test nodeType before hand while the index config is
bootstrapped and that would take considerable effort. Instead a similar
testcase is added
> LucenePropertyIndex should support pure nodeType based query
> ------------------------------------------------------------
>
> Key: OAK-2340
> URL: https://issues.apache.org/jira/browse/OAK-2340
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: oak-lucene
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Fix For: 1.1.7
>
>
> Following queries are currently not handled
> bq. select * from [test:RTypeTest]
> Causing following testcase to fail
> {noformat}
> 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
> {noformat}
> Current implementation currently can handle such queries but explicitly does
> not do that as these queries are probably better served by nodeType index and
> lucene index should not compete with that as its async. That thinking needs
> to be changed
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)