Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2853

SpellCheckCollator.collate method creates the a PossibilityIterator with maxTries instead of maxCollations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3, 4.0-ALPHA
    • 4.10, 6.0
    • spellchecker
    • None

    Description

      Class SpellCheckCollator creates a new possibility iterator based on the spellcheck results. The iterator is created with:
      PossibilityIterator possibilityIter = new PossibilityIterator(result.getSuggestions(), maxTries, maxEvaluations);

      The issue is maxTries, should be maxCollations. Correct me if I'm wrong.

      Attachments

        1. SOLR-2853.patch
          2 kB
          James Dyer
        2. SOLR-2853.patch
          0.8 kB
          Matt Traynham

        Activity

          People

            jdyer James Dyer
            mtraynham Matt Traynham
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: