lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1904) Use HashDocSet when random access is needed in faceting
Date Tue, 04 May 2010 16:40:56 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yonik Seeley updated SOLR-1904:
-------------------------------

    Attachment: SOLR-1904.patch

Attaching patch.
A quick test reveals about a 35% speedup with a very large minDf.

> Use HashDocSet when random access is needed in faceting
> -------------------------------------------------------
>
>                 Key: SOLR-1904
>                 URL: https://issues.apache.org/jira/browse/SOLR-1904
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>         Attachments: SOLR-1904.patch
>
>
> When facet.method=enum and we have a minDf>0 (when we skip the filter cache), we iterate
over documents for a term and call baseDocSet.exists(doc).  We should ensure that this base
doc set is fast for .exists(), so if it's a SortedIntSet, make a HashDocSet to use.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message