...被检索到) 可以在使用util/Quest.php进行查询的时候 可以显示出来呢? (目的是:当检索到结果的时候 想知道它是来自哪个文件的) [hr] 我仔细用了一下xunsearch 它可以直接建立应用 很方便!! 谢谢你的开发和帮助!
...列表 (此处无用) 源码: sdk/php/lib/XSDocument.class.php#L108 (显示) public function __call($name, $args){ if ($this->_meta !== null) { $name = strtolower($name); if (isset($this->_meta[$name])) { return $this->_meta[$name]; } } throw new XSExcep...
...数,默认不指定 源码: sdk/php/lib/XSTokenizer.class.php#L188 (显示) public function __construct($arg = null){ if (self::$_server === null) { $xs = XS::getLastXS(); if ($xs === null) { throw new XSException('An XS instance should be created before using ' . ...
...现了,当我想提取同一类别的最低价的不同分类数据进行显示的话就得不到准确的数据。也就是得不到上方写入的想要的数据。 那么,该如何得到我想要的数据呢,或者说 xunsearch 里面有方法或一些设置可以实现。 最后,还有...
...应的 XSCommand 对象 源码: sdk/php/lib/XSServer.class.php#L279 (显示) public function execCommand($cmd, $res_arg = XS_CMD_NONE, $res_cmd = XS_CMD_OK){ // create command object if (!$cmd instanceof XSCommand) { $cmd = new XSCommand($cmd); } // just cache the cmd for tho...
...请用使用双引号包围起来。 * _--hot[=total|last|cur]_ 用于显示指定项目的热门搜索词,此时 _query_ 参数无意义。 选项值含义分别表示总搜索量、上周搜索量、本周搜索量,默认为总搜索量。 * _--suggest_、_--correct_、_--related_ ...
...tected void deinit() 源码: sdk/php/util/XSDataSource.class.php#L211 (显示) protected function deinit(){ $this->db->close();} getCharset() 方法 public mixed getCharset() {return} mixed 如果数据库不支持 UTF-8 转换则返回 false 源码: sdk/php/util/X...
...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L401 (显示) public function setFacets($field, $exact = false){ $buf = ''; if (!is_array($field)) { $field = array($field); } foreach ($field as $name) { $ff = $this->xs->getField($name); if ($ff->...
... 要加载的项目配置文件 源码: sdk/php/lib/XS.class.php#L284 (显示) public function __construct($file){ if (strlen($file) < 255 && !is_file($file)) { $appRoot = getenv('XS_APP_ROOT'); if ($appRoot === false) { $appRoot = defined('XS_APP_ROOT') ? XS_APP_ROO...
...需要捆绑的 xs 对象 源码: sdk/php/lib/XSServer.class.php#L143 (显示) public function __construct($conn = null, $xs = null){ $this->xs = $xs; if ($conn !== null) { $this->open($conn); }} 构造函数, 打开连接 __destruct() 方法 public void __destruct...