... XSIndex 索引操作对象 源码: sdk/php/lib/XS.class.php#L406 (显示) public function getIndex(){ if ($this->_index === null) { $adds = array(); $conn = isset($this->_config['server.index']) ? $this->_config['server.index'] : 8383; if (($pos = strpos($conn, ';')...
... {return} mixed 属性值 源码: sdk/php/lib/XS.class.php#L182 (显示) public function __get($name){ $getter = 'get' . $name; if (method_exists($this, $getter)) { return $this->$getter(); } // throw exception $msg = method_exists($this, 'set' . $name) ? 'Write-only...
...rg $res_cmd 源码: sdk/php/lib/XSIndex.class.php#L44 (显示) public function execCommand($cmd, $res_arg = XS_CMD_NONE, $res_cmd = XS_CMD_OK){ $res = parent::execCommand($cmd, $res_arg, $res_cmd); foreach (self::$_adds as $srv) { $srv->execCommand($cmd, $res_arg, $...
...义词则返回空数组 源码: sdk/php/lib/XSSearch.class.php#L187 (显示) public function getSynonyms($term){ $term = strval($term); if (strlen($term) === 0) { return false; } $cmd = array('cmd' => XS_CMD_SEARCH_GET_SYNONYMS, 'arg1' => 2, 'buf' => $term); $res = $this-...
...这是BUG) 2. 如果 db ,db2 都存在,我指定 -d db2 则只会显示 db2 的结果 ,并不是如您所说的 db+db2 -d db,db2 则才为2者结合
...毕的数据源对象 源码: sdk/php/util/XSDataSource.class.php#L44 (显示) public static function instance($type, $arg = null){ $type2 = ($pos = strpos($type, ':')) ? 'database' : $type; $class = 'XS' . ucfirst(strtolower($type2)) . 'DataSource'; if (!class_exists($class)) { ...
... {return} mixed 源码: sdk/php/util/XSDataSource.class.php#L511 (显示) public function query($sql){ //echo "[DEBUG] SQL: $sql\n"; $res = mysql_query($sql, $this->link); if ($res === false) { throw new XSException('MySQL ERROR(#' . mysql_errno($this->link) . '): ' . mysql...
你好,我测试了一下,消除标点符号时":"还会显示,其它标点就可以。[hr] “{}]好像这几个都清不了
无论我打什么命令,无论Indexer.php后面加什么参数,都是显示帮助文档,这是怎么回事呢? [code][root@abc util]# /usr/local/php/bin/php Indexer.php --info Indexer - 索引批量管理、导入工具 (xunsearch/1.3.3) 用法 Indexer.php [options] [-p|--projec...
...的词组成的数组 源码: sdk/php/lib/XSTokenizer.class.php#L33 (显示) public function getTokens($value, XSDocument $doc = null); 执行分词并返回词列表