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

Indexes that don't support facets being queried should not participate in execution plan

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0, 1.9.11, 1.8.10, 1.6.16
    • Component/s: lucene
    • Labels:
      None

      Description

      Currently we can have a case where a query with facets can be answered by an index which can resolve all the constraints but don't have facets configured. At times this index might even win the cost war even if there could be an alternative index which might report to be more expensive but can answer the facets.

      While it's not a good practice to have competing indexes, but index selection could have been smarter anyway.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                catholicon Vikas Saurabh
                Reporter:
                catholicon Vikas Saurabh
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: