搜索

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

91.XSCommand::__construct

...ion __construct($cmd, $arg1 = 0, $arg2 = 0, $buf = '', $buf1 = ''){ if (is_array($cmd)) { foreach ($cmd as $key => $value) { if ($key === 'arg' || property_exists($this, $key)) { $this->$key = $value; } } } else { $this->cmd = $cmd; ...

92.[特别发布] 纯PHP编写的xdb词典导入导出工具!!

发布时间:2009-07-01 17:07 t By hightman

...的文本是 utf8,则需要修改该程序的第一行,把 define('IS_UTF8_TXT', false); 改为 true php make_xdb_file.php [导入的文本文件] --- 关于文本文件的说明,每行一条记录,#开头表示注释,每条记录由 word、TF、IDF、Attr组成,其中...

93.XSFieldScheme::addField

...FieldMeta) { $field = new XSFieldMeta($field, $config); } if (isset($this->_fields[$field->name])) { throw new XSException('Duplicated field name: `' . $field->name . '\''); } if ($field->isSpeical()) { if (isset($this->_typeMap[$field->type])) { $prev = $...

94.XSSearch::setSort

...c function setSort($field, $asc = false, $relevance_first = false){ if (is_array($field)) { return $this->setMultiSort($field, $asc, $relevance_first); } if ($field === null) { $cmd = new XSCommand(XS_CMD_SEARCH_SET_SORT, XS_CMD_SORT_TYPE_RELEVANCE); } else { $type =...

95.创建索引失败

更新时间:2012-12-18 15:12 t By HiLinz

...ErrorException] lib/XS.php(2210): stream_set_blocking(): supplied argument is not a valid stream resource(2) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2210): xs_error_handler(2, 'stream_set_bloc...', '/usr/local/xuns...', 2210, Array) #1 /usr/local/xunsearch/sdk/php/lib/XS.php(2030): XSServer->conn...

96.英文模糊搜索问题

发布时间:2013-07-31 10:07 t By homingway

...tion __construct($arg = null){ if ($arg !== null && $arg !== '') $this->length = $arg; } public function getTokens($value, XSDocument $doc=null){ $charset = is_object($doc) ? $doc->getCharset() : 'UTF-8'; $ret = array(); //如果词的总长度小于给定的长度,则直接返...

97.RE: scws.so: undefined symbol: core_globals_id in Unknown on line 0 done

更新时间:2010-04-29 01:04 t By hightman

...有没有注意到 configure 的结果里,总是显示 checking if zts is enabled... no 问题应该是在这儿 我这儿的FREEBSD,LINUX都是正常的,PHP 4.4.X和PHP5.2.X都测试过~ 查看一下 /usr/local/php/include/php/main/php_config.php 里面是否有 #define ZTS 1 或试...

98.为什么我编译SCWS-1.1.1失败

发布时间:2010-08-18 09:08 t By assad

...rootdir setting config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands -bash: make: command not found -bash: make: command not found Centos系统!

99.XSJsonDataSource::getDataList

getDataList() 方法 protected void getDataList() 源码: sdk/php/util/XSDataSource.class.php#L295 (显示) protected function getDataList(){ // read line (check to timeout?) $line = ''; while (true) { $buf = fgets($this->fd, 8192); if ($buf === false || strlen($bu...

100.RE: hi hightman, scws_ext cant be run on x64!!!??

发布时间:2010-12-20 08:12 t By postwhere

...3 main, ext, zend for the globle include directory, but last thing i cause is no config_w32.h in main, i got some help online, the config_w32.h file must be compile by myself use some building tools, and how do u do for this scws_ext.dll compil? show me something> thx :)

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