Re: Query time help

2011-10-31 Thread darren
Thanks Erick. I'll check that and report any oddities I find. > Something you may have overlooked is that with &debugQuery=on, > way down near the end of the list is a "timing" section, looks like > this: > > > that lists the time each of the components takes to do its thing, > things like highli

Re: Query time help

2011-10-31 Thread Erick Erickson
Something you may have overlooked is that with &debugQuery=on, way down near the end of the list is a "timing" section, looks like this: that lists the time each of the components takes to do its thing, things like highlighting, morelikethis, even the debug component. Sometimes surprises lurk in

RE: Query time help

2011-10-30 Thread darren
I have rows=10. Good idea, I will set it to 1. Should I expect a constant return time with rows=10 despite the # of total found documents since they aren't returned? > Another thing to note is that QTime does not include the time it takes to > retrieve the stored documents to include in the respo

RE: Query time help

2011-10-30 Thread Michael Ryan
Another thing to note is that QTime does not include the time it takes to retrieve the stored documents to include in the response. So if you're using a high rows value in your query, QTime may be much smaller than the actual time Solr spends generating the response. Try adding rows=1 to your quer

Re: Query time help

2011-10-30 Thread Ted Dunning
That sounds like Nagle's algorithm. http://en.wikipedia.org/wiki/Nagle's_algorithm#Interactions_with_real-time_systems On Sun, Oct 30, 2011 at 2:01 PM, wrote: > Another interesting note. When I use the Solr Admin screen to perform the > same query, it doesn't take as long. Only when using SolrJ

Re: Query time help

2011-10-30 Thread darren
Another interesting note. When I use the Solr Admin screen to perform the same query, it doesn't take as long. Only when using SolrJ and Http Solr server connection. > >>   I am running Solr 3.4 in a glassfish domain for >> itself. I have about 12,500 documents with a 100 or so >> fields with the

Re: Query time help

2011-10-30 Thread darren
Yeah, I figured that. I guess I will have to dig deeper because the data transferred is only about 60k and all local on one machine. Shouldn't take 13 seconds for that. > >>   I am running Solr 3.4 in a glassfish domain for >> itself. I have about 12,500 documents with a 100 or so >> fields with t

Re: Query time help

2011-10-30 Thread Ahmet Arslan
>   I am running Solr 3.4 in a glassfish domain for > itself. I have about 12,500 documents with a 100 or so > fields with the works (stored, termv's, etc). > > In my webtier code, I use SolrJ and execute a query as > such: > >             long querystart = > new Date().getTime(); >            

Query time help

2011-10-30 Thread Darren Govoni
Hi, I am running Solr 3.4 in a glassfish domain for itself. I have about 12,500 documents with a 100 or so fields with the works (stored, termv's, etc). In my webtier code, I use SolrJ and execute a query as such: long querystart = new Date().getTime(); System.out.pr