搜索

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

351.XSSearch::getSynonyms

...义词记录数组, 不存在同义词则返回空数组 源码: 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, '...

352.XSDataSource::instance

...return} XSDataSource 初始化完毕的数据源对象 源码: 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'; ...

353.XSDatabaseMySQL::query

... string 要执行的 SQL 语句 {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(#' . my...

354.分面功能的search()

发布时间:2012-01-11 09:01 t By ixulf

...时被重置了,运行到上面的代码时,大家都没有出错?(php5.2.9)

355.RE: 导入索引,使用mysql数据源,但是端口号需要指定如果填写

发布时间:2014-09-29 10:09 t By longhtml

直接修改代码 sdk\php\util\XSDataSource.class.php 482行 $host .= (isset($param['port']) && $param['port'] != 3306) ? ':' . $param['port'] : '[b]:3399[/b]';

356.XSSearch::setRequireMatchedTerm

...turn} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L114 (显示) public function setRequireMatchedTerm($value = true){ $arg1 = XS_CMD_SEARCH_MISC_MATCHED_TERM; $arg2 = $value === true ? 1 : 0; $cmd = new XSCommand(XS_CMD_SEARCH_SET_MISC, $...

357.RE: 如何使用Node.js集成迅搜?

发布时间:2013-06-13 12:06 t By hightman

可以在单独的XUNSEARCH搜索器上用PHP-SDK输出类似JSON,XML的交互

358.XSComponent::__set

...ame string 属性名称 $value mixed 属性值 源码: sdk/php/lib/XS.class.php#L202 (显示) public function __set($name, $value){ $setter = 'set' . $name; if (method_exists($this, $setter)) { return $this->$setter($value); } // throw exception $msg = method_e...

359.XSDocument::__call

... $args array 调用时的参数列表 (此处无用) 源码: 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...

360.XSDocument::addTerm

...超过 255字节 $weight int 词重, 默认为 1 源码: sdk/php/lib/XSDocument.class.php#L236 (显示) public function addTerm($field, $term, $weight = 1){ $field = strval($field); if (!is_array($this->_terms)) { $this->_terms = array(); } if (!isset($this->_terms[$f...

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