
搜索服务器
搜索服务器
球球罐罐
我若精彩,天自安排
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
使用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 · 429 阅读 · 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 · 492 阅读 · 0 评论