: 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... -Hoss