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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.10.0, 1.9.11, 1.8.10, 1.6.16
    • lucene
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: