You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Peter A. Kirk" <pk...@alpha-solutions.dk> on 2010/03/02 04:50:12 UTC

query execution date/time

Hi

I have written a "SearchComponent" which I use to write information about queries to a log. Is it possible in a SearchComponent to get the date (and time) the query was executed?

Thanks,
Peter

Re: query execution date/time

Posted by Chris Hostetter <ho...@fucit.org>.
: I have written a "SearchComponent" which I use to write information 
: about queries to a log. Is it possible in a SearchComponent to get the 
: date (and time) the query was executed?

Since the trivially obvious answer is to put "Date now = new Date()" in 
your SearchComponent, I feel like there must be something about your 
question that i'm not understanding.



-Hoss