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

Solr 5.5,6.6 spellchecker does not return the same response in single character query cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 5.5, 6.6, 7.2
    • None
    • spellchecker
    • None

    Description

      When running the getting started example of solr 5.5 and 6.6 I noticed a peculiar behavior that occurs for single character queries under the /spell requestHandler

      When searcher for a single term the response from solr does not have a spell check section compared to a two character query which does.

      This seems to be independent from things like minPrefix (1 by default) and minQueryLength (4 by default).

      I would expect that any number of character would return a spellcheck section.

      I first came across this when trying to upgrade a solr plugin that had tests using single queries to assert suggestion counts.

      I have included screenshots of the response.

      Attachments

        1. Screen Shot 2017-12-06 at 7.09.33 PM.png
          115 kB
          Evan Fagerberg
        2. Screen Shot 2017-12-06 at 7.03.24 PM.png
          140 kB
          Evan Fagerberg

        Activity

          People

            Unassigned Unassigned
            efagerberg Evan Fagerberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: