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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.14, 1.3.14, 1.4
    • Component/s: lucene
    • Labels:
      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

        1. OAK-3838-take2.patch
          18 kB
          Vikas Saurabh
        2. OAK-3838.patch
          15 kB
          Vikas Saurabh

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: