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

2006-04-05 Thread Yonik Seeley (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-460?page=all ] Yonik Seeley closed LUCENE-460: --- Resolution: Fixed Assign To: Yonik Seeley closing... I think I got most of these. hashCode improvements - Key: LUCENE

LUCENE-460

2005-12-23 Thread Pasha Bizhan
Hi, Question about latest cvs changes and hashcodes. http://issues.apache.org/jira/browse/LUCENE-460 Could anybody explain the magic numbers? 0x6634D93C,0x2742E74A and other. Any special meaning? Is this documented anywhere? Pasha

Re: LUCENE-460

2005-12-23 Thread Yonik Seeley
and hashcodes. http://issues.apache.org/jira/browse/LUCENE-460 Could anybody explain the magic numbers? 0x6634D93C,0x2742E74A and other. Any special meaning? Is this documented anywhere? Pasha - To unsubscribe, e-mail

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

2005-12-23 Thread Yonik Seeley (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-460?page=comments#action_12361200 ] Yonik Seeley commented on LUCENE-460: - Some people have asked where some of the magic constants come from in the hashCodes: python -c import random;print hex

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

2005-10-31 Thread paul.elschot (JIRA)
[ 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

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

2005-10-30 Thread Yonik Seeley (JIRA)
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

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

2005-10-30 Thread Yonik Seeley (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-460?page=comments#action_12356325 ] Yonik Seeley commented on LUCENE-460: - A couple of guidelines off the top of my head... - hash codes should strive to be unique across the Query hierarchy, not just

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

2005-10-30 Thread Yonik Seeley (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-460?page=comments#action_12356326 ] Yonik Seeley commented on LUCENE-460: - Oh, and preserve entropy by using reversible integer hash functions (see the previous link). - key ^= (key a) | (key b

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

2005-10-30 Thread paul.elschot (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-460?page=comments#action_12356384 ] paul.elschot commented on LUCENE-460: -  - hash codes should strive to be unique across the Query hierarchy, not just unique within one specific subclass. For example