lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yao <>
Subject Re: Date faceting and memory leaks
Date Tue, 18 May 2010 00:53:23 GMT


Thanks for the detailed response. No I am not using Date Facet but Facet
Query as for facet display. Here is the full configuration of my "dismax"
query handler:

  <requestHandler name="dismax" class="solr.SearchHandler" >
    <lst name="defaults">
     <str name="defType">dismax</str>
     <str name="echoParams">explicit</str>
     <float name="tie">0.01</float>
     <str name="qf">
        title text^0.5 domain^0.1 nature^0.1 author
     <str name="pf">
        title text
     <str name="bf">
     <str name="fl">
     <str name="mm">
        2&lt;-1 5&lt;-2 6&lt;90%
     <int name="ps">100</int>
     <str name="q.alt">*:*</str>
     <!-- example highlighter config, enable per-query with hl=true -->
     <str name="hl">on</str>
     <str name="hl.fl">title,text</str>
     <!-- for this field, we want no fragmenting, just highlighting -->
     <str name="f.title.hl.fragsize">0</str>
     <str name="f.text.hl.snippets">3</str>
     <!-- instructs Solr to return the field itself if no query terms are
          found -->
     <str name="f.text.hl.alternateField">text</str>
     <str name="f.text.h1.maxAlternateFieldLength">400</str>
     <str name="f.text.hl.fragmenter">regex</str> <!-- defined below -->
    <lst name="appends">
     <str name="facet.field">{!ex=src}src</str>
     <str name="facet.field">{!ex=domain}domain</str>
     <str name="facet.field">{!ex=nature}nature</str>
     <str name="facet.query">{!ex=last_modified}last_modified:[NOW-30DAY TO
     <str name="facet.query">{!ex=last_modified}last_modified:[NOW-90DAY TO
     <str name="facet.query">{!ex=last_modified}last_modified:[NOW-180DAY TO
     <str name="facet.query">{!ex=last_modified}last_modified:[NOW-365DAY TO
     <str name="facet.query">{!ex=last_modified}last_modified:[NOW-730DAY TO
     <str name="facet.query">{!ex=last_modified}last_modified:[* TO

Cache settings:
  <filterCache class="solr.LRUCache" size="1512000" initialSize="1512000"
  <queryResultCache  class="solr.LRUCache" size="512"  initialSize="512"  
  <documentCache class="solr.LRUCache"  size="512"  initialSize="512" 

I am monitoring Solr JVM Heap Memory Usage via remote Jconsole, the image
below shows how heap size keep increasing as more facet query requests being
sent the Solr via JMeter: 

The following is the request URL pattern:
where ${query} is selected randomly from a list of 100 query terms

The date rounding suggest is a very good one, I will need to rerun the test
and report back on the cache setting. I remember my filterCache hit ratio is
around 0.7. I did use the tagged results for multi-select display of facet
values but in this case there is no fq in the load test request URL.

Thanks again and I will report back on the re-run with date rounding.

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message