Nunit test for TestSort.
------------------------

                 Key: LUCENENET-86
                 URL: https://issues.apache.org/jira/browse/LUCENENET-86
             Project: Lucene.Net
          Issue Type: Bug
            Reporter: Digy
            Priority: Minor
         Attachments: FieldDocSortedHitQueue.patch

There are two bugs in FieldDocSortedHitQueue.LessThan method
1-  in  "case SortField.FLOAT:"
     The  value of   docA.fields[i] or docB.fields[i] may be a string. In this 
case SupportClass.Single.Parse should be invoked.
2- No null control for docA.fields[i] or docB.fields[i].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to