首页 > 其他 > 详细

Solr DataImportHandler

时间:2015-04-15 11:01:54      阅读:156      评论:0      收藏:0      [点我收藏+]

1.参数clean

技术分享

  • clean : (default ‘true‘). Tells whether to clean up the index before the indexing is started.

clean如果为false:则不会删除老索引中的数据,但是会更新数据(根据id进行判断)

例如:数据库中有数据1、2、3,索引中有数据2、3

如果clean=false,那么full import后,索引中仍有数据1。

如果clean=true,那么full import后,索引重无数据1。

 

Solr DataImportHandler

原文:http://www.cnblogs.com/huangfox/p/4427772.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!