Yonik Seeley wrote:
On 7/25/07, Luis Neves <[EMAIL PROTECTED]> wrote:
We are having some issues with one of our Solr instances when
autowarming is
enabled. The index has about 2.2M documents and 2GB of size, so it's not
particularly big. Solr runs with "-Xmx1024M -Xms1024M".
"Big" is relative to what you are trying to do (faceting, sorting, etc).
Good point. We don't use faceting or sorting in this particular index.
From the stack trace it looks like a function query is the last
straw... it causes a FieldCache entry to be populated, just like
sorting would. Depending on the number of unique terms in the field,
and the number of fields you sort on or do function queries on, it can
take quite a bit of memory.
I see ... we use the DismaxQueryHandler and the bf parameter is set like:
<str name="bf">linear(recip(rord(EntryDate),1,1000,1000),11,0)</str>
The objective is to boost the documents by "freshness" ... this is probably the
cause of the memory abuse since all the "EntryDate" values are unique.
I will try to use something like:
<str name="bq">EntryDate:[* TO NOW/DAY-3MONTH]^1.5</str>
Thanks!!
--
Luis Neves