On Mar 5, 2011, at 9:40 AM, Paul Elschot wrote: >What happens is that you actually end up comparing two different objects, >one which is the DistanceQuery and one which is the inner class, so it >doesn't work.
Iirc the one with the inner class is a (Lucene) Query, so why compare it to a (Surround) DistanceQuery from which it may have been generated? Never mind, I don't have the source code here... Regards, Paul Elschot --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org