NPE doing local sensitive sorting when sort field is missing
------------------------------------------------------------
Key: LUCENE-650
URL: http://issues.apache.org/jira/browse/LUCENE-650
Project: Lucene - Java
Issue Type: Bug
Components: Search
Affects Versions: 2.0.0
Reporter: Oliver Hutchison
Attachments: sortNpeFix.patch
If you do a local sensitive sort against a field that is missing from some
documents in the index an NPE will get thrown.
Attached is a patch which resolved the issue and updates the sort test case to
give coverage to this issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
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]