Hello,

QTime counts only searching and filtering, but not writing response, which
includes retrieving the stored fields (&fl=...). So, it's quite reasonable.


On Thu, Jan 17, 2013 at 7:09 AM, 张浓飞 <zhangnong...@vancl.cn> wrote:

>  I have a solr website with about 500 docs ( 30 fileds defined in schema
> ), and a c# client on the same machine which would sent http get request to
> that solr website.****
>
> These logs were recorded by my c# client:****
>
> ** **
>
> 01-16 23:54:49,301 [107] INFO LogHelper - requst time too long: 1054, solr
> time: 1003****
>
> 01-16 23:54:49,847 [63] INFO LogHelper - requst time too long: 1068, solr
> time: 1021****
>
> 01-16 23:57:17,813 [108] INFO LogHelper - requst time too long: 1051, solr
> time: 1027****
>
> 01-16 23:57:18,313 [111] INFO LogHelper - requst time too long: 1031, solr
> time: 1007****
>
> and so on…****
>
> ** **
>
> You can see , the query time from solr were so long and every similar
> (between 1000ms to 1050ms). On the same time, the corresponding logs in
> tomcat:****
>
> ** **
>
> 2013-1-16 23:54:49 org.apache.solr.core.SolrCore execute****
>
> Info: [suit1] webapp=/vanclsearchV2 path=/select/
> params={fl=id,typeid,createtime,vprice,sprice,price,totalassesscount,totalsalescount,productcode,productname,stylecode,tag,vpricesku,spricesku,pricesku,userrate,assesscount,lstphotos,mainphotos,salesflag,isduanma,detailsalescount,productplusstyleinfo&sort=createtime+desc&start=0&q=*:*&wt=json&fq=ancestorsid:(28976+OR+28978)&fq=typeid:(1)&rows=30}
> hits=43 status=0 QTime=0 ****
>
> 2013-1-16 23:54:49 org.apache.solr.core.SolrCore execute****
>
> Info: [suit1] webapp=/vanclsearchV2 path=/select/
> params={fl=id,typeid,createtime,vprice,sprice,price,totalassesscount,totalsalescount,productcode,productname,stylecode,tag,vpricesku,spricesku,pricesku,userrate,assesscount,lstphotos,mainphotos,salesflag,isduanma,detailsalescount,productplusstyleinfo&sort=createtime+desc&start=0&q=*:*&wt=json&fq=ancestorsid:(28976+OR+28978)&fq=typeid:(1)&rows=30}
> hits=43 status=0 QTime=0****
>
> 2013-1-16 23:57:17 org.apache.solr.core.SolrCore execute****
>
> Info: [suit1] webapp=/vanclsearchV2 path=/select/
> params={fl=id,typeid,createtime,vprice,sprice,price,totalassesscount,totalsalescount,productcode,productname,stylecode,tag,vpricesku,spricesku,pricesku,userrate,assesscount,lstphotos,mainphotos,salesflag,isduanma,detailsalescount,productplusstyleinfo&sort=createtime+desc&start=0&q=*:*&wt=json&fq=ancestorsid:(27547+OR+27614)&rows=30}
> hits=9 status=0 QTime=0 ****
>
> 2013-1-16 23:57:18 org.apache.solr.core.SolrCore execute****
>
> Info: [suit1] webapp=/vanclsearchV2 path=/select/
> params={fl=id,typeid,createtime,vprice,sprice,price,totalassesscount,totalsalescount,productcode,productname,stylecode,tag,vpricesku,spricesku,pricesku,userrate,assesscount,lstphotos,mainphotos,salesflag,isduanma,detailsalescount,productplusstyleinfo&sort=createtime+desc&start=0&q=*:*&wt=json&fq=ancestorsid:(27547+OR+27614)&rows=30}
> hits=9 status=0 QTime=0****
>
> ** **
>
> Every strange, all the QTime were zero! Can anyone explain this
> circumstance, and how to solve the problem?****
>
> ** **
>
>
> --------------------------------------------------------------------------------------
> ****
>
> [image: 说明: 说明: 说明: 说明: image001]****
>
> Domi.N.Zhang | Dev Center****
>
> Email : zhangnong...@vancl.cn****
>
> Tel:86-028-65528402****
>
> I’m the coming days…****
>
> ** **
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
 <mkhlud...@griddynamics.com>

Reply via email to