Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8147

DirectSpellChecker needs better parameter checks

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • modules/suggest
    • None
    • New

    Description

      This thing has a lot of parameters (and option setters too), but looks like it really needs better checks. For example if i ask for zero suggestions I think it may give a confusing NPE instead: SOLR-11858

      There are probably other cases too: we should add all the missing checks and give IllegalArgumentExceptions and so on instead.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rcmuir Robert Muir
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: