...配置和导入原有数据 在sdk的app目录里 vi 项目名.ini project.name = 项目名 project.default_charset = UTF-8 server.index = 192.168.0.250:8383 server.search = 192.168.0.250:8384 [tid] type = id [fid] index = self tokenizer = full [author] [authorid] index = self tokenizer = full ...
...将文件保存至 `$prefix/sdk/php/app/discuz.ini`。 ~~~ [php] project.name = discuz project.default_charset = GBK ;服务端用默认值 ;server.index = 8383 ;server.search = 8384 [pid] type = id [fid] index = self tokenizer = full [tid] [first] index = self tokenizer = full [author] index ...
...段,这个对索引的速度有影响吗?影响有多大? project.name = s1 project.default_charset = utf-8 server.index = 8383 server.search = 8384 [xsid] type = id [pid] tokenizer = full type = numeric index = self [tid] type = string index = self tokenizer = full [fid] ...
...de/ini.guide保持一致 搜索配置文件,sample.ini [code]project.name = sample project.default_charset = GBK ;server.index = 8383 ;server.search = 8384 [pid] type = id [subject] type = title [message] type = body [dateline] type = numeric [author] index = both [au...
...bs --sql="select * from cdb_post" -c gbk ini的配置如下: project.name = discuz project.charset = GBK server.index = 8383 server.search = 8384 [pid] type = id [fid] index = self tokenizer = full [tid] [first] index = self tokenizer = full [author] index = both [au...
..., 如:xyz.ini 则项目名默认为 `xyz` 。 ~~~ project.name = AppName ~~~ 2. ### 默认字符集 这里的默认字符集范围涵盖服务端交互时的输入数据、输出数据,实际使用时索引文档、 检索服务器仍可重新指定字符集 ~~~ ...
...定义词典内容 setDb() 方法 public XSIndex setDb(string $name) $name string 数据库名称 {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L439 (显示) public function setDb($name){ $this->execCommand(array('cmd...