Chetan Mehrotra created OAK-2340:
------------------------------------
Summary: 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.2
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)