[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-12 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: threaddump.xsl)

> 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: SOLR-58.patch
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-12 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: threaddump-xml-out.txt)

> 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: SOLR-58.patch
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-12 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: threaddump-xml.jsp)

> 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: SOLR-58.patch
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-12 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: SOLR-58.patch)

> 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: SOLR-58.patch
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-12 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: ping.xsl)

> 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: SOLR-58.patch
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-12 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: ping-xml.jsp)

> 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: SOLR-58.patch
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-12 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: ping-xml-out.txt)

> 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: SOLR-58.patch
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-12 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: logging.xsl)

> 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: SOLR-58.patch
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-12 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: analysis.xsl)

> 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: SOLR-58.patch
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-12 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: logging-xml.jsp)

> 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: SOLR-58.patch
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-12 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: analysis-xml.jsp)

> 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.xsl, logging-xml.jsp, logging.xsl, 
> ping-xml-out.txt, ping-xml.jsp, ping.xsl, SOLR-58.patch, SOLR-58.patch, 
> threaddump-xml-out.txt, threaddump-xml.jsp, threaddump.xsl
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-12 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: analysis-xml-out.txt)

> 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.jsp, analysis.xsl, logging-xml.jsp, 
> logging.xsl, ping-xml-out.txt, ping-xml.jsp, ping.xsl, SOLR-58.patch, 
> SOLR-58.patch, threaddump-xml-out.txt, threaddump-xml.jsp, threaddump.xsl
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-11 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: SOLR-58.patch

The new version with hostname:port, cwd, solrHome, and the collection name 
restored.
I'll commit tomorrow, when I'm less zombied out.

> 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, analysis.xsl, 
> logging-xml.jsp, logging.xsl, ping-xml-out.txt, ping-xml.jsp, ping.xsl, 
> SOLR-58.patch, SOLR-58.patch, threaddump-xml-out.txt, threaddump-xml.jsp, 
> threaddump.xsl
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-07 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: SOLR-58.patch

Here is the patch with modified JSPs + XSLs.

I know there are a few small things missing:
- I lost the solr/schema part that goes in the parentheses in page headings.
- I lost the cwd, hostname, and the little stuff that I think _info.jsp gathers.
- maybe something else...

The above omissions can easily be re-added, but let's see the review of the 
existing changes first.

> 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, analysis.xsl, 
> logging-xml.jsp, logging.xsl, ping-xml-out.txt, ping-xml.jsp, ping.xsl, 
> SOLR-58.patch, threaddump-xml-out.txt, threaddump-xml.jsp, threaddump.xsl
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-05 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: threaddump-xml-out.txt)

> 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, analysis.xsl, 
> logging-xml.jsp, logging.xsl, ping-xml-out.txt, ping-xml.jsp, ping.xsl, 
> threaddump-xml-out.txt, threaddump-xml.jsp, threaddump.xsl
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-05 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: analysis-xml-out.txt)

> 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, analysis.xsl, 
> logging-xml.jsp, logging.xsl, ping-xml-out.txt, ping-xml.jsp, ping.xsl, 
> threaddump-xml-out.txt, threaddump-xml-out.txt, threaddump-xml.jsp, 
> threaddump-xml.jsp, threaddump.xsl
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-05 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: threaddump-xml.jsp)

> 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, analysis.xsl, 
> logging-xml.jsp, logging.xsl, ping-xml-out.txt, ping-xml.jsp, ping.xsl, 
> threaddump-xml-out.txt, threaddump-xml.jsp, threaddump.xsl
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-05 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: analysis-xml.jsp)

> 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, analysis.xsl, 
> logging-xml.jsp, logging.xsl, ping-xml-out.txt, ping-xml.jsp, ping.xsl, 
> threaddump-xml-out.txt, threaddump-xml-out.txt, threaddump-xml.jsp, 
> threaddump-xml.jsp, threaddump.xsl
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-05 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: threaddump-xml-out.txt
threaddump-xml.jsp
threaddump.xsl

threaddump-xml.jsp - the converted threaddump.jsp that outputs XML
threaddump-xml-out.txt - sample XML output of the new version
threaddump.xsl - XSLT to transform the XML back to HTML

> 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, analysis.xsl, 
> logging-xml.jsp, logging.xsl, ping-xml-out.txt, ping-xml.jsp, ping.xsl, 
> threaddump-xml-out.txt, threaddump-xml-out.txt, threaddump-xml.jsp, 
> threaddump-xml.jsp, threaddump.xsl
>
>
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-05 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: analysis-xml.jsp
analysis.xsl
analysis-xml-out.txt

analysis-xml.jsp - the converted analysis.jsp that output XML
analysis-xml-out.txt - the XML output by the new version
analysis.xsl - XSLT to transform the XML back to HTML


> 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-out.txt, 
> analysis-xml.jsp, analysis-xml.jsp, analysis.xsl, logging-xml.jsp, 
> logging.xsl, ping-xml-out.txt, ping-xml.jsp, ping.xsl, 
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-05 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: schemaxsl.zip)

> 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, 
> logging.xsl, ping-xml-out.txt, ping-xml.jsp, ping.xsl, 
> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-05 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: ping.xsl)

> 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, 
> logging.xsl, ping-xml-out.txt, ping-xml.jsp, ping.xsl, 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-12-05 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: ping.xsl
logging.xsl

logging.xsl + slightly modified ping.xsl

