: > Also, I'm still suspicious about your application.  You have 1.5M
: > distinct tags for 4M documents?  That seems quite dense.

it's possible the app is using the filterCache for other things (on other
fields) besies just the tag field ... but that still doesn't explain one
thing...

: description:   LRU Cache(maxSize=1000000, initialSize=600000,

...that doesn't look like it matches the config you posted earlier...

>>>: <filterCache
>>>:  class="solr.LRUCache"
>>>:  size="1500000"          <--- not 1000000

...either way if you have that many unique "tags" i think the HashDocSet
suggestion may be the best way to go, since each tag probably has a very
low cardinality (i can't imagine they'd be very high with that kind of
ratio)

I would also give serious thought to caching the solr results externally
(using squid or memcached or something like that) ... Solr will cache the
individual computations for you very well .. but for something like a tag
cloud you probably don't care about the exact numeric values that much,
and minor fluctuations as tags are added removed (or new items come in)
aren't going to be a big issue.


-Hoss

Reply via email to