Solr AutoSoftCommit
2013-11-04 21:16
429 查看
什么是SoftCommit?
请戳Solr Guide:Near Real Time Searching(NRT) https://cwiki.apache.org/confluence/display/solr/Near+Real+Time+Searching 。里面讲了AutoCommit和AutoSoftCommit如何进行配置。配置建议:A common configuration is to do a hard autocommit every
1-10 minutes and a autosoftcommit every
second.
SoftCommit Tips:
1.Solr的softCommit是Write-ahead Logging的,所以不必担心softCommit的数据会丢失。Log数据就在$solrHome/collection/data/tlog/下。
2.solr关闭时会进行一次hard commit,所以不必担心关闭(或Kill process)时softCommit数据会丢失。当然kill -9除外~
3.测试发现autoSoftCommit的maxDocs配置是针对每个独立Core的。
当前solr版本:solr4.4
相关文章推荐
- 在Eclipse中运行Solr 基础知识
- Solr基础--设置solr/home的三种方式
- solr4.0安装和简单导入mysql数据
- Solr 4.0 基础教程
- lucene solr在tomcat中的配置
- nutch1.4 部署应用
- 部署solr建立nutch索引
- 30分钟搭建一个百万全文搜索
- 在Tomcat中部署solr
- Solr之what & why
- Solr之How之粉墨登场
- linux下resin+solr
- Solr1.4安装配置
- 搜索引擎Nutch1.4+solr1.4整合(成功)
- 全文搜索服务器solr之客户端 - solrj二次开发
- 3月8号
- 3月9日
- 关键词优化之自架搜索引擎篇
- solr导入数据
- 博客园中的日志进行一个转移