搜索

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

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' =...

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

...sql 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(#' ...

354.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]';

355.XSSearch::setRequireMatchedTerm

... {return} 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_MIS...

356.XSComponent::__set

... $name 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 = meth...

357.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[$na...

358.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->_ter...

359.XSFieldScheme::logger

...gger() {return} XSFieldScheme 搜索日志字段方案 源码: sdk/php/lib/XSFieldScheme.class.php#L198 (显示) public static function logger(){ if (self::$_logger === null) { $scheme = new self; $scheme->addField('id', array('type' => 'id')); $scheme->addField(...

360.XSIndex::openBuffer

... {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L362 (显示) public function openBuffer($size = 4){ if ($this->_buf !== '') { $this->addExdata($this->_buf, false); } $this->_bufSize = intval($size) << 20; $this->_buf = '';...

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