Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2340

LucenePropertyIndex should support pure nodeType based query

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.12, 1.1.7
    • lucene
    • None

    Description

      Following queries are currently not handled

      select * from [test:RTypeTest]

      Causing following testcase to fail

      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
      

      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

      Attachments

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: