setProject() 方法 public void setProject(string $name, string $home='') $name string 项目名称 $home string 项目在服务器上的目录路径, 可选参数(不得超过255字节). 源码: sdk/php/lib/XSServer.class.php#L251 (显示) public function setProject($nam...
project 属性 public string getProject()public void setProject(string $name, string $home='') 获取当前项目名称
...lass.php#L378 (显示) public function setName($name){ $this->_config['project.name'] = $name;} 修改当前项目名称 注意,必须在 getSearch 和 getIndex 前调用才能起作用
...称 为 "当" 时限制找不到结果 配置文件名称如下 project.name = digital_music project.default_charset = utf-8 server.index = 8383 server.search = 8384 [music_id] type = id [music_name] type = title index = both [message] type = body cutlen = 500 [singe...
...t.cn/search/search.php?q=祛痘 我的项目配置文件名称如下 project.name = digital_music project.default_charset = utf-8 server.index = 8383 server.search = 8384 [music_id] type = id [music_name] type = title index = both [message] type = body cutlen = 500 [singe...
...这样 [img]http://www.tsheen.com/xunsearch/1.jpg[/img] 建立项目 project.name = product project.default_charset = utf-8 ;server.index = 8383 ;server.search = 8384 [id] type = id [p_id] [p_name] type = title [p_bn_id 然后用 # 导入 MySQL 数据库的 dbname.tbl_p...
... fp_goods_attr as ga on g.goods_id = ga.goods_id where g.is_on_sale = 1" --project=fp 开始重建索引 ... 初始化数据源 ... mysql://root:@localhost/shop 开始批量导入数据 (请直接输入数据) ... 完成索引导入:成功 16 条,失败 0 条 完成重建索引 ... [root@...
project.name = demo2 project.default_charset = utf8 server.index = 8383 server.search = 8384 [pid] type = id [subject] index = both tokenizer =xlen(2) 二元分词只能对英文生效,对中文不生效 同时急于需要一元分词,主要是做黑词筛选用,因为有...
...候是可以到到康师傅的记录。 我的配置如下: [php] project.name = goods project.default_charset = utf-8 server.index = 8383 server.search = 8384 ; 商品ID 与配送范围 配送范围以特殊格式放到标题后面 [goods_id] type = id ; 商品名称 [goods_nam...
..._ids:108 a'); ---------------------------------------------------------- project.name = demo project.default_charset = utf-8 server.index = 8383 server.search = 8384 [goods_id] type = id [cat_ids] index = both [goods_name] type = title index = both [goods_desc] type = body ph...