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

Queries with facets should not use traversal

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment