lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Solr Autowarming
Date Thu, 06 Nov 2008 21:10:49 GMT

: Yes, you can extend QuerySenderListener to do this.

one of the really simple approaches i use (since the EventListener api is 
kind of awkward) is to implement a RequestHandler that executes whatever 
queries you want (using LocalSolrRequest instances) and then configure 
QuerySenderListener to execute that handler once.

that way you can do more interesting stuff, like letting the results of a 
query inform what additional queries you want to execute, or inspect your 
schema, and then directly warm the FieldCache for fields of a certian type 
or naming convention, etc...


View raw message