... public void close() 源码: sdk/php/util/XSDataSource.class.php#L498 (显示) public function close(){ if ($this->link) { mysql_close($this->link); $this->link = null; }} 关闭数据库连接 connect() 方法 public void connect(array $param) $param arr...
...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L492 (显示) public function addDb($name){ $name = strval($name); $this->execCommand(array('cmd' => XS_CMD_SEARCH_ADD_DB, 'buf' => $name)); $this->_curDbs[] = $name; return $this;} 添加搜索的数据库名, 支...
...rg=NULL) $arg 源码: sdk/php/lib/XSTokenizer.class.php#L79 (显示) public function __construct($arg = null){ if ($arg !== null && $arg !== '') { $this->arg = $arg; }} getTokens() 方法 public void getTokens($value, $doc=NULL) $value $doc ...
...g=NULL) $arg 源码: sdk/php/lib/XSTokenizer.class.php#L106 (显示) public function __construct($arg = null){ if ($arg !== null && $arg !== '') { $this->arg = intval($arg); if ($this->arg < 1 || $this->arg > 255) { throw new XSException('Invalid argument f...
...g=NULL) $arg 源码: sdk/php/lib/XSTokenizer.class.php#L137 (显示) public function __construct($arg = null){ if ($arg !== null && $arg !== '') { $this->arg = intval($arg); if ($this->arg < 1 || $this->arg > 255) { throw new XSException('Invalid argument f...
... ... ... ... ... ... ... ... ... ... ... 通过精确查找,显示统计数量count="232" ,数据统计不止这些,都到了四五百了。 ... ... ... [color=#FF0000]如果不使用双引号,显示统计数量count="759",但是真实数据只有431条[/color] [h...
...tected void deinit() 源码: sdk/php/util/XSDataSource.class.php#L384 (显示) protected function deinit(){ if ($this->fd) { fclose($this->fd); $this->fd = null; }} getDataList() 方法 protected void getDataList() 源码: sdk/php/util/XSDataSource.class.p...
...据不加入索引 源码: sdk/php/util/XSDataSource.class.php#L969 (显示) public function process($data, $cs = false); 字段数据处理函数 processDoc() 方法 (自版本 v1.3.4 起可用) abstract public void processDoc(XSDocument $doc) $doc XSDocument 索引文档...
...进行编码转换, 默认为 true {return} array 可用于高亮显示的词条列表 源码: sdk/php/lib/XSSearch.class.php#L515 (显示) public function terms($query = null, $convert = true){ $query = $query === null ? '' : $this->preQueryString($query); if ($query === '' && $t...
...容 type = body [post_content_full] //全部内容 cutlen = 300 //显示300个字节 [post_title] //标题 type = title [post_time] //时间YYYYmmdd形式 type = date [post_date_sec] //时间戳 [category] //分类 index = self [category_id //分类ID type = numeric in...