<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="optimizeindex.aspx.cs" Inherits="SearchEasy.SiteSearch.backend.optimizeindex" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>索引优化-搜易站内搜索引擎系统</title>
<link href="images/sdcms.css" rel="stylesheet" type="text/css" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script language="javascript" src="images/sdcms.js" type="text/javascript"></script>
<script type="text/javascript" src="editor/xheditor/jquery.js"></script>
<script type="text/javascript" src="editor/xheditor/editor.js"></script>
</head>
<body>
<form id="Form1" runat="server">
<div class="sdcms_notice"><span>管理操作：</span>索引优化</div>
<div class="sdcms_notice">
<span style="color:Red">提示：对索引库进行优化以提高搜索速度，操作较耗资源，建议只在搜索速度明显较慢时使用。有问题请咨询<a href="http://www.searcheasy.net" target="_blank">搜易官方</a></span>
</div>
<div id="sdcms_right_b">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" id="tagContent0">
   <tr>
      <td width="100%" class="tdbg">
      索引优化：<br />
      对索引库进行优化，可以有效提高搜索性能，一般在明显感觉搜索速度慢的时候需要手工优化索引。优化过程需占有比较多的服务器资源，而且用时可能比较长，建议避开访问高峰进行优化。
      </td>
   </tr>
   <tr>
      <td width="100%" class="tdbg">
      请选择需要优化索引的类型：<asp:DropDownList ID="ddlSites" runat="server" DataTextField="SiteName" DataValueField="UniqueSiteName"></asp:DropDownList> 
      &nbsp; 
      <asp:Button ID="btnOptimize" runat="server" Text="开始优化" 
              onclick="btnOptimize_Click"  />
      </td>
   </tr>
   <tr>
      <td width="100%" class="tdbg" style="color:Red">
        <asp:Literal runat="server" ID="ltlTips" />
      </td>
   </tr>
</table>  
</div>
</form>
</body>
</html>