[email protected]
[Top] [All Lists]

[jira] Commented: (LUCENE-460) hashCode improvements

Subject: [jira] Commented: (LUCENE-460) hashCode improvements
From: "paul.elschot (JIRA)"
Date: Mon, 31 Oct 2005 20:22:56 +0100 CET
http://issues.apache.org/jira/browse/LUCENE-460?page=comments#action_12356432 ] 

paul.elschot commented on LUCENE-460:

>  For example, TermQuery(t) and SpanTermQuery(t) will generate the exact same 
> hash codes. 

I'm sorry, I misread this as an example of what a hash code should be. You 
meant this
to be an example of what is wrong with current hashcodes...

> hashCode improvements
> ---------------------
>          Key: LUCENE-460
>          URL: http://issues.apache.org/jira/browse/LUCENE-460
>      Project: Lucene - Java
>         Type: Improvement
>   Components: Search
>     Versions: CVS Nightly - Specify date in submission
>     Reporter: Yonik Seeley
>     Priority: Minor
>      Fix For: CVS Nightly - Specify date in submission

> It would be nice for all Query classes to implement hashCode and equals to 
> enable them to be used as keys when caching.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • [jira] Commented: (LUCENE-460) hashCode improvements, paul.elschot (JIRA) <=