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

Property2Index: node type is used when indexing, but ignored when querying

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7
    • query
    • None

    Description

      The Property2Index filters by node type, so each index only contains data for a list of node types.

      But the getCost and and query methods ignore the node type.

      Because of that, if there are multiple indexes for the same property, each index filtering on certain node types, then running a query might pick the wrong index.

      The result is that the query doesn't return any data where it should, because the index doesn't return the right nodes.

      Attachments

        Activity

          People

            stillalex Alex Deparvu
            thomasm Thomas Mueller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: