[ https://issues.apache.org/jira/browse/SOLR-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648488#action_12648488 ]
Noble Paul commented on SOLR-867: --------------------------------- I mean the code may remain in BinaryResponseWriter itself. But the problem with the solution is that you end up serializing all those objects and deserializing them. If I am not wrong , we only need to recursively go through the NamedList and replace all Doclist and Document with SolrDocumentList and SolrDocument . Every other object remains same at both ends of the pipe. So you can reuse the getDoc() method but you may need to replicate the writeDocList() method into a getDocList() method. > move EmbeddedSolrServer#getParsedResponse to utility class > ---------------------------------------------------------- > > Key: SOLR-867 > URL: https://issues.apache.org/jira/browse/SOLR-867 > Project: Solr > Issue Type: Improvement > Components: clients - java > Reporter: Ryan McKinley > Assignee: Ryan McKinley > Priority: Minor > Fix For: 1.4 > > Attachments: SOLR-867-move-getParsedResponse.patch, > SOLR-867-move-getParsedResponse.patch > > > The utility function: EmbeddedSolrServer#getParsedResponse should be moved to > a utiltiy class. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.