[ 
https://issues.apache.org/jira/browse/SOLR-835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645230#action_12645230
 ] 

Yonik Seeley commented on SOLR-835:
-----------------------------------

Thanks, I just removed the now-redundant setResponseParser.

CommonsHttpSolrServer is a small stateless object (since we pass in the 
HttpClient).  Attempting to save that allocation in the context of a complete 
request/response over the network perhaps isn't worth it?

> reduce Object creation in SearchHandler
> ---------------------------------------
>
>                 Key: SOLR-835
>                 URL: https://issues.apache.org/jira/browse/SOLR-835
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>         Attachments: SOLR-835.patch
>
>
> CommonsHttpSolrServer is threadsafe . why create one for every request?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to