lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-1299) Spell Checker suggestSimilar throws NPE when IndexReader is not null and field is null
Date Thu, 05 Jun 2008 16:01:47 GMT
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


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


Mime
View raw message