[ https://issues.apache.org/jira/browse/LUCENE-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Ingersoll resolved LUCENE-1299. ------------------------------------- Resolution: Fixed Lucene Fields: (was: [Patch Available, New]) Committed revision 663649. > Spell Checker suggestSimilar throws NPE when IndexReader is not null and > field is null > -------------------------------------------------------------------------------------- > > Key: LUCENE-1299 > URL: https://issues.apache.org/jira/browse/LUCENE-1299 > Project: Lucene - Java > Issue Type: Bug > Components: contrib/spellchecker > Reporter: Grant Ingersoll > Assignee: Grant Ingersoll > Priority: Minor > Attachments: LUCENE-1299.patch > > > The SpellChecker.suggestSimilar(String word, int numSug, IndexReader ir, > String field, boolean morePopular) throws a NullPointerException when the > IndexReader is not null, but the Field is. The Javadocs say that it is fine > to have the field be null, but doesn't comment on the fact that the > IndexReader also needs to be null in that case. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]