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

spellcheck.maxCollationTries breaks when using FieldCollapsing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA
    • spellchecker
    • None

    Description

      If specifying "spellcheck.maxCollationTries" and "group=true" on the same query, you never get any Spell Check Collations back. The problem is that SpellCheckCollator relies on ResponseBuilder.getToLog().get("hits") to see how many results each test query returns. When "group=true", the "toLog" isn't populated so SpellCheckCollator is unable to find a collation that can return results.

      Attachments

        1. SOLR-2491.patch
          3 kB
          James Dyer

        Issue Links

          Activity

            People

              rcmuir Robert Muir
              jdyer James Dyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: