: Has anyone thought of adding the docsum time to the qtime or possibly
: adding separate timing information for the real 'solr query time'.

it's pretty much impossible to include in the response a value which
indicates the total amount of time needed to generate the response...

1) the response is getting stream to the client as the ResponseWRiter
   generates it ... so a number like that could be "unfairly" high if the
   network is slow.
2) if the number is part of the response, and Solr needs to compute the
   number based on how long the entire response took to generate/send,
   then there is a catch22 ... at best a response writer could include a time
   value as the *very* last thing it sends, and report the time up to
   that point, but that wouldn't be the *total* time (and wouldn't include
   how long it took to close the connection on the server side)

...this is why log files are usually the best way to get timing info ...
you can log the *real* total time when you are all done.


-Hoss

Reply via email to