lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
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
                 URL: https://issues.apache.org/jira/browse/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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message