Hi Arun,
It is hard to measure something without affecting it, but we could use debug 
results and combine with QTime without debug: If we ignore merging results, it 
seems that majority of time is spent for retrieving docs (~500ms). You should 
consider reducing number of rows if you want better response time (you can ask 
for rows=0 to see max possible time). Also, as Erick suggested, reducing number 
of shards (1 if not plan much more doc) will trim some overhead of merging 
results.

Thanks,
Emir

I noticed that you removed bq - is time with bq acceptable as well?
> On 27 Sep 2017, at 12:34, sasarun <sasa...@gmail.com> wrote:
> 
> Hi Emir, 
> 
> Please find the response without bq parameter and debugQuery set to true. 
> Also it was noted that Qtime comes down drastically without the debug
> parameter to about 700-800. 
> <response>
> <lst name="responseHeader">
> <bool name="zkConnected">true</bool>
> <int name="status">0</int>
> <int name="QTime">3446</int>
> <lst name="params">
> <str name="q">
> ("hybrid electric powerplant" "hybrid electric powerplants" "Electric"
> "Electrical" "Electricity" "Engine" "fuel economy" "fuel efficiency" "Hybrid
> Electric Propulsion" "Power Systems" "Powerplant" "Propulsion" "hybrid"
> "hybrid electric" "electric powerplant")
> </str>
> <str name="defType">edismax</str>
> <str name="indent">on</str>
> <arr name="qf">
> <str>host</str>
> <str>title</str>
> <str>url</str>
> <str>customContent</str>
> <str>contentSpecificSearch</str>
> </arr>
> <arr name="fl">
> <str>id</str>
> <str>contentOntologyTagsCount</str>
> </arr>
> <str name="start">0</str>
> <str name="q.op">OR</str>
> <str name="correlationID">3985d7e2-3e54-48d8-8336-229e85f5d9de</str>
> <str name="rows">600</str>
> <str name="debugQuery">true</str>
> </lst>
> </lst>
> <result name="response" numFound="205458" start="0"
> maxScore="56.74194">...</result>
> <lst name="debug">
> <lst name="track">
> <str name="rid">
> solr-prd-cluster-m-GooglePatent_shard4_replica2-1506504238282-20
> </str>
> <lst name="EXECUTE_QUERY">
> <lst name="">
> <str name="QTime">35</str>
> <str name="ElapsedTime">159</str>
> <str name="RequestPurpose">GET_TOP_IDS</str>
> <str name="NumFound">41294</str>
> <str name="Response">...</str>
> </lst>
> <lst name="">
> <str name="QTime">29</str>
> <str name="ElapsedTime">165</str>
> <str name="RequestPurpose">GET_TOP_IDS</str>
> <str name="NumFound">40980</str>
> <str name="Response">...</str>
> </lst>
> <lst name="">
> <str name="QTime">31</str>
> <str name="ElapsedTime">200</str>
> <str name="RequestPurpose">GET_TOP_IDS</str>
> <str name="NumFound">41006</str>
> <str name="Response">...</str>
> </lst>
> <lst name="">
> <str name="QTime">43</str>
> <str name="ElapsedTime">208</str>
> <str name="RequestPurpose">GET_TOP_IDS</str>
> <str name="NumFound">41040</str>
> <str name="Response">...</str>
> </lst>
> <lst name="">
> <str name="QTime">181</str>
> <str name="ElapsedTime">466</str>
> <str name="RequestPurpose">GET_TOP_IDS</str>
> <str name="NumFound">41138</str>
> <str name="Response">...</str>
> </lst>
> </lst>
> <lst name="GET_FIELDS">
> <lst name="">
> <str name="QTime">1518</str>
> <str name="ElapsedTime">1523</str>
> <str name="RequestPurpose">GET_FIELDS,GET_DEBUG</str>
> <str name="NumFound">110</str>
> <str name="Response">...</str>
> </lst>
> <lst name="">
> <str name="QTime">1562</str>
> <str name="ElapsedTime">1573</str>
> <str name="RequestPurpose">GET_FIELDS,GET_DEBUG</str>
> <str name="NumFound">115</str>
> <str name="Response">...</str>
> </lst>
> <lst name="">
> <str name="QTime">1793</str>
> <str name="ElapsedTime">1800</str>
> <str name="RequestPurpose">GET_FIELDS,GET_DEBUG</str>
> <str name="NumFound">120</str>
> <str name="Response">...</str>
> </lst>
> <lst name="">
> <str name="QTime">2153</str>
> <str name="ElapsedTime">2161</str>
> <str name="RequestPurpose">GET_FIELDS,GET_DEBUG</str>
> <str name="NumFound">125</str>
> <str name="Response">...</str>
> </lst>
> <lst name="">
> <str name="QTime">2957</str>
> <str name="ElapsedTime">2970</str>
> <str name="RequestPurpose">GET_FIELDS,GET_DEBUG</str>
> <str name="NumFound">130</str>
> <str name="Response">...</str>
> </lst>
> </lst>
> </lst>
> <lst name="timing">
> <double name="time">10302.0</double>
> <lst name="prepare">
> <double name="time">2.0</double>
> <lst name="query">
> <double name="time">2.0</double>
> </lst>
> <lst name="facet">
> <double name="time">0.0</double>
> </lst>
> <lst name="facet_module">
> <double name="time">0.0</double>
> </lst>
> <lst name="mlt">
> <double name="time">0.0</double>
> </lst>
> <lst name="highlight">
> <double name="time">0.0</double>
> </lst>
> <lst name="stats">
> <double name="time">0.0</double>
> </lst>
> <lst name="expand">
> <double name="time">0.0</double>
> </lst>
> <lst name="terms">
> <double name="time">0.0</double>
> </lst>
> <lst name="debug">
> <double name="time">0.0</double>
> </lst>
> </lst>
> <lst name="process">
> <double name="time">10288.0</double>
> <lst name="query">
> <double name="time">661.0</double>
> </lst>
> <lst name="facet">
> <double name="time">0.0</double>
> </lst>
> <lst name="facet_module">
> <double name="time">0.0</double>
> </lst>
> <lst name="mlt">
> <double name="time">0.0</double>
> </lst>
> <lst name="highlight">
> <double name="time">0.0</double>
> </lst>
> <lst name="stats">
> <double name="time">0.0</double>
> </lst>
> <lst name="expand">
> <double name="time">0.0</double>
> </lst>
> <lst name="terms">
> <double name="time">0.0</double>
> </lst>
> <lst name="debug">
> <double name="time">9627.0</double>
> </lst>
> </lst>
> </lst>
> <str name="rawquerystring">
> ("hybrid electric powerplant" "hybrid electric powerplants" "Electric"
> "Electrical" "Electricity" "Engine" "fuel economy" "fuel efficiency" "Hybrid
> Electric Propulsion" "Power Systems" "Powerplant" "Propulsion" "hybrid"
> "hybrid electric" "electric powerplant")
> </str>
> <str name="querystring">
> ("hybrid electric powerplant" "hybrid electric powerplants" "Electric"
> "Electrical" "Electricity" "Engine" "fuel economy" "fuel efficiency" "Hybrid
> Electric Propulsion" "Power Systems" "Powerplant" "Propulsion" "hybrid"
> "hybrid electric" "electric powerplant")
> </str>
> <str name="parsedquery">
> (+(DisjunctionMaxQuery((host:hybrid electric powerplant |
> contentSpecificSearch:"hybrid electric powerplant" | customContent:"hybrid
> electric powerplant" | title:hybrid electric powerplant | url:hybrid
> electric powerplant)) DisjunctionMaxQuery((host:hybrid electric powerplants
> | contentSpecificSearch:"hybrid electric powerplants" |
> customContent:"hybrid electric powerplants" | title:hybrid electric
> powerplants | url:hybrid electric powerplants))
> DisjunctionMaxQuery((host:Electric | contentSpecificSearch:electric |
> customContent:electric | title:Electric | url:Electric))
> DisjunctionMaxQuery((host:Electrical | contentSpecificSearch:electrical |
> customContent:electrical | title:Electrical | url:Electrical))
> DisjunctionMaxQuery((host:Electricity | contentSpecificSearch:electricity |
> customContent:electricity | title:Electricity | url:Electricity))
> DisjunctionMaxQuery((host:Engine | contentSpecificSearch:engine |
> customContent:engine | title:Engine | url:Engine))
> DisjunctionMaxQuery((host:fuel economy | contentSpecificSearch:"fuel
> economy" | customContent:"fuel economy" | title:fuel economy | url:fuel
> economy)) DisjunctionMaxQuery((host:fuel efficiency |
> contentSpecificSearch:"fuel efficiency" | customContent:"fuel efficiency" |
> title:fuel efficiency | url:fuel efficiency))
> DisjunctionMaxQuery((host:Hybrid Electric Propulsion |
> contentSpecificSearch:"hybrid electric propulsion" | customContent:"hybrid
> electric propulsion" | title:Hybrid Electric Propulsion | url:Hybrid
> Electric Propulsion)) DisjunctionMaxQuery((host:Power Systems |
> contentSpecificSearch:"power systems" | customContent:"power systems" |
> title:Power Systems | url:Power Systems))
> DisjunctionMaxQuery((host:Powerplant | contentSpecificSearch:powerplant |
> customContent:powerplant | title:Powerplant | url:Powerplant))
> DisjunctionMaxQuery((host:Propulsion | contentSpecificSearch:propulsion |
> customContent:propulsion | title:Propulsion | url:Propulsion))
> DisjunctionMaxQuery((host:hybrid | contentSpecificSearch:hybrid |
> customContent:hybrid | title:hybrid | url:hybrid))
> DisjunctionMaxQuery((host:hybrid electric | contentSpecificSearch:"hybrid
> electric" | customContent:"hybrid electric" | title:hybrid electric |
> url:hybrid electric)) DisjunctionMaxQuery((host:electric powerplant |
> contentSpecificSearch:"electric powerplant" | customContent:"electric
> powerplant" | title:electric powerplant | url:electric
> powerplant))))/no_coord
> </str>
> <str name="parsedquery_toString">
> +((host:hybrid electric powerplant | contentSpecificSearch:"hybrid electric
> powerplant" | customContent:"hybrid electric powerplant" | title:hybrid
> electric powerplant | url:hybrid electric powerplant) (host:hybrid electric
> powerplants | contentSpecificSearch:"hybrid electric powerplants" |
> customContent:"hybrid electric powerplants" | title:hybrid electric
> powerplants | url:hybrid electric powerplants) (host:Electric |
> contentSpecificSearch:electric | customContent:electric | title:Electric |
> url:Electric) (host:Electrical | contentSpecificSearch:electrical |
> customContent:electrical | title:Electrical | url:Electrical)
> (host:Electricity | contentSpecificSearch:electricity |
> customContent:electricity | title:Electricity | url:Electricity)
> (host:Engine | contentSpecificSearch:engine | customContent:engine |
> title:Engine | url:Engine) (host:fuel economy | contentSpecificSearch:"fuel
> economy" | customContent:"fuel economy" | title:fuel economy | url:fuel
> economy) (host:fuel efficiency | contentSpecificSearch:"fuel efficiency" |
> customContent:"fuel efficiency" | title:fuel efficiency | url:fuel
> efficiency) (host:Hybrid Electric Propulsion | contentSpecificSearch:"hybrid
> electric propulsion" | customContent:"hybrid electric propulsion" |
> title:Hybrid Electric Propulsion | url:Hybrid Electric Propulsion)
> (host:Power Systems | contentSpecificSearch:"power systems" |
> customContent:"power systems" | title:Power Systems | url:Power Systems)
> (host:Powerplant | contentSpecificSearch:powerplant |
> customContent:powerplant | title:Powerplant | url:Powerplant)
> (host:Propulsion | contentSpecificSearch:propulsion |
> customContent:propulsion | title:Propulsion | url:Propulsion) (host:hybrid |
> contentSpecificSearch:hybrid | customContent:hybrid | title:hybrid |
> url:hybrid) (host:hybrid electric | contentSpecificSearch:"hybrid electric"
> | customContent:"hybrid electric" | title:hybrid electric | url:hybrid
> electric) (host:electric powerplant | contentSpecificSearch:"electric
> powerplant" | customContent:"electric powerplant" | title:electric
> powerplant | url:electric powerplant))
> </str>
> <str name="QParser">ExtendedDismaxQParser</str>
> <null name="altquerystring"/>
> <null name="boost_queries"/>
> <arr name="parsed_boost_queries"/>
> <null name="boostfuncs"/>
> <lst name="explain">...</lst>
> </lst>
> </response>
> 
> Thanks, 
> Arun
> 
> 
> 
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to