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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org