![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SimpleSearch
农夫ben
BEN,网名“农夫”,主要从事于互联网后台开发工作,把用户使用习惯和盈收最大化作为主要开发原则,专注于后端服务性能优化、分布式系统、大数据。
展开
-
SimpleSearch php接口说明
官方链接:http://code.google.com/p/simplesearch-sps/类:sps方法:set_charset($charset) 设置编码create_doc($doc_id) 添加一条记录的唯一索引值query($key, $query_obj, $start_num = 0, $return_num = 20)检索set_field($name,原创 2012-12-11 18:22:38 · 1080 阅读 · 1 评论 -
SimpleSearch创建检索库
<?php/** * 创建搜索数据库 */ require_once 'sps.php'; $sps = new sps('192.168.0.211', '6162', 'test'); //链接搜索服务器 if ($sps == false){ echo $sps->errstr();原创 2012-12-11 18:25:54 · 754 阅读 · 0 评论 -
SimpleSearch添加数据
<?php/** * 增加索引数据 */ require_once 'sps.php'; $sps = new sps('192.168.0.211', '6162', 'test'); //链接搜索服务器 if ($sps == false){ echo $sps->errstr();原创 2012-12-11 18:25:19 · 669 阅读 · 0 评论 -
SimpleSearch安装说明
官方链接:http://code.google.com/p/simplesearch-sps/wget http://www.500ju.com/simplesearch/simplesearch-1.0.tar.gztar -zxvf simplesearch-1.0.tar.gzcd simplesearch-1.0./configure --prefix=原创 2012-12-11 18:21:30 · 841 阅读 · 1 评论 -
SimpleSearch检索
<?php/** * 搜索 */ require_once 'sps.php'; $sps = new sps('192.168.0.211', '6162', 'test'); //链接搜索服务器 if ($sps == false){ echo $sps->errstr();原创 2012-12-11 18:26:26 · 884 阅读 · 0 评论