mirror of https://github.com/apache/lucene.git
258 lines
5.7 KiB
XML
258 lines
5.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- $Id: registry.xsl,v 1.6 2005/06/07 15:53:35 ronp Exp $ -->
|
|
<!-- $Source: /cvs/main/searching/org.apache.solrSolarServer/resources/admin/registry.xsl,v $ -->
|
|
<!-- $Name: $ -->
|
|
|
|
<xsl:stylesheet
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
version="1.0">
|
|
|
|
|
|
<xsl:output
|
|
method="html"
|
|
indent="yes"
|
|
doctype-public="-//W3C//DTD HTML 4.01//EN"
|
|
doctype-system="http://www.w3.org/TR/html4/strict.dtd" />
|
|
|
|
|
|
<xsl:template match="/">
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="/admin/solr-admin.css"></link>
|
|
<link rel="icon" href="/favicon.ico" type="image/ico"></link>
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/ico"></link>
|
|
<title>SOLR Info</title>
|
|
</head>
|
|
<body>
|
|
<a href="/admin/">
|
|
<img border="0" align="right" height="88" width="215" src="/admin/solr-head.gif" alt="SOLR">
|
|
</img>
|
|
</a>
|
|
<h1>SOLR Info (<xsl:value-of select="solr/schema" />)</h1>
|
|
<xsl:value-of select="solr/host" />
|
|
<br clear="all" />
|
|
<xsl:apply-templates/>
|
|
<br /><br />
|
|
<a href="/admin">Return to Admin Page</a>
|
|
</body>
|
|
</html>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="solr">
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<H3>Category</H3>
|
|
</td>
|
|
<td>
|
|
[<a href="#core">Core</a>]
|
|
[<a href="#cache">Cache</a>]
|
|
[<a href="#query">Query</a>]
|
|
[<a href="#update">Update</a>]
|
|
[<a href="#other">Other</a>]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
</td>
|
|
<td>
|
|
Current Time: <xsl:value-of select="now" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
</td>
|
|
<td>
|
|
Server Start Time:<xsl:value-of select="start" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<xsl:apply-templates/>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="solr/schema" />
|
|
|
|
<xsl:template match="solr/host" />
|
|
|
|
<xsl:template match="solr/now" />
|
|
|
|
<xsl:template match="solr/start" />
|
|
|
|
<xsl:template match="solr/solr-info">
|
|
<xsl:apply-templates/>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="solr/solr-info/CORE">
|
|
<br />
|
|
<a name="core"><h2>Core</h2></a>
|
|
<table>
|
|
<tr>
|
|
<td align="right">
|
|
 
|
|
</td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
<xsl:apply-templates/>
|
|
</table>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="solr/solr-info/CORE/entry">
|
|
<xsl:for-each select="*">
|
|
<tr>
|
|
<td align="right">
|
|
<strong><xsl:value-of select="name()"/>: </strong>
|
|
</td>
|
|
<td>
|
|
<tt><xsl:value-of select="."/> </tt>
|
|
</td>
|
|
</tr>
|
|
</xsl:for-each>
|
|
<tr>
|
|
<td align="right">
|
|
</td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="solr/solr-info/CACHE">
|
|
<br />
|
|
<a name="cache"><h2>Cache</h2></a>
|
|
<table>
|
|
<tr>
|
|
<td align="right">
|
|
 
|
|
</td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
<xsl:apply-templates/>
|
|
</table>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="solr/solr-info/CACHE/entry">
|
|
<xsl:for-each select="*">
|
|
<tr>
|
|
<td align="right">
|
|
<strong><xsl:value-of select="name()"/>: </strong>
|
|
</td>
|
|
<td>
|
|
<tt><xsl:value-of select="."/> </tt>
|
|
</td>
|
|
</tr>
|
|
</xsl:for-each>
|
|
<tr>
|
|
<td align="right">
|
|
</td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="solr/solr-info/QUERYHANDLER">
|
|
<br />
|
|
<a name="query"><h2>Query Handlers</h2></a>
|
|
<table>
|
|
<tr>
|
|
<td align="right">
|
|
 
|
|
</td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
<xsl:apply-templates/>
|
|
</table>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="solr/solr-info/QUERYHANDLER/entry">
|
|
<xsl:for-each select="*">
|
|
<tr>
|
|
<td align="right">
|
|
<strong><xsl:value-of select="name()"/>: </strong>
|
|
</td>
|
|
<td>
|
|
<tt><xsl:value-of select="."/> </tt>
|
|
</td>
|
|
</tr>
|
|
</xsl:for-each>
|
|
<tr>
|
|
<td align="right">
|
|
</td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="solr/solr-info/UPDATEHANDLER">
|
|
<br />
|
|
<a name="update"><h2>Update Handlers</h2></a>
|
|
<table>
|
|
<tr>
|
|
<td align="right">
|
|
 
|
|
</td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
<xsl:apply-templates/>
|
|
</table>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="solr/solr-info/UPDATEHANDLER/entry">
|
|
<xsl:for-each select="*">
|
|
<tr>
|
|
<td align="right">
|
|
<strong><xsl:value-of select="name()"/>: </strong>
|
|
</td>
|
|
<td>
|
|
<tt><xsl:value-of select="."/> </tt>
|
|
</td>
|
|
</tr>
|
|
</xsl:for-each>
|
|
<tr>
|
|
<td align="right">
|
|
</td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="solr/solr-info/OTHER">
|
|
<br />
|
|
<a name="other"><h2>Other</h2></a>
|
|
<table>
|
|
<tr>
|
|
<td align="right">
|
|
 
|
|
</td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
<xsl:apply-templates/>
|
|
</table>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="solr/solr-info/OTHER/entry">
|
|
<xsl:for-each select="*">
|
|
<tr>
|
|
<td align="right">
|
|
<strong><xsl:value-of select="name()"/>: </strong>
|
|
</td>
|
|
<td>
|
|
<tt><xsl:value-of select="."/> </tt>
|
|
</td>
|
|
</tr>
|
|
</xsl:for-each>
|
|
<tr>
|
|
<td align="right">
|
|
</td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
</xsl:template>
|
|
|
|
|
|
</xsl:stylesheet>
|