lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: OutOfMemory error while sorting
Date Mon, 19 Jun 2006 17:53:24 GMT

: nearly 100 percent and no queries were answered. I found out that
: "warming" the server with serial queries, not parallel ones, bypassed
: this problem (not to be confused with warming the caches!). So after a

Note that you can have Solr do this automatically for you in both
firstSearcher and newSearcher listeners (so you never risk having one of
your users hit the searcher before your warming queries).  Take a look at
the commented out usage of QuerySenderListener in the example

    <listener event="newSearcher" class="solr.QuerySenderListener">
      <arr name="queries">
        <lst> <str name="q">solr</str> <str name="start">0</str>
name="rows">10</str> </lst>
        <lst> <str name="q">rocks</str> <str name="start">0</str>
name="rows">10</str> </lst>


View raw message