... 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 phrase = n...
[quote='hightman' pid='5345' dateline='1386914552'] unique id = table_name + id_in_table 将主键修改为 Table1_1 和 Table2_1 就好了呀 检索结果中提取 id 中 最后一个 _ 之前的部分就是 table 名了。 [/quote] 是不是可以理解为,在项目设置中,增加一...
1. 相关ini配置: [goods_id] type = id index = self [goods_name] type = title index = both [goods_sn] index = both tokenizer = full 2. 导入相关数据 require_once '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('goods'); $data = array( 'goods_id' => 112, ...
..., 如:xyz.ini 则项目名默认为 `xyz` 。 ~~~ project.name = AppName ~~~ 2. ### 默认字符集 这里的默认字符集范围涵盖服务端交互时的输入数据、输出数据,实际使用时索引文档、 检索服务器仍可重新指定字符集 ~~~ ...
... [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_post 表...
...用 $doc->from 取值吧,会自动转的 [/quote] ini文件: project.name = pin_115_gjh project.default_charset = UTF-8 [id] type = id [name] type = title [create_time] type = numeric [enterprise_id] type = numeric [image_url] [img_type] [category] index = mixed [source] [source_icon_u...
为配置文件 [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]...
...r the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc acc...
getName() 方法 public string getName() {return} string 当前项目名称 源码: sdk/php/lib/XS.class.php#L368 (显示) public function getName(){ return $this->_config['project.name'];} 获取当前项目名称
project 属性 public string getProject()public void setProject(string $name, string $home='') 获取当前项目名称