![](https://img-blog.csdnimg.cn/20190927151124774.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
搜索服务器
搜索服务器
球球罐罐
我若精彩,天自安排
展开
-
使用Solr索引MySQL数据
环境搭建 1、到apache下载solr,地址:http://mirrors.hust.edu.cn/apache/lucene/solr/ 2、解压到某个目录 3、cd into D:\Solr\solr-4.10.3\example 4、Execute the server by “java -jar startup.jar”Solr会自动运行在自带的Jetty上原创 2017-04-26 22:48:21 · 382 阅读 · 0 评论 -
索引数据删除
删除solr索引数据,使用XML有两种写法: 1) delete>id>1id>delete> commit/> 2) delete>query>id:1query>delete> commit/> 删除所有索引,这样写就可以了: delete>query>*:*query>delete> commit/> 注意:原创 2017-09-15 10:41:43 · 452 阅读 · 0 评论