...project=xxx –-source=mysql://xxx:xxx@localhost/xxx --sql="select ID,post_title,post_content,UNIX_TIMESTAMP(post_date) as post_time from wp_posts where (post_status='publish' or post_status='pending') and post_type='post'" Indexer - 索引批量管理、导入工具 (xunsearch/1.3.3) 用法 ...
...题后面 [goods_id] type = id ; 商品名称 [goods_name] type = title index = both ; 商品分类 [cat_id] type = string index = mixed tokenizer = default ; 销售数量 [sales_amount] type = numeric index = self ; 价格 [price] type = numeric ; 上架时间 [uptime...
... ) )[hr] //ini配置 [gid] type = id [name] type = title tokenizer = GameName [ranking] index=self[hr] 问题是:加了权重提升 还是排在后面[hr] [ranking] index=self tokenizer = full 重建索引后 搜索结果还是一样
...dex = self tokenizer = full [postdate] tokenizer = full [subject] type = title [content] type = body #导入 php util/Indexer.php --rebuild --source=mysql://数据库用户名:数据库密码@数据库地址/数据库名 --sql="select t.tid as tid, t.fid as fid, t.author as author, t.authorid as...
...利用这些位置信息实现精确搜索。 > info: 项目中类型为 `title`、`body` 的字段默认已开启此项,此外这个选项也仅针对使用内置分词器的字段有效。 > 对于 `phrase` 设为 `no` 或用其它分词器的字段来说这项功能无效。 #### 使用双引...
... XS fieldId XSFieldMeta 获取当前主键字段 XS fieldTitle XSFieldMeta 获取当前标题字段 XS index XSIndex 获取索引操作对象 XS name string 获取当前项目名称 XS scheme XSFieldScheme 获取当前在用的字段方案 XS s...