...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L492 (显示) public function addDb($name){ $name = strval($name); $this->execCommand(array('cmd' => XS_CMD_SEARCH_ADD_DB, 'buf' => $name)); $this->_curDbs[] = $name; return $this;} 添加搜索的数据库名, 支...
安装scws.so 用php -m 显示 错误! Unable to load dynamic library './usr/lib/php/scws.so' ... cannot open shared object file: No such file or directory in Unknown on line 0 我的php.ini 配置是: [scws] extension = "/usr/lib/php/scws.so" scws.default.charset = gbk scws.default.fpa...
...ue $doc 源码: sdk/php/lib/XSTokenizer.class.php#L46 (显示) public function getTokens($value, XSDocument $doc = null){ return array();}
...ue $doc 源码: sdk/php/lib/XSTokenizer.class.php#L62 (显示) public function getTokens($value, XSDocument $doc = null){ return array($value);}
... $name string 类的名称 源码: sdk/php/lib/XS.class.php#L533 (显示) public static function autoload($name){ $file = XS_LIB_ROOT . '/' . $name . '.class.php'; if (file_exists($file)) { require_once $file; }} 智能加载类库文件 要求以 Name.class.php 命名...
... $previous Exception 源码: sdk/php/lib/XS.class.php#L134 (显示) public function __construct($code, $message, $file, $line, $previous = null){ $this->_file = $file; $this->_line = $line; if (version_compare(PHP_VERSION, '5.3.0', '>=')) { parent::__construct($message,...
... 最大长度为 255字节 源码: sdk/php/lib/XSServer.class.php#L62 (显示) public function __construct($cmd, $arg1 = 0, $arg2 = 0, $buf = '', $buf1 = ''){ if (is_array($cmd)) { foreach ($cmd as $key => $value) { if ($key === 'arg' || property_exists($this, $key)) { ...
...ng 异常的简要描述信息 源码: sdk/php/lib/XS.class.php#L67 (显示) public function __toString(){ $string = '[' . __CLASS__ . '] ' . $this->getRelPath($this->getFile()) . '(' . $this->getLine() . '): '; $string .= $this->getMessage() . ($this->getCode() > 0 ? '(S#' . $this->get...
...新,可以使用 util/Indexer.php --flush-log dream 强制刷新一下就显示搜索建议了。。。[/color]
...的词组成的数组 源码: sdk/php/lib/XSTokenizer.class.php#L33 (显示) public function getTokens($value, XSDocument $doc = null); 执行分词并返回词列表