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:01:31 UTC

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

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


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.


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

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley reassigned SOLR-641:
----------------------------------

    Assignee: Ryan McKinley

> 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
>            Assignee: 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.


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

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley resolved SOLR-641.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

> 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
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 1.3
>
>         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.


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

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ 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.