SOLR-12253: Remove optimize button from the core admin page

This commit is contained in:
Erick Erickson 2018-04-22 19:19:09 -07:00
parent f8c210f148
commit 84583d2563
4 changed files with 3 additions and 14 deletions

View File

@ -182,6 +182,9 @@ Bug Fixes
* SOLR-12250: NegativeArraySizeException on TransactionLog if previous document more than 1.9GB (Cao Manh Dat)
* SOLR-12253: Remove optimize button from the core admin page (Erick Erickson)
Optimizations
----------------------

View File

@ -170,10 +170,6 @@ limitations under the License.
background-image: url( ../../img/ico/cross-button.png );
}
#content #collections .actions #optimize span
{
background-image: url( ../../img/ico/hammer-screwdriver.png );
}
#content #collections .actions div.action
{

View File

@ -164,14 +164,6 @@ limitations under the License.
background-image: url( ../../img/ico/arrow-switch.png );
}
#content #cores .actions #optimize
{
}
#content #cores .actions #optimize span
{
background-image: url( ../../img/ico/hammer-screwdriver.png );
}
#content #cores .actions div.action
{

View File

@ -29,8 +29,6 @@ limitations under the License.
<button id="swap" class="action requires-core" ng-click="showSwapCores()"><span>Swap</span></button>
<button id="reload" class="requires-core" ng-click="reloadCore()"
ng-class="{success: reloadSuccess, warn: reloadFailure}"><span>Reload</span></button>
<button id="optimize" class="requires-core" ng-click="optimizeCore()" ng-show="core.index.hasDeletions || optimizeSuccess"
ng-class="{success: optimizeSuccess, warn: optimizeFailure}"><span>Optimize</span></button>
</span>
<div class="action add" data-rel="add" ng-show="showAdd" style="display:block;left:0px;">