搜索

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

751.无法打开类型为 xdb 数据文件 是什么问题?

发布时间:2010-08-28 12:08 t By luyinhu

今天换服务器上出现这个问题 [code]Warning: XDB::Open(dict.xdb) failed. in D:\99dy\include\scws\xdb_r.class.php on line 44 Fatal error: 无法打开类型为 xdb 数据文件 `include/scws/dict/dict.xdb` in D:\99dy\include\scws\dict.class.php on line 155[/code] 是什么原因?

752.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'; ...

753.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...

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

755.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, $...

756.如何获取到分词对应的id

发布时间:2011-01-30 11:01 t By michael

...计不是这样做的,不知道大家怎么解决这个问题的。 [php] Array ( [0] => Array ( [word] => 我 [off] => 0 [len] => 3 [idf] => 0 [attr] => r ) [1] => Array ( [wo...

757.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...

758.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...

759.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...

760.XSFieldScheme::logger

...() {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('pin...

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