[color=#FF0000]demo.ini[/color] ----------------------------- project.name = demo project.default_charset = utf-8 server.index = 8383 server.search = 8384 [pid] type = id [subject] type = title [message] type = body [chrono] type = numeric
....index = 8383 server.search = 8384 [pid] type = id [catid] type = numeric index = both tokenizer = full [subject] type = title [message] type = body [url] index = self tokenizer = full [chrono] type = numeric
...um_name] type = string index = both weight = 2 [gmt_create] type = numeric index = none [pass_date] type = string index = none
...d [subject] type = title [message] type = body [chrono] type = numeric 另外fsockopen() 报 fsockopen(): unable to connect to localhost:8384 (Permission denied)(2)
...bum_name] type = string index = both weight = 2 [gmt_create] type = numeric index = none [pass_date] type = string index = none
[quote='bigxu' pid='8130' dateline='1401925104'] 请展示一下ini文件 [/quote] project.name = nms project.default_charset = utf-8 [oid] type = id phrase = yes [classid] index = self [content] type = body cutlen = 100 [sendtime] type = numeric
...ndex() 判断当前字段的索引是否为布尔型 XSFieldMeta isNumeric() 判断当前字段是否为数字型 XSFieldMeta isSpeical() 判断当前字段是否为特殊类型 XSFieldMeta toConfig() 将对象转换为配置文件字符串 XSFieldMeta val() 把给...
...id [title] type = string [content] type = string [date] type = numeric 服务器和sdk分开部署 添加文档代码 但是我运行
...ub_edition] type = title [sub_text] type = body [sub_date] type = numeric 于是使用php进行测试,代码如下 没有显示任何结果 data目录下也没有任何文件 求解
isNumeric() 方法 public bool isNumeric() {return} bool 是返回 true, 不是返回 false 源码: sdk/php/lib/XSFieldScheme.class.php#L357 (显示) public function isNumeric(){ return ($this->type == self::TYPE_NUMERIC);} 判断当前字段是否为数字型