[ 
https://issues.apache.org/jira/browse/SOLR-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466166
 ] 

Yonik Seeley commented on SOLR-114:
-----------------------------------

The performance tests are commented out in the TestDocSet test... I  had other 
changes in my tree related to negative queries and only selected the two source 
files for diffs.

I had quickly tested Java5 to make sure it was still faster in all instances, 
and it was.  Numbers were about the same, some speedups larger and some smaller 
than Java6.

> HashDocSet new hash(), andNot(), union()
> ----------------------------------------
>
>                 Key: SOLR-114
>                 URL: https://issues.apache.org/jira/browse/SOLR-114
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>            Reporter: Yonik Seeley
>         Attachments: hashdocset.patch
>
>
> Looking at the negative filters stuff, I realized that andNot() had no 
> optimized implementation for HashDocSet, so I implemented that and union().
> While I was in there, I did a re-analysis of hash collision rates and came up 
> with a cool new hash method that goes directly into a linear scan and is 
> hence simpler, faster, and has fewer collisions.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to