Re: Search query speed

2015-11-11 Thread John Stric
There is a .NET app that is calling solr. I am measuring time span using
.NET provided methods. It used to take about 42 msec and it started taking
66 msec from the time to compose the call and query solr, get results and
parse them back. Interestingly today it was close to 44 msec.
I am testing using 4 threads and 1000 iterations i.e. each thread makes 250
requests. I then do the average.

The query is being done using dismax parser with mm, qf, qs and bf. There
are 5 query fields. The query includes filter on 3 fields and facet on two
fields

No changes were done: no new docs, no updated or deleted docs. I did try to
restart machine and test multiple time/multiple ways and still the average
was about 66 msec.



On Wed, Nov 11, 2015 at 12:18 PM, Chris Hostetter 
wrote:

>
> : The speed of particular query has gone from about 42 msec to 66 msec
> : without any changes.
>
> 1) Define "speed" ?
>
> how are you measuring?
> where are you measuring?
> are you measuring averages? over what sample size?
>
> 2) define "particular query" ?
>
> what types of queries?
> what types of params are in the request?
> what do the results look like?
>
> 3) Define "any changes" ?
>
> new docs?
> deleted docs?
> updated docs?
> restarted server?
> restarted solr?
> increased query load?
>
>
>
> -Hoss
> http://www.lucidworks.com/
>


Search query speed

2015-11-10 Thread John Stric
The speed of particular query has gone from about 42 msec to 66 msec
without any changes.

How do I go about troubleshooting what may have happened? And how do I
improve that speed?

Thanks