lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Goller <>
Subject Re: equals() is implemented in some Querys only
Date Thu, 21 Oct 2004 17:07:51 GMT
Daniel Naber schrieb:
> Hi,
> what's the reason that e.g. PhraseQuery implements equals, but FuzzyQuery 
> doesn't? Could this become a problem in some situations?
> Regards
>  Daniel

I don't think there is a reason for this and I think all Queries should
implement equals and hashCode.

It seems that Lucene itself currently does not use equals for
Queries. Applications outside could need it, e.g. for storing a cache
of queries.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message