首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在solrImportScheduler中,为什么我们需要为增量导入定义reBuildIndexBeginTime?

在solrImportScheduler中,为什么我们需要为增量导入定义reBuildIndexBeginTime?
EN

Stack Overflow用户
提问于 2012-07-11 09:17:10
回答 1查看 424关注 0票数 0

在wiki页面http://code.google.com/p/solr-dataimport-scheduler/

代码语言:javascript
复制
params=/dataimport?command=delta-import&clean=false&commit=true
interval=1

这条线的目的是什么?

代码语言:javascript
复制
reBuildIndexBeginTime=03:10:00

如果我注释掉reBuildIndexBeginTime=03:10:00 ,那么索引就不会为delta 运行。什么是reBuildIndexBeginTime=03:10:00,为什么我们将它用于增量导入?

dataimport.properties文件在我的solr-多核安装中

代码语言:javascript
复制
#################################################
#                                               #
#       dataimport scheduler properties         #
#                                               #
#################################################

#  to sync or not to sync
#  1 - active; anything else - inactive
syncEnabled=1

#  which cores to schedule
#  in a multi-core environment you can decide which cores you want syncronized
#  leave empty or comment it out if using single-core deployment
syncCores=hkc-core

#  solr server name or IP address
#  [defaults to localhost if empty]
server=localhost

#  solr server port
#  [defaults to 80 if empty]
port=1666

#  application name/context
#  [defaults to current ServletContextListener's context (app) name]
webapp=solr-multicore

#  URL params [mandatory]
#  remainder of URL
params=/dataimport?command=delta-import&clean=false&commit=true

#  schedule interval
#  number of minutes between two runs
#  [defaults to 30 if empty]
interval=1

#reBuildIndexInterval=7200
#reBuildIndexParams=/dataimport?command=full-import&clean=true&commit=true
reBuildIndexBeginTime=00:00:00
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-07-14 19:23:42

好吧,正如我所承诺的,这里是。干净的数据导入处理程序计划程序编译源代码。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11429372

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档