NUnite test for TestSimpleExplanations
--------------------------------------

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

1- 
   a- MultiPhraseQuery.Equals method fails because of invalid type casting      
 ( Term item1 = (Term) iter1.Current; ===> Term[] item1 = (Term[]) 
iter1.Current; ). 
   b- When comparing two Term-arrays, the values  should be compared, not the 
instances of them.

2- QueryUtil.CheckUnequal should compare two queries, not the equality of the 
instances.

-- 
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