Re: question regarding BooleanQuery:equals() method

2010-02-15 Thread Smith G
Hello All, I am really sorry for not following the rules and bringing it to the top. It is important at the moment. Thanks. On 11 February 2010 15:51, Smith G wrote: > Hello All, >            I am writing some test cases for a custom-class which > modifies incoming TermQuery and

question regarding BooleanQuery:equals() method

2010-02-11 Thread Smith G
Hello All, I am writing some test cases for a custom-class which modifies incoming TermQuery and adds some other Terms and returns a BooleanQuery. As always I have used assertEquals(), which apparently uses equals() method. I found out that following two queries are different from each