为配置文件 [php] project.name = myblog project.default_charset = utf-8 server.index = 8383 server.search = 8384 [ID] type = id phrase = yes [author] index = self [post_content] type = body [post_title] type = title [post_date] type = numeric index = self [category]...
...nt型的 配置文件如下 [code] project.name = xuenar_news project.default_charset = utf-8 server.index = 192.168.0.6:8383 server.search = 192.168.0.6:8384 [id] type=id [title] type=title index=both [content] type = body index = mixed [lv1] index = self tokenizer = full ...
...是mysql分割后的位置不是固定的 project.name = hash project.default_charset = UTF-8 server.index = /dev/shm/xs-indexd.sock server.search = /dev/shm/xs-searchd.sock [id];图片ID主键 唯一 type = id index = none tokenizer = none cutlen = 0 weight = 0 phrase = no non_bool ...
... => title ) ) [_config:private] => Array ( [project.name] => test [project.default_charset] => UTF-8 [server.index] => 8383 [server.search] => 8384 [newsid] => Array ( [type] => id ) [title] => Array ( [type] => title ) ) ) Fatal error: Uncaught [XSErrorException] xunsearch/sdk/php/lib/XS.php(2207...
...档、 检索服务器仍可重新指定字符集 ~~~ project.default_charset = UTF-8 ~~~ 3. ### 服务器连接参数 服务端连接参数的格式包含 3 种格式: 1. *端口号(数字)*,连接 `localhost` 的该端口号 (例:`8383`) 2. *地址:端口号*...
... 搜索配置文件,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 [authorid] [tid] index ...
...MB。全是文本。 # 配置文件 [php]project.name = pub project.default_charset = utf-8 ;服务端用默认值 ;server.index = 8383 ;server.search = 8384 [did] type = id [title] type = title [tag] index = self [summary] index = both [content] type = body [/php] ...
...blic function getDefaultCharset(){ return isset($this->_config['project.default_charset']) ? strtoupper($this->_config['project.default_charset']) : 'UTF-8';} 获取项目的默认字符集 getField() 方法 public XSFieldMeta getField(mixed $name, bool $throw=true) $...
...记录。 我的配置如下: [php] project.name = goods project.default_charset = utf-8 server.index = 8383 server.search = 8384 ; 商品ID 与配送范围 配送范围以特殊格式放到标题后面 [goods_id] type = id ; 商品名称 [goods_name] type = title index = both...
...rch/sdk/php/app/go.ini 内容如下: [code]project.name = go project.default_charset = utf-8 ;服务端用默认值 ;server.index = 8383 ;server.search = 8384 [did] type = id [title] type = title [tag] index = self [content] type = body[/code] 其中did为hdwiki每个词...