: I am curious what docset implementation would be chosen to store the : docset result. (Does it automatically select the right one based on : the density of the docset , for eg - if the number of set bits in : bitset is > 1/8th then may be storing as a BitDocSet might be ok - : but for storing a bitset with 10 bits out of possible 300K . : HashDocSet might be better) .
see the solrconfig.xml option... <!-- This entry enables an int hash representation for filters (DocSets) when the number of items in the set is less than maxSize. For smaller sets, this representation is more memory efficient, more efficient to iterate over, and faster to take intersections. --> <HashDocSet maxSize="3000" loadFactor="0.75"/> : Where can I look ( in solr source code) to understand more about this. Thanks. DocSetHitCollector is what populates the DocSets (SolrIndexSearch tells it those settings) -Hoss