You can reload the core on which you want to reset the stats - this lets you keep the engine up and running without requiring you restart Solr. If you have an separate core for aggregating (i.e. a core that contains no data and has no caches) then the overhead for reloading that core is negligable and the time to reload is essentially zero.
The primary disadvantage of the core reloading approach is that your warmed caches are dropped (if you are using caches on that core), but as long as you have good warmup queries you should be okay as long as the reload isn't constant. -Trey On Tue, Mar 30, 2010 at 8:10 PM, Chris Hostetter <hossman_luc...@fucit.org>wrote: > > : Is there a way to reset the stats counters? For example in the Query > handler > : avgTimePerRequest is not much use after a while as it is an avg since the > : server started. > > not at the moment ... but it would probably be fairly straight forward to > add as a new option if you want to file a Jira isssue (and maybe take a > crak at a patch) > > > > -Hoss > >