On 5/31/07, Gal Nitzan <[EMAIL PROTECTED]> wrote:
We have a small index with about 4 million docs.
On this index we have a field "tags" which is a multiple values field.
Running a facet query on the index with something like:
facet=true&facetField=tags&q=type:video takes about 1 minute.
We have defined a large cache which enables the query to run much faster
(about 1 sec)
<filterCache
class="solr.LRUCache"
size="1500000"
initialSize="600000"
autowarmCount="300000"/>
However, the cache size brings us to the 2GB limit.
To reduce memory usage, you could try setting the facet.enum.cache.minDf
parameter to a low value (on a recent nightly build, soon 1.2). If that
slows things down too much and your index is not optimized, then you
could try optimizing it.
-Yonik