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

SpellCheckComponent should throw error if queryAnalyzerFieldType provided doesn't exist

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.10.2
    • Fix Version/s: None
    • Component/s: spellchecker
    • Labels:
      None

      Description

      If you typo or otherwise mess up the queryAnalyzerFieldType setting in solrconfig.xml for the spellcheck component, you will not get an error. Instead, the code falls back to the default (WhitespaceTokenizer). This should really be an error.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dsmiley David Smiley
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: