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

oak-search-elastic: remove duplications in :suggest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.36.0
    • None
    • None

    Description

      :suggest currently allows duplicated texts. Eg:

      ":suggest":{ 
        "suggestion": [ "car here", "car here" ] 
      }
      

       

      This happens when the index definition has more than one property with "useInSuggest=true" with the same content.

      Attachments

        Issue Links

          Activity

            People

              fortino Fabrizio Fortino
              fortino Fabrizio Fortino
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: