...目名.ini project.name = 项目名 project.default_charset = UTF-8 server.index = 192.168.0.250:8383 server.search = 192.168.0.250:8384 [tid] type = id [fid] index = self tokenizer = full [author] [authorid] index = self tokenizer = full [postdate] tokenizer = full [subject] type = title [co...
...skey."type:1")->search(); print_r($docs); 已经 [type] type = string index = self 了 但是搜索不到什么 改成 $docs = $search->setQuery($skey)->search(); 就可以 type这个我读出来是 "0" 和"1" 没错[hr] $docs = $search->setQuery($skey.' AND type:1')->search(); 这...
... - util/Quest.php 命令行运行,搜索测试工具 - util/Indexer.php 命令行运行,索引管理工具 - util/SearchSkel.php 命令行运行,根据配置文件生成搜索骨架代码 - util/xs 命令行工具统一入口 在开始编写您的...
...制使用 project.name = myblog project.default_charset = utf-8 server.index = 8383 server.search = 8384 [ID] // 文章ID type = id phrase = yes [author] //作者 index = self [post_content] //内容 type = body [post_content_full] //全部内容 cutlen = 300 //显示300个...
...) { if ($field->type === XSFieldMeta::TYPE_STRING && !$field->isBoolIndex()) { return $field; } } return false;} 获取标题字段元数据 getIterator() 方法 public void getIterator() 源码: sdk/php/lib/XSFieldScheme.class.php#L189 (显示) publ...