lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
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
solrconfig.xml...

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


-Hoss


Mime
View raw message