... [php] project.name = goods project.default_charset = utf-8 server.index = 8383 server.search = 8384 ; 商品ID 与配送范围 配送范围以特殊格式放到标题后面 [goods_id] type = id ; 商品名称 [goods_name] type = title index = both ; 商品分类 [cat_id] typ...
...me = pub project.default_charset = utf-8 ;服务端用默认值 ;server.index = 8383 ;server.search = 8384 [did] type = id [title] type = title [tag] index = self [summary] index = both [content] type = body [/php] 这个是用命令行随便搜的几个,都是0.5+秒...
...: [id] type = id [title] type = title [tags] type = string index = both tokenizer = split([/[\s,\/]+/]) 搜索语句的写法为: $search->setLimit(10); //设置返回结果最多为 5 条,并跳过前 10 条 $docs = $search->search("tags:公务员考试 AND tags:论文 ...