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

IndexPlanner incorrectly lets all full text indices to participate for suggest/spellcheck queries

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.14, 1.3.14, 1.4
    • lucene
    • None

    Description

      Currently, index planner builds plan for suggest/spellcheck queries even if the indices don't have those functionality enabled.

      Also, there's another issue: when suggestion/spell-check come into play, we need to dis-allow inheritance behavior of indexingRule. To clarify, a query like SELECT [rep:suggest()] from [nt:unstructured] where suggest('test') if using some index preparing suggestions on nt:base would give incorrect suggestions as the index would have suggested values from other type of nodes as well.

      Attachments

        Issue Links

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment