[ 
http://issues.apache.org/jira/browse/SOLR-58?page=comments#action_12448692 ] 
            
Erik Hatcher commented on SOLR-58:
----------------------------------

The XML is being written (in the few attachments I sampled) as out.println() 
style.  This has several drawbacks:  1) what about XML escaping/encoding 
issues?  2) What about clients that want JSON, Ruby, or some other format from 
a response writer?   I strongly feel that the admin capability should work 
_just like_ the front-end search capability, using a response writer for its 
output, not out.println's, making this much more flexible in the future.  
Refactoring so there is no difference between the front and "admin" sides would 
really make Solr shine!  :)

> Change Admin components to return XML like the rest of the system
> -----------------------------------------------------------------
>
>                 Key: SOLR-58
>                 URL: http://issues.apache.org/jira/browse/SOLR-58
>             Project: Solr
>          Issue Type: New Feature
>          Components: web gui
>            Reporter: Otis Gospodnetic
>         Assigned To: Otis Gospodnetic
>            Priority: Minor
>         Attachments: analysis-xml-out.txt, analysis-xml.jsp, logging-xml.jsp, 
> ping-xml-out.txt, ping-xml.jsp, schemaxsl.zip, threaddump-xml-out.txt, 
> threaddump-xml.jsp
>
>
> I need to expose the admin functionality to an external application.  I think 
> returning admin data as XML may be a good and simple first step towards that.
> To do that I think I'll mostly need to modify JSPs (but I haven't had a good 
> look at Admin GUI yet).  From what I saw a few weeks ago when I briefly 
> looked at this, no Java code will need to be modified.  If you have concrete 
> ideas about how this should be done, please comment before I start next week 
> (week of October 23rd 2006).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to