[
https://issues.apache.org/jira/browse/LUCENE-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grant Ingersoll updated LUCENE-1299:
------------------------------------
Attachment: LUCENE-1299.patch
Patch to properly handle null field
> 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]