mirror of https://github.com/apache/lucene.git
SOLR-2399: Solr Admin Interface, reworked
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1131137 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ac2c62554d
commit
0c25f24550
|
@ -462,6 +462,7 @@ ul
|
|||
|
||||
#content #dashboard .block
|
||||
{
|
||||
background-image: none;
|
||||
width: 49%;
|
||||
}
|
||||
|
||||
|
@ -550,85 +551,13 @@ ul
|
|||
display: block;
|
||||
}
|
||||
|
||||
#content #dashboard #replication.is-master .slave
|
||||
#content #dashboard #replication #details table thead td span
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
#content #dashboard #replication table
|
||||
{
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
#content #dashboard #replication table th,
|
||||
#content #dashboard #replication table td
|
||||
{
|
||||
border: 1px solid #f0f0f0;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
#content #dashboard #replication table thead td
|
||||
{
|
||||
border: 0;
|
||||
}
|
||||
|
||||
#content #dashboard #replication table thead th,
|
||||
#content #dashboard #replication table tbody td
|
||||
{
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
#content #dashboard #replication table thead th
|
||||
{
|
||||
border-top: 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#content #dashboard #replication table tbody th,
|
||||
#content #dashboard #replication table tbody td
|
||||
{
|
||||
border-bottom: 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#content #dashboard #replication table tbody th
|
||||
{
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
#content #dashboard #replication table tbody th,
|
||||
#content #dashboard #replication dt
|
||||
{
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
#content #dashboard #replication dl
|
||||
{
|
||||
display: none;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#content #dashboard #replication dt,
|
||||
#content #dashboard #replication dd
|
||||
{
|
||||
display: block;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
#content #dashboard #replication dt
|
||||
{
|
||||
border-right: 1px solid #f0f0f0;
|
||||
float: left;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
margin-right: 3px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#content #dashboard #dataimport
|
||||
{
|
||||
background-color: #0ff;
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
@ -711,6 +640,19 @@ ul
|
|||
max-width: 99%;
|
||||
}
|
||||
|
||||
#content #analysis #analysis-error
|
||||
{
|
||||
background-color: #f00;
|
||||
background-image: url( ../img/ico/construction.png );
|
||||
background-position: 10px 50%;
|
||||
color: #fff;
|
||||
display: none;
|
||||
font-weight: bold;
|
||||
margin-bottom: 20px;
|
||||
padding: 10px;
|
||||
padding-left: 35px;
|
||||
}
|
||||
|
||||
#content #analysis .analysis-result h2
|
||||
{
|
||||
position: relative;
|
||||
|
@ -1334,6 +1276,12 @@ ul
|
|||
padding-left: 10px;
|
||||
}
|
||||
|
||||
#content #schema-browser #related #f-df-t
|
||||
{
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
#content #schema-browser #related dl
|
||||
{
|
||||
margin-top: 15px;
|
||||
|
@ -1367,7 +1315,9 @@ ul
|
|||
#content #schema-browser #related .dynamic-field .dynamic-field,
|
||||
#content #schema-browser #related .dynamic-field .dynamic-field a,
|
||||
#content #schema-browser #related .type .type,
|
||||
#content #schema-browser #related .type .type a
|
||||
#content #schema-browser #related .type .type a,
|
||||
#content #schema-browser #related .active,
|
||||
#content #schema-browser #related .active a
|
||||
{
|
||||
color: #333;
|
||||
}
|
||||
|
@ -1378,6 +1328,11 @@ ul
|
|||
color: #666;
|
||||
}
|
||||
|
||||
#content #schema-browser #data
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
#content #schema-browser #data #index dt
|
||||
{
|
||||
display: none;
|
||||
|
@ -1491,6 +1446,7 @@ ul
|
|||
|
||||
#content #schema-browser #data #field .topterms-holder
|
||||
{
|
||||
display: none;
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
@ -2830,6 +2786,7 @@ ul
|
|||
#content #replication #details table tbody .size
|
||||
{
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#content #replication #details table tbody .generation div
|
||||
|
|
|
@ -35,14 +35,14 @@
|
|||
|
||||
<div id="wip-notice">
|
||||
<p>This interface is work in progress. It works best in Chrome.</p>
|
||||
<p><a href="admin/">Use the <span>old admin interface</span> if there are problems with this one.</a></p>
|
||||
<p><a href="admin">Use the <span>old admin interface</span> if there are problems with this one.</a></p>
|
||||
<p><a href="https://issues.apache.org/jira/browse/SOLR-2399">Bugs/Requests/Suggestions: <span>SOLR-2399</span></a></p>
|
||||
</div>
|
||||
|
||||
<p id="environment"> </p>
|
||||
<p id="environment"> </p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="main" class="clearfix">
|
||||
|
||||
<div id="content-wrapper">
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,11 @@
|
|||
<div id="analysis">
|
||||
|
||||
<div class="block" id="analysis-error">
|
||||
|
||||
This Functionality requires the <code>/analysis/field</code> Handler to be registered and active!
|
||||
|
||||
</div>
|
||||
|
||||
<div class="block" id="field-analysis">
|
||||
|
||||
<h2><span>Field Analysis</span></h2>
|
||||
|
|
|
@ -18,8 +18,10 @@
|
|||
|
||||
<form>
|
||||
|
||||
<input type="hidden" name="action" value="RENAME">
|
||||
|
||||
<p class="clearfix"><label for="rename_core">from:</label>
|
||||
<input type="text" name="core" id="rename_core" disabled="disabled"></p>
|
||||
<input type="text" name="core" id="rename_core" readonly="readonly"></p>
|
||||
|
||||
<p class="clearfix"><label for="rename_other">to:</label>
|
||||
<input type="text" name="other" id="rename_other"></p>
|
||||
|
@ -42,12 +44,15 @@
|
|||
|
||||
<form>
|
||||
|
||||
<input type="hidden" name="action" value="SWAP">
|
||||
<input type="hidden" name="core">
|
||||
|
||||
<p class="clearfix"><label for="swap_core">this:</label>
|
||||
<select name="core" id="swap_core" class="core" disabled="disabled">
|
||||
<select id="swap_core" class="core" disabled="disabled">
|
||||
</select></p>
|
||||
|
||||
<p class="clearfix"><label for="swap_other">and:</label>
|
||||
<select class="other" id="swap_other" class="other">
|
||||
<select name="other" id="swap_other" class="other">
|
||||
</select></p>
|
||||
|
||||
<p class="clearfix buttons">
|
||||
|
@ -181,6 +186,8 @@
|
|||
|
||||
<form>
|
||||
|
||||
<input type="hidden" name="action" value="CREATE">
|
||||
|
||||
<p class="clearfix"><label for="add_name">name:</label>
|
||||
<input type="text" name="name" id="add_name"></p>
|
||||
|
||||
|
|
|
@ -63,96 +63,52 @@
|
|||
<div class="message"></div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
|
||||
<div class="content clearfix"id="details">
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
<th class="slave">slave</th>
|
||||
<th>master</th>
|
||||
|
||||
<td><span>Index</span></td>
|
||||
<th>Version</th>
|
||||
<th><abbr title="Generation">Gen</abbr></th>
|
||||
<th>Size</th>
|
||||
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>indexVersion</th>
|
||||
<td class="slave value details_slave_master-details_index-version"></td>
|
||||
<td class="value details_index-version"></td>
|
||||
|
||||
<tr class="master">
|
||||
|
||||
<th>Master:</th>
|
||||
<td class="version"><div>x</div></td>
|
||||
<td class="generation"><div>y</div></td>
|
||||
<td class="size"><div>z</div></td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<th>generation</th>
|
||||
<td class="slave value details_slave_master-details_generation"></td>
|
||||
<td class="value details_generation"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>indexSize</th>
|
||||
<td class="slave value details_slave_master-details_index-size"></td>
|
||||
<td class="value details_index-size"></td>
|
||||
|
||||
<tr class="slave slaveOnly">
|
||||
|
||||
<th>Slave:</th>
|
||||
<td class="version"><div>a</div></td>
|
||||
<td class="generation"><div>c</div></td>
|
||||
<td class="size"><div>c</div></td>
|
||||
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
<dl class="clearfix slave">
|
||||
|
||||
<dt class="details_slave_master-url">masterUrl</dt>
|
||||
<dd class="value details_slave_master-url"></dd>
|
||||
|
||||
<dt class="details_slave_poll-interval">poll every</dt>
|
||||
<dd class="value details_slave_poll-interval"></dd>
|
||||
|
||||
<dt class="details_slave_index-replicated-at">last replicated</dt>
|
||||
<dd class="value timeago details_slave_index-replicated-at"></dd>
|
||||
|
||||
<dt class="details_slave_next-execution-at">replicate next</dt>
|
||||
<dd class="value timeago details_slave_next-execution-at"></dd>
|
||||
|
||||
<dt class="details_slave_replication-failed-at">last failed</dt>
|
||||
<dd class="value timeago details_slave_replication-failed-at"></dd>
|
||||
|
||||
</dl>
|
||||
|
||||
<!--
|
||||
indexVersion:
|
||||
1295900553587
|
||||
generation:
|
||||
2
|
||||
indexSize:
|
||||
4.25 KB
|
||||
|
||||
// slave
|
||||
|
||||
indexVersion:
|
||||
1295900553587
|
||||
generation:
|
||||
2
|
||||
indexSize:
|
||||
4.25 KB
|
||||
masterUrl:
|
||||
http://localhost:8985/solr/replication
|
||||
pollInterval:
|
||||
00:00:60
|
||||
indexReplicatedAt:
|
||||
Tue Mar 01 19:37:00 UTC 2011
|
||||
nextExecutionAt:
|
||||
Tue Mar 01 19:38:00 UTC 2011
|
||||
replicationFailedAt:
|
||||
Tue Mar 01 19:37:00 UTC 2011
|
||||
lastCycleBytesDownloaded:
|
||||
0
|
||||
previousCycleTimeInSeconds:
|
||||
0
|
||||
isPollingDisabled:
|
||||
false
|
||||
isReplicating:
|
||||
false
|
||||
-->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="block" id="dataimport">
|
||||
|
||||
<h2><span>DataImport-Handler</span></h2>
|
||||
<h2><span>Dataimport</span></h2>
|
||||
|
||||
<div class="message-container">
|
||||
<div class="message"></div>
|
||||
|
|
|
@ -4,19 +4,135 @@
|
|||
|
||||
<div id="data">
|
||||
|
||||
#data
|
||||
<div id="field">
|
||||
|
||||
<div class="field-options">
|
||||
|
||||
<dl class="options clearfix">
|
||||
|
||||
<dt class="field-type">Field-Type:</dt>
|
||||
|
||||
<dt class="properties">Properties:</dt>
|
||||
|
||||
<dt class="schema">Schema:</dt>
|
||||
|
||||
<dt class="index">Index:</dt>
|
||||
|
||||
<dt class="position-increment-gap"><abbr title="Position Increment Gap">PI Gap</abbr>:</dt>
|
||||
|
||||
<dt class="docs">Docs:</dt>
|
||||
|
||||
<dt class="distinct">Distinct:</dt>
|
||||
|
||||
</dl>
|
||||
|
||||
<ul class="analyzer">
|
||||
<li class="clearfix index">
|
||||
|
||||
<p>Index Analyzer:</p>
|
||||
<dl>
|
||||
<dt></dt>
|
||||
</dl>
|
||||
|
||||
<ul>
|
||||
<li class="clearfix tokenizer">
|
||||
<p>Tokenizer:</p>
|
||||
<dl>
|
||||
</dl>
|
||||
</li>
|
||||
<li class="clearfix filters">
|
||||
<p>Filters:</p>
|
||||
<dl>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
<li class="clearfix query">
|
||||
|
||||
<p>Query Analyzer:</p>
|
||||
<dl>
|
||||
<dt></dt>
|
||||
</dl>
|
||||
|
||||
<ul>
|
||||
<li class="clearfix tokenizer">
|
||||
<p>Tokenizer:</p>
|
||||
<dl>
|
||||
</dl>
|
||||
</li>
|
||||
<li class="clearfix filters">
|
||||
<p>Filters:</p>
|
||||
<dl>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="topterms-holder">
|
||||
|
||||
<p class="head">Top <span class="shown"></span><span class="max-holder">/<span class="max"></span></span> Terms:</p>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
|
||||
<th class="position" title="Position"> </th>
|
||||
<th class="term">Term</th>
|
||||
<th class="frequency" title="Frequency">Frq</th>
|
||||
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
|
||||
<p class="navi clearfix">
|
||||
<a class="less"><span>less</span></a>
|
||||
<a class="more"><span>more</span></a>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="histogram-holder">
|
||||
|
||||
<p class="head">Histogram:</p>
|
||||
|
||||
<div class="histogram"></div>
|
||||
|
||||
<dl class="clearfix">
|
||||
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="related">
|
||||
|
||||
<select>
|
||||
<option value="" selected="selected">Please select ..</option>
|
||||
<option value="" selected="selected">Please select …</option>
|
||||
</select>
|
||||
|
||||
<dl>
|
||||
<dl id="f-df-t">
|
||||
</dl>
|
||||
|
||||
<dl class="ukf-dsf">
|
||||
|
||||
<dt class="unique-key-field">Unique Key Field</dt>
|
||||
|
||||
<dt class="default-search-field">Default Search Field</dt>
|
||||
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -1,109 +0,0 @@
|
|||
<div id="field">
|
||||
|
||||
<div class="field-options">
|
||||
|
||||
<dl class="options clearfix">
|
||||
|
||||
<dt class="field-type">Field-Type:</dt>
|
||||
|
||||
<dt class="properties">Properties:</dt>
|
||||
|
||||
<dt class="schema">Schema:</dt>
|
||||
|
||||
<dt class="index">Index:</dt>
|
||||
|
||||
<dt class="position-increment-gap"><abbr title="Position Increment Gap">PI Gap</abbr>:</dt>
|
||||
|
||||
<dt class="docs">Docs:</dt>
|
||||
|
||||
<dt class="distinct">Distinct:</dt>
|
||||
|
||||
</dl>
|
||||
|
||||
<ul class="analyzer">
|
||||
<li class="clearfix index">
|
||||
|
||||
<p>Index Analyzer:</p>
|
||||
<dl>
|
||||
<dt></dt>
|
||||
</dl>
|
||||
|
||||
<ul>
|
||||
<li class="clearfix tokenizer">
|
||||
<p>Tokenizer:</p>
|
||||
<dl>
|
||||
</dl>
|
||||
</li>
|
||||
<li class="clearfix filters">
|
||||
<p>Filters:</p>
|
||||
<dl>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
<li class="clearfix query">
|
||||
|
||||
<p>Query Analyzer:</p>
|
||||
<dl>
|
||||
<dt></dt>
|
||||
</dl>
|
||||
|
||||
<ul>
|
||||
<li class="clearfix tokenizer">
|
||||
<p>Tokenizer:</p>
|
||||
<dl>
|
||||
</dl>
|
||||
</li>
|
||||
<li class="clearfix filters">
|
||||
<p>Filters:</p>
|
||||
<dl>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="topterms-holder">
|
||||
|
||||
<p class="head">Top <span class="shown"></span><span class="max-holder">/<span class="max"></span></span> Terms:</p>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
|
||||
<th class="position" title="Position"> </th>
|
||||
<th class="term">Term</th>
|
||||
<th class="frequency" title="Frequency">Frq</th>
|
||||
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
|
||||
<p class="navi clearfix">
|
||||
<a class="less"><span>less</span></a>
|
||||
<a class="more"><span>more</span></a>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="histogram-holder">
|
||||
|
||||
<p class="head">Histogram:</p>
|
||||
|
||||
<div class="histogram"></div>
|
||||
|
||||
<dl class="clearfix">
|
||||
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
|
@ -1,11 +0,0 @@
|
|||
<div id="index">
|
||||
|
||||
<dl class="clearfix">
|
||||
|
||||
<dt class="unique-key-field">Unique Key Field:</dt>
|
||||
|
||||
<dt class="default-search-field">Default Search Field:</dt>
|
||||
|
||||
</dl>
|
||||
|
||||
</div>
|
Loading…
Reference in New Issue