[ 
https://issues.apache.org/jira/browse/SOLR-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan McKinley updated SOLR-641:
-------------------------------

    Attachment: SOLR-641-embedded-parsing.patch

this patch switches from using the XML parser to the BinaryResponseParser in 
embedded solr.
It also moves all the logic to a function that can be easily upgraded in the 
future:
{code:java}
 NamedList<Object> getParsedResponse( SolrQueryRequest req, SolrQueryResponse 
rsp )
{code}

> expose EmbeddedSolrServer response parsing
> ------------------------------------------
>
>                 Key: SOLR-641
>                 URL: https://issues.apache.org/jira/browse/SOLR-641
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>    Affects Versions: 1.3
>            Reporter: Ryan McKinley
>            Priority: Minor
>         Attachments: SOLR-641-embedded-parsing.patch
>
>
> Currently the EmbeddedSolrServer writes the response to XML (a string) then 
> parses it so that it has an equivolent response to if it were passed around 
> via HTTP.  We should:
> * make this more efficient, or at least refactor so it is easy to make it 
> more efficient in the future
> * expose the parsing functions, so other components could use it directly.

-- 
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