...引 源码: sdk/php/util/XSDataSource.class.php#L969 (显示) public function process($data, $cs = false); 字段数据处理函数 processDoc() 方法 (自版本 v1.3.4 起可用) abstract public void processDoc(XSDocument $doc) $doc XSDocument 索引文档 源码: sd...
...nts XSTokenizer { private $length = 1; // 默认切分长度 public function __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'; ...
...的时候,就出现了以下的问题: [code]Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/usr/local/xunsearch/sdk/php/lib/XS.php) is not within the allowed path(s): (/home/wwwroot/mesh:/tmp) in /home/wwwroot/mesh/public_html/so/search.php on line 11...
...extension_dir/目录. 可是依旧提示:Fatal error: Call to undefined function scws_new() ,请问这是什么原因呢,我在本地的Zendserver中配置 & 朋友wamp上测试都是加载不了,提示找不到函数.. ------------------------------ [php]$boolean = dl("php_scws.dll"); var...
...误提示Warning: require_once(/home/xunsou/xunsearch/sdk/php/lib/XS.php) [function.require-once]: failed to open stream: Permission denied in /home/web/www.ziyouhu.com/xs-test.php on line 3 Fatal error: require_once() [function.require]: Failed opening required '/home/xunsou/xunsearch/sdk/php/lib/...
...) 源码: sdk/php/util/XSDataSource.class.php#L211 (显示) protected function deinit(){ $this->db->close();} getCharset() 方法 public mixed getCharset() {return} mixed 如果数据库不支持 UTF-8 转换则返回 false 源码: sdk/php/util/XSDataSource.class.p...
...nts XSTokenizer { private $length = 1; // 默认切分长度 public function __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'; ...
...\Users\Administrato Desktop\tool\dev\xdb.class.php(447) : runtime-created function on line 1 PHP Notice: Use of undefined constant key - assumed 'key' in C:\Users\Adminis ator\Desktop\tool\dev\xdb.class.php(447) : runtime-created function on line 1
... 源码: sdk/php/util/XSDataSource.class.php#L913 (显示) protected function makeDsn($param){ $dsn = "pgsql:host={$param['host']};"; $dsn .= isset($param['port']) ? "port={$param['port']};" : ''; $dsn .= "dbname={$param['dbname']};client_encoding=utf-8"; return $dsn;} 生成 P...
... 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)) { $this...