On Tue, Mar 15, 2011 at 8:12 AM, rahul <asharud...@gmail.com> wrote:
> I am using Solrj as a Solr client in my project.
>
> While searching, for a few words, it seems Solrj takes more time to send
> response, for eg (8 - 12 sec). While searching most of the other words it
> seems Solrj take less amount of time only.
>
> For eg, if I post a search url in browser, it shows the QTime in
> milliseconds only.

The QTime does not measure the time to stream back the response (which
includes loading stored fields).
Since the response is streamed, it's not possible to include this
time.  The difference normally isn't that
large unless you have a network issue, a client that is taking a long
time to read the response,
or a very large index and not enough free RAM for the OS to cache all the files.

Check the solr logs and make sure that equivalent queries are being received.
The QTime is also logged.

-Yonik
http://lucidimagination.com

Reply via email to