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

Queries with facets should not use traversal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.24.0, 1.22.17
    • core, lucene

    Description

      Consider a scenario where a query is there with facets and the traversal cost is less than the index cost that serves the facet query . This would be problematic.

       

      In this case we should maybe set the traversal cost to infinity so that traversal is not an option for queries with facets.

       

      In case there is no index available to serve this faceted query we can probably throw an exception with a meaningful message .

      Attachments

        1. OAK-8711.patch
          5 kB
          Amrit Verma

        Issue Links

          Activity

            People

              ngupta Nitin Gupta
              ngupta Nitin Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: