Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5146

AnalyzingSuggester sort order doesn't respect the actual weight

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4
    • 4.5, 6.0
    • modules/spellchecker
    • None
    • New, Patch Available

    Description

      Uwe would say: "sorry but your code is wrong". We don't actually read the weight value in AnalyzingComparator which can cause really odd suggestions since we read parts of the input as the weight. Non of our tests catches that so I will go ahead and add some tests for it as well.

      Attachments

        1. LUCENE-5146.patch
          9 kB
          Simon Willnauer
        2. LUCENE-5146.patch
          9 kB
          Simon Willnauer

        Activity

          People

            simonw Simon Willnauer
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: