...ex = /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 = no [title];图片属于哪个图集的题标 非唯一 但每个图集题标都是唯一 type = title;...
[quote='czhlxd' pid='4544' dateline='1377085362'] [quote='boxshadow' pid='4543' dateline='1377085275'] [quote='hightman' pid='4539' dateline='1377057605'] 没数据吧 [/quote] 大大,请教一个问题 我在php中如何引用XS.php这个文件呢? require的话会提示报错 我是...
[quote='hightman' pid='7299' dateline='1397182457'] ini配置不对吧,你放心的用 $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 =...
[quote='boxshadow' pid='4562' dateline='1377162839'] [quote='czhlxd' pid='4544' dateline='1377085362'] [quote='boxshadow' pid='4543' dateline='1377085275'] [quote='hightman' pid='4539' dateline='1377057605'] 没数据吧 [/quote] 大大,请教一个问题 我在php中如何引用XS.php这...
... | +----------+-------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | name | varchar(20) | NO | | | | | phonenum | varchar(40) | YES | | NULL | | +----------+--------...
...构对象 XSFieldMeta 每个方案必须并且只能包含一个类型为 ID 的字段, 支持 foreach 遍历所有字段 Public 方法 隐去继承来的方法 名称描述定义于 __toString() 将对象转换为配置文件字符串 XSFieldScheme addField() 添...
[quote='czhlxd' pid='4564' dateline='1377175842'] [quote='boxshadow' pid='4562' dateline='1377162839'] [quote='czhlxd' pid='4544' dateline='1377085362'] [quote='boxshadow' pid='4543' dateline='1377085275'] [quote='hightman' pid='4539' dateline='1377057605'] 没数据吧 [/quote] 大大,...
.../xunsearch/sdk/php/lib/XS.php(1018): Missing value of primarky key (FIELD:_ID) thrown /var/www/xunsearch/sdk/php/lib/XS.php 1018 我的查询语句是:SELECT `ID` as _ID,`title` as _title,`Content` as _body,`QuestionTime` as _time,`UserNam` as _user,`tag` as _tag FROM wenti_nr Where `search`=...
unique id = table_name + id_in_table 将主键修改为 Table1_1 和 Table2_1 就好了呀 检索结果中提取 id 中 最后一个 _ 之前的部分就是 table 名了。
[quote='hightman' pid='329' dateline='1323313833'] 配置不对,只是区间搜索 index = none 就行了。 addRange()的用法本身没有错。但希望你能附全代码,实在不行可以在 $search->search()之前或之后打印 $search->query 的值看看实际检索条件 [/quote...