[Xunsearch PHP-SDK](http://www.xunsearch.com) v1.4.8 API 參考文檔
# XS
[All Packages](#)| [屬性](#)| [方法(函數)](#)
| 包 | [XS](#) |
|-----|-----|
| 繼承關系 | class XS ?[XSComponent](#) |
| 版本 | 1.0.0 |
| 源代碼 | [sdk/php/lib/XS.class.php](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php) |
XS 搜索項目主類
### Public 屬性
[隱去繼承來的屬性](#)
| 名稱 | 類型 | 描述 | 定義于 |
|-----|-----|-----|-----|
| [allFields](#) | XSFieldMeta[] | 獲取項目所有字段結構設置 | XS |
| [config](#) | array | 獲取配置原始數據 | XS |
| [defaultCharset](#) | string | 獲取項目的默認字符集 | XS |
| [fieldBody](#) | [XSFieldMeta](#) | 獲取當前內容字段 | XS |
| [fieldId](#) | [XSFieldMeta](#) | 獲取當前主鍵字段 | XS |
| [fieldTitle](#) | [XSFieldMeta](#) | 獲取當前標題字段 | XS |
| [index](#) | [XSIndex](#) | 獲取索引操作對象 | XS |
| [name](#) | string | 獲取當前項目名稱 | XS |
| [scheme](#) | [XSFieldScheme](#) | 獲取當前在用的字段方案 | XS |
| [scwsServer](#) | [XSServer](#) | 創建 scws 分詞連接 | XS |
| [search](#) | [XSSearch](#) | 獲取搜索操作對象 | XS |
### Public 方法
[隱去繼承來的方法](#)
| 名稱 | 描述 | 定義于 |
|-----|-----|-----|
| [__construct()](#) | 構造函數 | XS |
| [__destruct()](#) | 析構函數 | XS |
| [__get()](#) | 魔術方法 __get | [XSComponent](#) |
| [__isset()](#) | 魔術方法 __isset | [XSComponent](#) |
| [__set()](#) | 魔術方法 __set | [XSComponent](#) |
| [__unset()](#) | 魔術方法 __unset | [XSComponent](#) |
| [autoload()](#) | 智能加載類庫文件 | XS |
| [convert()](#) | 字符集轉換 | XS |
| [getAllFields()](#) | 獲取項目所有字段結構設置 | XS |
| [getConfig()](#) | Returns 獲取配置原始數據 | XS |
| [getDefaultCharset()](#) | 獲取項目的默認字符集 | XS |
| [getField()](#) | 獲取項目字段元數據 | XS |
| [getFieldBody()](#) | 獲取當前內容字段 | XS |
| [getFieldId()](#) | 獲取當前主鍵字段 | XS |
| [getFieldTitle()](#) | 獲取當前標題字段 | XS |
| [getIndex()](#) | 獲取索引操作對象 | XS |
| [getLastXS()](#) | 獲取最新的 XS 實例 | XS |
| [getName()](#) | 獲取當前項目名稱 | XS |
| [getScheme()](#) | 獲取當前在用的字段方案 | XS |
| [getScwsServer()](#) | 創建 scws 分詞連接 | XS |
| [getSearch()](#) | 獲取搜索操作對象 | XS |
| [restoreScheme()](#) | 還原字段方案為項目綁定方案 | XS |
| [setDefaultCharset()](#) | 改變項目的默認字符集 | XS |
| [setName()](#) | 修改當前項目名稱 | XS |
| [setScheme()](#) | 設置當前在用的字段方案 | XS |
### 屬性明細
allFields屬性 *只讀*
public XSFieldMeta[] [**getAllFields**](#)()
獲取項目所有字段結構設置
config屬性 *只讀*
public array [**getConfig**](#)()
獲取配置原始數據
defaultCharset屬性
public string [**getDefaultCharset**](#)()
public void [**setDefaultCharset**](#)(string $charset)
獲取項目的默認字符集
fieldBody屬性 *只讀*
public [XSFieldMeta](#)[**getFieldBody**](#)()
獲取當前內容字段
#### 參見
- [XSFieldScheme::getFieldBody](#)
fieldId屬性 *只讀*
public [XSFieldMeta](#)[**getFieldId**](#)()
獲取當前主鍵字段
#### 參見
- [XSFieldScheme::getFieldId](#)
fieldTitle屬性 *只讀*
public [XSFieldMeta](#)[**getFieldTitle**](#)()
獲取當前標題字段
#### 參見
- [XSFieldScheme::getFieldTitle](#)
index屬性 *只讀*
public [XSIndex](#)[**getIndex**](#)()
獲取索引操作對象
name屬性
public string [**getName**](#)()
public void [**setName**](#)(string $name)
獲取當前項目名稱
scheme屬性
public [XSFieldScheme](#)[**getScheme**](#)()
public void [**setScheme**](#)([XSFieldScheme](#) $fs)
獲取當前在用的字段方案通用于搜索結果文檔和修改、添加的索引文檔
scwsServer屬性 *只讀*
public [XSServer](#)[**getScwsServer**](#)()
創建 scws 分詞連接
search屬性 *只讀*
public [XSSearch](#)[**getSearch**](#)()
獲取搜索操作對象
### 方法明細
__construct()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public void <b>__construct</b>(string $file)</div></td></tr><tr><td class="paramNameCol">$file</td> <td class="paramTypeCol">string</td> <td class="paramDescCol">要加載的項目配置文件</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L284](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L284) (**[顯示](#)**)
`public?function?__construct($file)
{
????if?(strlen($file)?<?255?&&?!is_file($file))?{
????????$file2?=?XS_LIB_ROOT?.?'/../app/'?.?$file?.?'.ini';
????????if?(is_file($file2))?{
????????????$file?=?$file2;
????????}
????}
????$this->loadIniFile($file);
????self::$_lastXS?=?$this;
}`
構造函數特別說明一個小技巧, 參數 $file 可以直接是配置文件的內容, 還可以是僅僅是文件名,如果只是文件名會自動查找 XS_LIB_ROOT/../app/$file.ini
__destruct()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public void <b>__destruct</b>()</div></td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L300](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L300) (**[顯示](#)**)
`public?function?__destruct()
{
????$this->_index?=?null;
????$this->_search?=?null;
}`
析構函數由于對象交叉引用, 如需提前銷毀對象, 請強制調用該函數
autoload()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public static void <b>autoload</b>(string $name)</div></td></tr><tr><td class="paramNameCol">$name</td> <td class="paramTypeCol">string</td> <td class="paramDescCol">類的名稱</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L529](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L529) (**[顯示](#)**)
`public?static?function?autoload($name)
{
????$file?=?XS_LIB_ROOT?.?'/'?.?$name?.?'.class.php';
????if?(file_exists($file))?{
????????require_once?$file;
????}
}`
智能加載類庫文件要求以 Name.class.php 命名并與本文件存放在同一目錄, 如: XSTokenizerXxx.class.php
convert()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public static mixed <b>convert</b>(mixed $data, string $to, string $from)</div></td></tr><tr><td class="paramNameCol">$data</td> <td class="paramTypeCol">mixed</td> <td class="paramDescCol">需要轉換的數據, 支持 string 和 array, 數組會自動遞歸轉換</td></tr><tr><td class="paramNameCol">$to</td> <td class="paramTypeCol">string</td> <td class="paramDescCol">轉換后的字符集</td></tr><tr><td class="paramNameCol">$from</td> <td class="paramTypeCol">string</td> <td class="paramDescCol">轉換前的字符集</td></tr><tr><td class="paramNameCol">{return}</td> <td class="paramTypeCol">mixed</td> <td class="paramDescCol">轉換后的數據</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L546](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L546) (**[顯示](#)**)
`public?static?function?convert($data,?$to,?$from)
{
????//?need?not?convert
????if?($to?==?$from)?{
????????return?$data;
????}
????//?array?traverse
????if?(is_array($data))?{
????????foreach?($data?as?$key?=>?$value)?{
????????????$data[$key]?=?self::convert($value,?$to,?$from);
????????}
????????return?$data;
????}
????//?string?contain?8bit?characters
????if?(is_string($data)?&&?preg_match('/[\x81-\xfe]/',?$data))?{
????????//?mbstring,?iconv,?throw?...
????????if?(function_exists('mb_convert_encoding'))?{
????????????return?mb_convert_encoding($data,?$to,?$from);
????????}?elseif?(function_exists('iconv'))?{
????????????return?iconv($from,?$to?.?'//TRANSLIT',?$data);
????????}?else?{
????????????throw?new?XSException('Cann\'t?find?the?mbstring?or?iconv?extension?to?convert?encoding');
????????}
????}
????return?$data;
}`
字符集轉換要求安裝有 mbstring, iconv 中的一種
getAllFields()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public XSFieldMeta[] <b>getAllFields</b>()</div></td></tr><tr><td class="paramNameCol">{return}</td> <td class="paramTypeCol">XSFieldMeta[]</td> <td class="paramDescCol"></td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L519](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L519) (**[顯示](#)**)
`public?function?getAllFields()
{
????return?$this->_scheme->getAllFields();
}`
獲取項目所有字段結構設置
getConfig()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public array <b>getConfig</b>()</div></td></tr><tr><td class="paramNameCol">{return}</td> <td class="paramTypeCol">array</td> <td class="paramDescCol">獲取配置原始數據</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L355](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L355) (**[顯示](#)**)
`public?function?getConfig()
{
????return?$this->_config;
}`
getDefaultCharset()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public string <b>getDefaultCharset</b>()</div></td></tr><tr><td class="paramNameCol">{return}</td> <td class="paramTypeCol">string</td> <td class="paramDescCol">默認字符集(已大寫)</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L383](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L383) (**[顯示](#)**)
`public?function?getDefaultCharset()
{
????return?isset($this->_config['project.default_charset'])??
????????????strtoupper($this->_config['project.default_charset'])?:?'UTF-8';
}`
獲取項目的默認字符集
getField()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public <a href="XSFieldMeta.html">XSFieldMeta</a> <b>getField</b>(mixed $name, bool $throw=true)</div></td></tr><tr><td class="paramNameCol">$name</td> <td class="paramTypeCol">mixed</td> <td class="paramDescCol">字段名稱(string) 或字段序號(vno, int)</td></tr><tr><td class="paramNameCol">$throw</td> <td class="paramTypeCol">bool</td> <td class="paramDescCol">當字段不存在時是否拋出異常, 默認為 true</td></tr><tr><td class="paramNameCol">{return}</td> <td class="paramTypeCol"><a href="XSFieldMeta.html">XSFieldMeta</a></td> <td class="paramDescCol">字段元數據對象</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L510](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L510) (**[顯示](#)**)
`public?function?getField($name,?$throw?=?true)
{
????return?$this->_scheme->getField($name,?$throw);
}`
獲取項目字段元數據
#### 參見
- [XSFieldScheme::getField](#)
getFieldBody()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public <a href="XSFieldMeta.html">XSFieldMeta</a> <b>getFieldBody</b>()</div></td></tr><tr><td class="paramNameCol">{return}</td> <td class="paramTypeCol"><a href="XSFieldMeta.html">XSFieldMeta</a></td> <td class="paramDescCol">類型為 BODY 的字段</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L497](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L497) (**[顯示](#)**)
`public?function?getFieldBody()
{
????return?$this->_scheme->getFieldBody();
}`
獲取當前內容字段
#### 參見
- [XSFieldScheme::getFieldBody](#)
getFieldId()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public <a href="XSFieldMeta.html">XSFieldMeta</a> <b>getFieldId</b>()</div></td></tr><tr><td class="paramNameCol">{return}</td> <td class="paramTypeCol"><a href="XSFieldMeta.html">XSFieldMeta</a></td> <td class="paramDescCol">類型為 ID 的字段</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L477](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L477) (**[顯示](#)**)
`public?function?getFieldId()
{
????return?$this->_scheme->getFieldId();
}`
獲取當前主鍵字段
#### 參見
- [XSFieldScheme::getFieldId](#)
getFieldTitle()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public <a href="XSFieldMeta.html">XSFieldMeta</a> <b>getFieldTitle</b>()</div></td></tr><tr><td class="paramNameCol">{return}</td> <td class="paramTypeCol"><a href="XSFieldMeta.html">XSFieldMeta</a></td> <td class="paramDescCol">類型為 TITLE 的字段</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L487](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L487) (**[顯示](#)**)
`public?function?getFieldTitle()
{
????return?$this->_scheme->getFieldTitle();
}`
獲取當前標題字段
#### 參見
- [XSFieldScheme::getFieldTitle](#)
getIndex()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public <a href="XSIndex.html">XSIndex</a> <b>getIndex</b>()</div></td></tr><tr><td class="paramNameCol">{return}</td> <td class="paramTypeCol"><a href="XSIndex.html">XSIndex</a></td> <td class="paramDescCol">索引操作對象</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L402](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L402) (**[顯示](#)**)
`public?function?getIndex()
{
????if?($this->_index?===?null)?{
????????$adds?=?array();
????????$conn?=?isset($this->_config['server.index'])???$this->_config['server.index']?:?8383;
????????if?(($pos?=?strpos($conn,?';'))?!==?false)?{
????????????$adds?=?explode(';',?substr($conn,?$pos?+?1));
????????????$conn?=?substr($conn,?0,?$pos);
????????}
????????$this->_index?=?new?XSIndex($conn,?$this);
????????$this->_index->setTimeout(0);
????????foreach?($adds?as?$conn)?{
????????????$conn?=?trim($conn);
????????????if?($conn?!==?'')?{
????????????????$this->_index->addServer($conn)->setTimeout(0);
????????????}
????????}
????}
????return?$this->_index;
}`
獲取索引操作對象
getLastXS()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public static XS <b>getLastXS</b>()</div></td></tr><tr><td class="paramNameCol">{return}</td> <td class="paramTypeCol">XS</td> <td class="paramDescCol">最近創建的 XS 對象</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L310](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L310) (**[顯示](#)**)
`public?static?function?getLastXS()
{
????return?self::$_lastXS;
}`
獲取最新的 XS 實例
getName()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public string <b>getName</b>()</div></td></tr><tr><td class="paramNameCol">{return}</td> <td class="paramTypeCol">string</td> <td class="paramDescCol">當前項目名稱</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L364](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L364) (**[顯示](#)**)
`public?function?getName()
{
????return?$this->_config['project.name'];
}`
獲取當前項目名稱
getScheme()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public <a href="XSFieldScheme.html">XSFieldScheme</a> <b>getScheme</b>()</div></td></tr><tr><td class="paramNameCol">{return}</td> <td class="paramTypeCol"><a href="XSFieldScheme.html">XSFieldScheme</a></td> <td class="paramDescCol">當前字段方案</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L320](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L320) (**[顯示](#)**)
`public?function?getScheme()
{
????return?$this->_scheme;
}`
獲取當前在用的字段方案通用于搜索結果文檔和修改、添加的索引文檔
getScwsServer()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public <a href="XSServer.html">XSServer</a> <b>getScwsServer</b>()</div></td></tr><tr><td class="paramNameCol">{return}</td> <td class="paramTypeCol"><a href="XSServer.html">XSServer</a></td> <td class="paramDescCol">分詞服務器</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L463](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L463) (**[顯示](#)**)
`public?function?getScwsServer()
{
????if?($this->_scws?===?null)?{
????????$conn?=?isset($this->_config['server.search'])???$this->_config['server.search']?:?8384;
????????$this->_scws?=?new?XSServer($conn,?$this);
????}
????return?$this->_scws;
}`
創建 scws 分詞連接
getSearch()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public <a href="XSSearch.html">XSSearch</a> <b>getSearch</b>()</div></td></tr><tr><td class="paramNameCol">{return}</td> <td class="paramTypeCol"><a href="XSSearch.html">XSSearch</a></td> <td class="paramDescCol">搜索操作對象</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L427](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L427) (**[顯示](#)**)
`public?function?getSearch()
{
????if?($this->_search?===?null)?{
????????$conns?=?array();
????????if?(!isset($this->_config['server.search']))?{
????????????$conns[]?=?8384;
????????}?else?{
????????????foreach?(explode(';',?$this->_config['server.search'])?as?$conn)?{
????????????????$conn?=?trim($conn);
????????????????if?($conn?!==?'')?{
????????????????????$conns[]?=?$conn;
????????????????}
????????????}
????????}
????????if?(count($conns)?>?1)?{
????????????shuffle($conns);
????????}
????????for?($i?=?0;?$i?<?count($conns);?$i++)?{
????????????try?{
????????????????$this->_search?=?new?XSSearch($conns[$i],?$this);
????????????????$this->_search->setCharset($this->getDefaultCharset());
????????????????return?$this->_search;
????????????}?catch?(XSException?$e)?{
????????????????if?(($i?+?1)?===?count($conns))?{
????????????????????throw?$e;
????????????????}
????????????}
????????}
????}
????return?$this->_search;
}`
獲取搜索操作對象
restoreScheme()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public void <b>restoreScheme</b>()</div></td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L342](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L342) (**[顯示](#)**)
`public?function?restoreScheme()
{
????if?($this->_scheme?!==?$this->_bindScheme)?{
????????$this->_scheme?=?$this->_bindScheme;
????????if?($this->_search?!==?null)?{
????????????$this->_search->markResetScheme(true);
????????}
????}
}`
還原字段方案為項目綁定方案
setDefaultCharset()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public void <b>setDefaultCharset</b>(string $charset)</div></td></tr><tr><td class="paramNameCol">$charset</td> <td class="paramTypeCol">string</td> <td class="paramDescCol">修改后的字符集</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L393](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L393) (**[顯示](#)**)
`public?function?setDefaultCharset($charset)
{
????$this->_config['project.default_charset']?=?strtoupper($charset);
}`
改變項目的默認字符集
setName()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public void <b>setName</b>(string $name)</div></td></tr><tr><td class="paramNameCol">$name</td> <td class="paramTypeCol">string</td> <td class="paramDescCol">項目名稱</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L374](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L374) (**[顯示](#)**)
`public?function?setName($name)
{
????$this->_config['project.name']?=?$name;
}`
修改當前項目名稱注意,必須在 [getSearch](#) 和 [getIndex](#) 前調用才能起作用
setScheme()方法
<table class="summaryTable"><tr><td colspan="3"><div class="signature2">public void <b>setScheme</b>(<a href="XSFieldScheme.html">XSFieldScheme</a> $fs)</div></td></tr><tr><td class="paramNameCol">$fs</td> <td class="paramTypeCol"><a href="XSFieldScheme.html">XSFieldScheme</a></td> <td class="paramDescCol">一個有效的字段方案對象</td></tr></table>
**源碼:**[sdk/php/lib/XS.class.php#L330](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XS.class.php#L330) (**[顯示](#)**)
`public?function?setScheme(XSFieldScheme?$fs)
{
????$fs->checkValid(true);
????$this->_scheme?=?$fs;
????if?($this->_search?!==?null)?{
????????$this->_search->markResetScheme();
????}
}`
設置當前在用的字段方案
Copyright ? 2008-2011 by [杭州云圣網絡科技有限公司](http://www.xunsearch.com)
All Rights Reserved.
- 權威指南
- 新手上路
- 最新主要變動
- 概述
- 關于 Xunsearch PHP-SDK
- 安裝、升級
- 體驗 demo 項目
- 開發規范
- 開發流程
- 了解基礎對象
- 基礎對象概述
- XS 項目
- XSException 異常
- XSDocument 文檔
- XSIndex 索引管理
- XSSearch 搜索
- XSTokenizer 分詞接口
- 編寫項目配置文件
- 項目配置詳解
- 自定義分詞器
- 編寫第一個配置文件
- 管理索引
- 索引概述
- 添加文檔
- 更新、修改文檔
- 刪除文檔
- 清空索引
- 平滑重建索引
- 使用索引緩沖區
- 自定義SCWS詞庫
- 使用搜索
- 搜索概述
- 構建搜索語句
- 獲取搜索匹配結果
- 獲取搜索匹配數量
- 獲取熱門搜索詞
- 獲取相關搜索詞
- 搜索建議和糾錯
- 按字段值分面搜索
- 使用輔助工具
- RequiredCheck 運行檢測
- Indexer 索引管理器
- Quest 搜索測試工具
- SearchSkel 生成搜索代碼
- IniWizzard 配置文件向導
- Logger 搜索日志管理
- 專題
- 同義詞搜索功能
- 在SDK中使用SCWS分詞
- API 指南
- XS
- XS
- XSCommand
- XSComponent
- XSDocument
- XSErrorException
- XSException
- XSFieldMeta
- XSFieldScheme
- XSIndex
- XSSearch
- XSServer
- XS.tokenizer
- XSTokenizer
- XSTokenizerFull
- XSTokenizerNone
- XSTokenizerScws
- XSTokenizerSplit
- XSTokenizerXlen
- XSTokenizerXstep
- XS.util
- XSCsvDataSource
- XSDataFilter
- XSDatabaseDataSource
- XSDebugFilter
- XSJsonDataSource
- XSUtil
- XS.util.db
- XSDatabase
- XSDatabaseMySQL
- XSDatabaseMySQLI
- XSDatabasePDO
- XSDatabasePDO_MySQL
- XSDatabasePDO_PgSQL
- XSDatabasePDO_SQLite
- XSDatabasePgSQL
- XSDatabaseSQLite
- XSDatabaseSQLite3
- XS.utilf
- XSDataSource
- 其它文檔
- 關于 xunsearch
- 特色和優勢
- Xunsearch 架構簡圖
- 下載 Xunsearch
- 商業服務與支持
- XunSearch 授權許可證