搜索

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

1.XSDatabaseSQLite::connect

...blic void connect(array $param) $param array 连接参数, 包含: path 源码: sdk/php/util/XSDataSource.class.php#L699 (显示) public function connect($param){ if (($this->link = sqlite_open($param['path'])) === false) { throw new XSException("Can not open sqlite file: '{$p...

2.XSDatabaseDataSource

... $param = array('scheme' => substr($this->type, 0, $pos)); $param['path'] = substr($this->type, $pos + (substr($this->type, $pos + 1, 2) === '//' ? 3 : 1)); } elseif (!($param = parse_url($this->type))) { throw new XSException('Wrong format of DB connection parameter'); } else {...

3.添加自定义词库的问题

更新时间:2010-06-03 16:06 t By xiaolan

使用自定义的文本字库, $scws = scws_new(); $scws->add_dict("/path/to/dict",SCWS_XDICT_TXT); 自定义的词库可以使用了, 可是原有的词库就没了。。。 于是。。再这样,先添加原有的词库 $scws = scws_new(); $scws->set_dict("/path/to/dict.utf8.xdb"); $scws->...

4.scws_get_tops方法问题

更新时间:2011-09-16 21:09 t By wodeln

...t. File(C:\Program Files\scws\etc\dict.utf8.xdb) is not within the allowed path(s): (D:/DedeAMPZ/WebRoot/Default) in D:\DedeAMPZ\WebRoot\Default\tld\dede\getwen.php on line 6 Warning: scws_set_rule() [function.scws-set-rule]: open_basedir restriction in effect. File(C:\Program Files\scws\etc\rules....

5.生成搜索骨架代码

...成 demo 项目的搜索代码 util/SearchSkel.php demo # 在指定的 /path/to/web 目录生成 demo 搜索代码,代码目录为:/path/to/web/demo util/SearchSkel.php demo /path/to/web # 使用选项指定方式 util/SearchSkel.php -p demo -o /path/to/web ~~~ 生成的代码介绍 ---------...

6.XSDatabaseSQLite3::connect

...blic void connect(array $param) $param array 连接参数, 包含: path 源码: sdk/php/util/XSDataSource.class.php#L756 (显示) public function connect($param){ try { $this->obj = new SQLite3($param['path'], SQLITE3_OPEN_READONLY); } catch (Exception $e) { throw ne...

7.XSDatabasePDO_SQLite::makeDsn

... protected string makeDsn(array $param) $param array 包含 path 为数据库路径 {return} string 源码: sdk/php/util/XSDataSource.class.php#L945 (显示) protected function makeDsn($param){ $dsn = 'sqlite:' . $param['path']; return $dsn;} 生成 SQLite DSN

8.XSDatabaseSQLite

...blic void connect(array $param) $param array 连接参数, 包含: path 源码: sdk/php/util/XSDataSource.class.php#L699 (显示) public function connect($param){ if (($this->link = sqlite_open($param['path'])) === false) { throw new XSException("Can not open sqlite file: '{$p...

9.RE:1250

发布时间:2007-11-27 10:11 t By mfd

...不再有泄露了:) 原代码:(scws.c文件404行)[code]next_path: m = n + 1; } }[/code] 在 _scws_mseg_zone 函数结尾增加两个释放: /* 一口.070808: memory leak fixed. */ if (mpath) free(mpath); if (npath) free(npath); 修改后应该...

10.重启xunsearch

更新时间:2012-03-27 10:03 t By bigxu

...s_content,example:RE (content of arg1 must include arg2) " echo "arg3 path of xs_ctl.sh example: /usr/local/services/xunsearch/bin/xs-ctl.sh " echo "arg4 restart log exaple: /usr/local/services/xunsearch/bigxu_check/restart.log " exit fi try_url=$1 inc_str=$2 ctl_path=$3 res_lo...

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