You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Ryan McKinley (JIRA)" <ji...@apache.org> on 2008/07/21 19:31:33 UTC

[jira] Updated: (SOLR-641) expose EmbeddedSolrServer response parsing

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