[ http://issues.apache.org/jira/browse/SOLR-75?page=comments#action_12456253 ] Hoss Man commented on SOLR-75: ------------------------------
I really haven't had the time to play with this that i hoped i would (i was really hoping to try and tweak it to add some logic to pull all of the fieldtype attributes into the field, and add some links from this tool out to the analysis page as well) but I just wanted to go on record that i think it's really cool. Greg: if you are interested, one way to avoid the issues with get-files and the stylesheet hearder would be to write a new JSP and/or servlet just for powering the schema explorer that applies the transformation on the server side -- it should be fairly easy with the XSL Transform utility methods Bertrand added to support the XSLTResponseWriter. ... then we don't have to require the files have the correct stylesheet declaration, or inject the one we want, or rely on the browser to apply it properly. As for the license issues ... i don't think we can use those images *or* any javascript you cut/paste from the article ... but i could be wrong. if there are similar methods you can find that have an Apache compatible license, we should definitely be able to use those. > XSLT-based "Schema Browser" in admin view > ----------------------------------------- > > Key: SOLR-75 > URL: http://issues.apache.org/jira/browse/SOLR-75 > Project: Solr > Issue Type: New Feature > Components: web gui > Environment: any > Reporter: Greg Ludington > Priority: Minor > Attachments: closed.gif, open.gif, solr75v1.diff > > > The files in this upcoming patch create a simple "schema browser" for the > admin tool. It serves schema.xml along with a stylesheet that in compliant > browsers creates a page with a tree widget to show the fieldtypes and fields, > as well as their uses and cross references. This is similar to the > schemaxsl.zip originally attached to SOLR-58, but a few features have been > added, and the look and feel has been changed to fit in better with the rest > of the admin tool. > Note that it does *not* work against the live IndexSchema -- it merely > transforms schema.xml. There is probably not a significant difference now, > but it is worth raising the issue in case there are future administration > capabilities in mind (i.e. on > http://wiki.apache.org/solr/MakeSolrMoreSelfService ) that might require a > schema browser to be talking to the live values. -- 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