On Thu, Aug 25, 2011 at 5:19 PM, Michael Ryan <mr...@moreover.com> wrote: >> 10,000,000 document index >> Internal Document id is 32 bit unsigned int >> Max Memory Used by a single cache slot in the filter cache = 32 bits x >> 10,000,000 docs = 320,000,000 bits or 38 MB > > I think it depends on where exactly the result set was generated. I believe > the result set will usually be represented by a BitDocSet, which requires 1 > bit per doc in your index (result set size doesn't matter), so in your case > it would be about 1.2MB.
Right - and Solr switches between the implementation depending on set size... so if the number of documents in the set were 100, then it would only take up 400 bytes. -Yonik http://www.lucidimagination.com