2007/6/14, Yonik Seeley <[EMAIL PROTECTED]>:
On 6/14/07, James liu <[EMAIL PROTECTED]> wrote: > i write script to get run time to sure how to performance. > > i find very intresting thing that i query 2 solr box to get data and solr > response show me qtime all zero. > > but i find multi get data script use time is 0.046674966812134(it will > change) If you are timing the complete script there is startup time to take into account. If you are only timing the request/response to solr, then that is a bit slow considering the query time itself is less than a millisecond.
That
does not include document retrieval and response writing.
I just timing my script to get data from 2 solr boxes, not complete script. It just query two box and return id,score .rows=10. response type use json. and i see their qtime all zero. How many
documents are you retrieving?
one: numDocs : 10000 maxDoc : 23000 the other: numDocs : 9000 maxDoc : 9000 3-4k per doc If you re-execute the same exact query again, is it still slower? It will be quick. time will be 0.0043279ms -Yonik
-- regards jl