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

Hoss Man resolved SOLR-691.
---------------------------

    Resolution: Duplicate

ignoring the specifics about XML, there's to aspects of this request...
1) that the response format from adds/commits be standardized along with queries
2) that the response format from errors be machine parsable.

#1 has already been done as long as people register a request handler for doing 
updates - then a normal response writer is used (it's only the 
SolrUpdateServlet that generates the output mentioned and that's for back 
compatibility)

#2 is covered by SOLR-141 as ryan mentioned.

> Standardized XML Response
> -------------------------
>
>                 Key: SOLR-691
>                 URL: https://issues.apache.org/jira/browse/SOLR-691
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Andrew Nagy
>            Priority: Minor
>
> It would be nice for parsing Solr output if all output followed a 
> standardized XML schema.
> For example: add, commit, optimize, etc. all return the following:
> <result status="0"></result>
> But do not include an XML declaration line.
> When Solr throws an error - we get a standard java backtrace.  It would be 
> nice if this was formated in XML as well with something to the effect of:
> <?xml ... ?>
> <result status="error">
> <backtrace>....</backtrace>
> </result>

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