搜索

大约有 200 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.0059秒)

61.XS::restoreScheme

...toreScheme() 方法 public void restoreScheme() 源码: sdk/php/lib/XS.class.php#L346 (显示) public function restoreScheme(){ if ($this->_scheme !== $this->_bindScheme) { $this->_scheme = $this->_bindScheme; if ($this->_search !== null) { $this->_search->mar...

62.XS::getDefaultCharset

...t() {return} string 默认字符集(已大写) 源码: sdk/php/lib/XS.class.php#L387 (显示) public function getDefaultCharset(){ return isset($this->_config['project.default_charset']) ? strtoupper($this->_config['project.default_charset']) : 'UTF-8';} 获取项目...

63.XSIndex 索引管理

...是直接访问 [XS::index] 即可。 ~~~ [php] require '$prefix/sdk/php/lib/XS.php'; $xs = new XS('demo'); $index = $xs->index; // 索引对象来自 XS 的属性 ~~~ 关于索引对象的详细用法剖析请阅读后面的专题。 $Id$

64.XS::setScheme

...fs XSFieldScheme 一个有效的字段方案对象 源码: sdk/php/lib/XS.class.php#L334 (显示) public function setScheme(XSFieldScheme $fs){ $fs->checkValid(true); $this->_scheme = $fs; if ($this->_search !== null) { $this->_search->markResetScheme(); }} 设置当...

65.包含xs.php文件,浏览器显示无法载入页面

发布时间:2014-10-29 10:10 t By xstone

... // 加载 XS 入口文件 require_once '/home/who/xunsearch/sdk/php/lib/XS.php'; 这段包含代码去掉就能正常显示,一包含XS.php就无法载入页面。我把xs.php复制到网站目录后包含或者直接访问也是一样,请问是什么问题呢?

66.XS::__destruct

__destruct() 方法 public void __destruct() 源码: sdk/php/lib/XS.class.php#L304 (显示) public function __destruct(){ $this->_index = null; $this->_search = null;} 析构函数 由于对象交叉引用, 如需提前销毁对象, 请强制调用该函数

67.XSSearch 搜索对象

...是直接访问 [XS::search] 即可。 ~~~ [php] require '$prefix/sdk/php/lib/XS.php'; $xs = new XS('demo'); $search = $xs->search; // 搜索对象来自 XS 的属性 ~~~ 默认情况,搜索对象操作时对于用户输入的参数、搜索结果的输出编码视为默认编码,即 [XS::defa...

68.XS::getScwsServer

...ScwsServer() {return} XSServer 分词服务器 源码: sdk/php/lib/XS.class.php#L467 (显示) public function getScwsServer(){ if ($this->_scws === null) { $conn = isset($this->_config['server.search']) ? $this->_config['server.search'] : 8384; $this->_scws = new XSServ...

69.第一次安装,用PHP进行查询出错...

发布时间:2012-09-30 10:09 t By 973432436

...的运行时错误(E_ERROR) Uncaught [XSException] ../../xunsearch/sdk/php/lib/XS.php(2204): Permission denied(C#13) thrown /var/www/xunsearch/sdk/php/lib/XS.php 2204

70.XSServer::__construct

...连接参数 $xs XS 需要捆绑的 xs 对象 源码: sdk/php/lib/XSServer.class.php#L143 (显示) public function __construct($conn = null, $xs = null){ $this->xs = $xs; if ($conn !== null) { $this->open($conn); }} 构造函数, 打开连接

  • 时间不限
  • 按相关性排序