Ricky Pritchett created LUCENE-4712:
---------------------------------------
Summary: NullPointer Exception in MemoryIndex.MemoryIndexReader
Key: LUCENE-4712
URL: https://issues.apache.org/jira/browse/LUCENE-4712
Project: Lucene - Core
Issue Type: Bug
Components: modules/other
Affects Versions: 4.1
Reporter: Ricky Pritchett
NullPointer Exceptions when searching on an index with a query that has a field
that's not in the index.
The NullPointer is thrown at line 1141:
public DocValues normValues(String field) {
if (fieldInfos.get(field).omitsNorms()) <---- //If fieldInfos doesn't
contain the field then a NullPointer is thrown.
return null;
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]