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

Gregg Donovan commented on SOLR-797:
------------------------------------

After some experimentation, it seems that reproducing exactly what happens when 
BinaryResponseWriter serializes and deserializes the graph without actually 
doing either is quite a bit of work.

Attached is a less ambitious patch that just attempts to reduce the amount of 
allocation of byte[] involved in [de]serializing.  

> Construct EmbeddedSolrServer response without serializing/parsing
> -----------------------------------------------------------------
>
>                 Key: SOLR-797
>                 URL: https://issues.apache.org/jira/browse/SOLR-797
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>    Affects Versions: 1.3
>            Reporter: Jonathan Lee
>            Priority: Minor
>             Fix For: 4.7
>
>         Attachments: SOLR-797.patch, SOLR-797.patch, SOLR-797.patch
>
>
> Currently, the EmbeddedSolrServer serializes the response and reparses in 
> order to create the final NamedList response.  From the comment in 
> EmbeddedSolrServer.java, the goal is to:
> * convert the response directly into a named list



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to