...index = both [goods_sn] index = both tokenizer = full 2. 导入相关数据 require_once '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('goods'); $data = array( 'goods_id' => 112, 'goods_name' => 'hello my goodsname', 'goods_sn' => 'RX8899-114' ); $doc ...
...,包含四个字段:pid,subject,message,chrono 。 填充索引数据 ----------- 出于测试方便,我们采用 `csv` 格式来写入索引数据,请先按以下方式操: ~~~ cd $prefix/sdk/php util/Indexer.php --source=csv --clean demo ~~~ 然后脚本会给出如下提示...