...试试[hr] require_once '/mnt/search/sdk/php/lib/XS.php'; $xs = new XS('test'); $skey = $_GET["skey"]; $search = $xs->search; $docs = $search->setQuery($skey."type:1")->search(); print_r($docs); 已经 [type] type = string index = self 了 但是搜索不到什么 改成 $docs = $sear...
...h vs9, it's appear many desprecat warning, but the lib can be compiled and test-case run ok:)
...sleep 3 res=$(get_check_per $1) echo $try_times'testing .... ' fi done try_times=5 if [[ $res == "0" ]] then ps aux |grep -E "xs-[indexd|searched]" | awk '{print $2}' |grep -v $$ |xargs -i kill -9 {} $ctl_path start ...
...e/hightman/scws/phpext/modules' Build complete. Don't forget to run 'make test'. [root@zjx phpext]# make install Installing shared extensions: /usr/local/php51/lib/php/extensions/no-debug-non-zts-20060613/ [root@zjx phpext]#
...l->pid = 321; $model->subject = 'hello world'; $model->message = 'just for testing...'; $model->save(); // 更新索引 $model = Demo::findOne(321); $model->message .= ' + updated'; $model->save(); // 添加或更新索引还支持以方法添加索引词或文本 // 这样做的目的是使得...
...: Entering directory `/usr/local/xunsearch-full-1.0.1/xunsearch-1.0.1/src' test -z "xs-import xs-indexd xs-logging xs-searchd" || rm -f xs-import xs-indexd xs-logging xs-searchd rm -f user_mm.c rm -f *.o make[1]: Leaving directory `/usr/local/xunsearch-full-1.0.1/xunsearch-1.0.1/src' Making clean in...