... bool 若需要返回 true, 不需要则返回 false 源码: sdk/php/lib/XSFieldScheme.class.php#L394 (显示) public function hasIndexSelf(){ return ($this->flag & self::FLAG_INDEX_SELF) ? true : false;} 判断当前字段是否需要在字段区索引
__toString() 方法 public string __toString() {return} string 字段名称 源码: sdk/php/lib/XSFieldScheme.class.php#L310 (显示) public function __toString(){ return $this->name;} 将对象转换为字符串
...ndex $index) $index XSIndex 索引操作对象 源码: sdk/php/lib/XSDocument.class.php#L344 (显示) public function afterSubmit($index){ } 重写接口, 在文档成功提交到索引服务器后调用 继承此类进行重写该方法时, 强烈建议要调用 parent::afterSav...
生成搜索骨架代码测试时报错,错误:[XSException] sdk/php/lib/XS.php(2008): Permission denied(C#13)[hr] 管理员看一下,怎么回事啊。第一次用。自己顶一下。
...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...
...} bool 存在返回 true, 若不存在返回 false 源码: sdk/php/lib/XSDocument.class.php#L287 (显示) public function offsetExists($name){ return isset($this->_data[$name]);} ArrayAccess 接口, 判断字段是否存在, 勿直接调用
...omDict() {return} string 自定义词库内容 源码: sdk/php/lib/XSIndex.class.php#L484 (显示) public function getCustomDict(){ $res = $this->execCommand(XS_CMD_INDEX_USER_DICT, XS_CMD_OK_INFO); return $res->buf;} 获取自定义词典内容
...charset) $charset string 设置文档字符集 源码: sdk/php/lib/XSDocument.class.php#L132 (显示) public function setCharset($charset){ $this->_charset = strtoupper($charset); if ($this->_charset == 'UTF8') { $this->_charset = 'UTF-8'; }} 设置文档字符集
编译环境:VS2010 在生成过程中,出现如下错误: 无法打开包括文件:“php.h”: No such file or directory PHP的源代码和php5ts.lib已放到对应的目录下,请问如何解决?
在使用/demo/search.php 搜索的时候,出现的。权限需要怎么解决? 错误:[XSException] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2481): Permission denied(C#13, localhost:8384)