> 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, 
> logging.xsl, ping-xml-out.txt, ping-xml.jsp, ping.xsl, 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




Re: [jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-28 Thread Chris Hostetter

:   out.println("");
:   XML.escapeCharData(SolrException.toStr(resp.getException()), out);
:   out.println("");
:   response.sendError(500);
:
: Unfortunately, this results ina generic 500 Error from Jetty, without
: this XML in the output.  Does anyone know how to get around this?

as i recall: you should be able to just use response.setStatus(500) ...
but it should accutally be done prior to writting the response body to
prevent the possibility of the servlet container flushing the response if
the stack trace is really really big (in which case it will be too late to
set the status and the container will use the fault of 200)




:
:
: > 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, ping.xsl, 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
:
:
:



-Hoss



[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-28 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: ping-xml.jsp)

> 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, ping.xsl, 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-28 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: ping-xml.jsp
ping.xsl

Updated ping-xml.jsp + ping.xsl
I took the simplest XML output to transform to XSL, as I've never touched XSL 
before.  Please comment if anything there doesn't look right or could be done 
better.

I removed that  element from ping XML output, and tested this in the 
JSP:

  out.println("");
  XML.escapeCharData(SolrException.toStr(resp.getException()), out);
  out.println("");
  response.sendError(500);

Unfortunately, this results ina generic 500 Error from Jetty, without this XML 
in the output.  Does anyone know how to get around this?


> 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, ping.xsl, 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-27 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: threaddump-xml.jsp)

> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-27 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: ping-xml.jsp)

> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-27 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: analysis-xml.jsp)

> 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, ping-xml.jsp, schemaxsl.zip, 
> threaddump-xml-out.txt, threaddump-xml.jsp, 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-27 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: analysis-xml.jsp
threaddump-xml.jsp
ping-xml.jsp

And here are the 3 JSPs that created those outputs.
They now do XML character escaping.

If this (and other attachments from a few weeks back) looks good, I'll move 
onto XSLT.


> 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, ping-xml.jsp, schemaxsl.zip, 
> threaddump-xml-out.txt, threaddump-xml.jsp, 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-27 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: threaddump-xml-out.txt)

> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-27 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: ping-xml-out.txt)

> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-27 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: (was: analysis-xml-out.txt)

> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-27 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: analysis-xml-out.txt
threaddump-xml-out.txt
ping-xml-out.txt

Here are the new outputs for:
Analysis
Thread dump
Ping

All other outputs remain the same as before.

Does this look ok?

> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-09 Thread Greg Ludington (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Greg Ludington updated SOLR-58:
---

Attachment: schemaxsl.zip

This may be slightly OT for this issue, but since the ticket discusses XSLT in 
the browser, and the Self Service wiki page, I though to put up for comments a 
quick and dirty XSLT-based schema browser I made.  It transforms schema.xml 
into a single page tree view, so you can inspect fields and types, with some 
cross referencing between fieldtypes and fields, and field copyField 
source/dests.  I have only tried it against Firefox 2 and IE7, but it should 
work in all browsers with an XSLT engine, or, failing that, it could be done 
server-side, and the resulting HTML sent to the browser.

Unzipping and opening schema.xml in a browser is enough to see it, but it will 
be missing some styles and images referenced in the admin webapp.  To use it in 
a solr webapp against your own schema, you have to:

a) place schema.xml and the gifs in the /admin/ directory
b) add the xsl directive to your schema.xml


c) modify get-file.jsp to set a content type of text/xml, and not to emit any 
whitespace

I have only tried it with my prototype small-scale schemas, but, if it works 
for people with larger schemas, and fits in with the "Self Service" aims, I 
could take suggestions, clean up the xsl, and submit the a-b-c changes above as 
a patch.

> 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-07 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: logging-xml.jsp

Here is the XML version of logging.jsp, named logging-xml.jsp.
Its output is trivial:


  INFO


I imagine the XSL would take this XML, convert it to HTML, and append the HTML 
with links to action.jsp with different logging levels.


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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-07 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: threaddump-xml.jsp
threaddump-xml-out.txt

Here is threaddump-xml.jsp and the example of its output.


> 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, 
> ping-xml-out.txt, ping-xml.jsp, 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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-07 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: ping-xml.jsp
ping-xml-out.txt

Ping was simple, I just made it return  if ping was 
OK (attached), and if there was an error, then:

 
  exception trace here
 

Thoughts?

N.B.
I'm not attaching diffs for JSPs, as I'm letting both the original and the XML 
versions live side by side locally for now, but if you'd prefer diffs, let me 
know. 


> 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, 
> ping-xml-out.txt, ping-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




[jira] Updated: (SOLR-58) Change Admin components to return XML like the rest of the system

2006-11-07 Thread Otis Gospodnetic (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
-

Attachment: analysis-xml-out.txt
analysis-xml.jsp

I took a stab at analysis page, and it turned out it lends itself to 
XMLization.  I'm attaching two files:
1) analysis XML output
2) analysis-xml.jsp - the JSP that replaces the output portion of analysis.jsp
(if this looks good, then I'll just change the FORM action in analysis.jsp 
to point to analysis-xml.jsp and somebody familiar with XSL could provide that 
piece)

Please comment.

These are my targets for XMLization, and I'm going to work on them next.

ANALYSIS (this attachment)
STATISTICS (already XMLized)
INFO
DISTRIBUTION
PING
LOGGING
THREAD DUMP


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