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 2017/12/30 03:04:00 UTC

[jira] [Commented] (SOLR-10122) lower memory usage for facet sorted on unique(other_field)

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

Yonik Seeley commented on SOLR-10122:
-------------------------------------

A single shared hash table that includes the slot number as part of the key would probably be most effective when dealing with two high cardinality fields.  To do that most efficiently may require SOLR-11806, or alternatively an additional array to keep track of persistent slot numbers to use in the hash key.

> lower memory usage for facet sorted on unique(other_field)
> ----------------------------------------------------------
>
>                 Key: SOLR-10122
>                 URL: https://issues.apache.org/jira/browse/SOLR-10122
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Facet Module
>            Reporter: Yonik Seeley
>
> Faceting on a high cardinality field and sorting by unique values in a different high cardinality field uses a lot of memory.  We should implement an alternative method and pick the correct method based on index statistics and domain size.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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