Solr
  1. Solr
  2. SOLR-2853

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

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3, 4.0-ALPHA
    • Fix Version/s: None
    • Component/s: spellchecker
    • Labels:
      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.

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Matt Traynham
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development