lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Created] (LUCENE-8147) DirectSpellChecker needs better parameter checks
Date Thu, 01 Feb 2018 00:37:12 GMT
Robert Muir created LUCENE-8147:

             Summary: DirectSpellChecker needs better parameter checks
                 Key: LUCENE-8147
             Project: Lucene - Core
          Issue Type: Bug
          Components: modules/suggest
            Reporter: Robert Muir

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.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message