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

Allow native query to be run against specifc property index

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.9, 1.1.4
    • lucene
    • None

    Description

      With support for multiple Lucene indexes its not possible to allow a native query to pickup specific Lucene index

      select [jcr:path] from [nt:base] where native('lucene', 'name:(Hello OR World)')

      To support running this query against a specific Lucene property index 'foo' we can encode the index name in function name

      select [jcr:path] from [nt:base] where native('foo', 'name:(Hello OR World)')

      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: