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.
Christoph
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
|