You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2010/05/04 18:36:55 UTC
[jira] Created: (SOLR-1904) Use HashDocSet when random access is
needed in faceting
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
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
[jira] Resolved: (SOLR-1904) Use HashDocSet when random access is
needed in faceting
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley resolved SOLR-1904.
--------------------------------
Fix Version/s: 4.0
Resolution: Fixed
> 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
> Fix For: 4.0
>
> 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
[jira] Updated: (SOLR-1904) Use HashDocSet when random access is
needed in faceting
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ 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