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

Fulltext parser sorts and unique-s parsed terms

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.13, 1.6.0
    • query
    • None

    Description

      Pasting a bit of discussion from OAK-4705:

      whether it's a good idea to sort entries ("hello - world" becomes "- hello world") and make them unique ("test test" becomes "test").

      I think parser shouldn't play with ordering .. but I can see the rational that it allows consumer of parsed output to potentially have forward seeks in their dictionaries. Otoh, I think making unique or not shouldn't be parsers's concern at all.
      I'd open a new issue to follow up on these aspects.

      /cc tmueller

      Attachments

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              catholicon Vikas Saurabh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: