You need a working C++ compiler to compile Xapian, but configure failed to *** find one. If you have a working C++ compiler, you can tell configure where *** to find it by invoking it like so: 搜索下错误提示似乎是你没装c++的编译器
...Server.class.php#L185 (显示) public function reopen($force = false){ if ($this->_flag & self::BROKEN || $force === true) { $this->open($this->_conn); } return $this;} 重新打开连接 仅应用于曾经成功打开的连并且异常关闭了
...il.class.php#L69 (显示) public static function setCharset($charset){ if ($charset !== null && strcasecmp($charset, 'utf8') && strcasecmp($charset, 'utf-8')) { self::$charset = $charset; ob_start(array(__CLASS__, 'convertOut')); }} 设置输出、输入编码 默认输出...
...过C#语言"; text = "我是一名中国的程序员"; if(argc == 2) text = argv[1]; if (!(s = scws_new())) { printf("error, can't init the scws_t!\n"); exit(-1); } scws_set_charset(s, "gbk"); ...
...XSDataSource.class.php#L220 (显示) protected function getDataList(){ if ($this->limit <= 0) { return false; } $sql = $this->sql . ' LIMIT ' . min(self::PLIMIT, $this->limit) . ' OFFSET ' . $this->offset; $this->limit -= self::PLIMIT; $this->offset += self::PLIMIT; return ...
...b/XSFieldScheme.class.php#L345 (显示) public function isBoolIndex(){ if ($this->flag & self::FLAG_NON_BOOL) { return false; } return (!$this->hasIndex() || $this->tokenizer !== XSTokenizer::DFL);} 判断当前字段的索引是否为布尔型 目前只有内置分词器支持...
...nction setCharset($charset){ self::$_charset = strtoupper($charset); if (self::$_charset == 'UTF8') { self::$_charset = 'UTF-8'; } return $this;} 设置字符集 默认字符集是 UTF-8, 这是指 getResult 系列函数的 $text 参数的字符集
...n autoload($name){ $file = XS_LIB_ROOT . '/' . $name . '.class.php'; if (file_exists($file)) { require_once $file; }} 智能加载类库文件 要求以 Name.class.php 命名并与本文件存放在同一目录, 如: XSTokenizerXxx.class.php
.../php/lib/XSIndex.class.php#L528 (显示) public function __destruct(){ if ($this->_rebuild === true) { try { $this->endRebuild(); } catch (Exception $e) { } } foreach (self::$_adds as $srv) { $srv->close(); } self::$_adds = array(); ...
...LUSH_LOGGING, XS_CMD_OK_LOG_FLUSHED); } catch (XSException $e) { if ($e->getCode() === XS_CMD_ERR_BUSY) { return false; } throw $e; } return true;} 强制刷新服务端当前项目的搜索日志