public class IMBoxAllCrawlingJob
extends jp.co.intra_mart.foundation.job_scheduler.BaseJob
修飾子とタイプ | フィールドと説明 |
---|---|
protected static String |
DEFAULT_GROUP_NAME
プロパティ[検索サーバグループ名]のキー値です。
|
protected static int |
DEFAULT_MAX_SEGMENTS
プロパティ[最大セグメント数]の初期値です。
|
protected static int |
DEFAULT_QUERY_RANGE_COUNT
一度にCassandraから取得するrowの最大値の初期値です。
|
protected static boolean |
DEFAULT_WITH_COMMIT
プロパティ[コミット実施フラグ]の初期値です。
|
protected static boolean |
DEFAULT_WITH_OPTIMIZE
プロパティ[最適化実施フラグ]の初期値です。
|
protected static Set<String> |
EXCLUDE_POST_TYPE_CD
インデックス作成除外対象の投稿種別コードのセット
|
protected String |
groupName
検索サーバグループID
|
protected static String |
KEY_GROUP_NAME
プロパティ[検索サーバグループ名]のキー値です。
|
protected static String |
KEY_MAX_SEGMENTS
プロパティ[最大セグメント数]のキー値です。
|
protected static String |
KEY_QUERY_RANGE_COUNT
プロパティ[Cassandraからデータ取得を行う際の1度あたりのアクセスのデータ取得件数]のキー値です。
|
protected static String |
KEY_WITH_COMMIT
プロパティ[コミット実施フラグ]のキー値です。
|
protected static String |
KEY_WITH_OPTIMIZE
プロパティ[最適化実施フラグ]のキー値です。
|
コンストラクタと説明 |
---|
IMBoxAllCrawlingJob() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
commit(jp.co.intra_mart.foundation.contentssearch.service.UpdateService updateService)
コンテンツの削除・更新を確定します。
|
protected void |
delete(jp.co.intra_mart.foundation.contentssearch.service.UpdateService updateService)
登録済みコンテンツの削除処理を行います。
|
jp.co.intra_mart.foundation.job_scheduler.JobResult |
execute()
IMBoxの全コンテンツのクローリング処理を実行します。
|
protected String |
getGroupName()
ジョブパラメータから検索サーバグループ名を取得します。
|
protected jp.co.intra_mart.foundation.contentssearch.service.UpdateService |
getUpdateService()
更新サービスを取得します。
|
protected void |
initialize()
クローラの初期化処理を行います。
|
protected void |
optimize(jp.co.intra_mart.foundation.contentssearch.service.UpdateService updateService)
登録済みコンテンツの最適化処理を行います。
|
protected static final String KEY_WITH_COMMIT
protected static final String KEY_WITH_OPTIMIZE
protected static final String KEY_MAX_SEGMENTS
protected static final String KEY_QUERY_RANGE_COUNT
protected static final boolean DEFAULT_WITH_COMMIT
protected static final boolean DEFAULT_WITH_OPTIMIZE
protected static final String DEFAULT_GROUP_NAME
protected static final int DEFAULT_MAX_SEGMENTS
protected static final int DEFAULT_QUERY_RANGE_COUNT
protected static final Set<String> EXCLUDE_POST_TYPE_CD
protected String groupName
public jp.co.intra_mart.foundation.job_scheduler.JobResult execute() throws jp.co.intra_mart.foundation.job_scheduler.exception.JobExecuteException
execute
インタフェース内 jp.co.intra_mart.foundation.job_scheduler.Job
execute
クラス内 jp.co.intra_mart.foundation.job_scheduler.BaseJob
jp.co.intra_mart.foundation.job_scheduler.exception.JobExecuteException
BaseJob.execute()
protected void commit(jp.co.intra_mart.foundation.contentssearch.service.UpdateService updateService) throws jp.co.intra_mart.foundation.contentssearch.exception.ContentsSearchExecutionException
updateService
- 更新サービスjp.co.intra_mart.foundation.contentssearch.exception.ContentsSearchExecutionException
- コミットに失敗した場合protected void delete(jp.co.intra_mart.foundation.contentssearch.service.UpdateService updateService) throws jp.co.intra_mart.foundation.job_scheduler.exception.JobExecuteException
updateService
- 更新サービスjp.co.intra_mart.foundation.job_scheduler.exception.JobExecuteException
- コンテンツ削除処理に失敗した場合protected String getGroupName()
protected jp.co.intra_mart.foundation.contentssearch.service.UpdateService getUpdateService() throws jp.co.intra_mart.foundation.job_scheduler.exception.JobExecuteException
jp.co.intra_mart.foundation.job_scheduler.exception.JobExecuteException
- 更新サービスの初期化に失敗した場合protected void initialize()
protected void optimize(jp.co.intra_mart.foundation.contentssearch.service.UpdateService updateService) throws jp.co.intra_mart.foundation.contentssearch.exception.ContentsSearchExecutionException
updateService
- 更新サービスjp.co.intra_mart.foundation.contentssearch.exception.ContentsSearchExecutionException
- 最適化に失敗した場合Copyright © 2012 NTT DATA INTRAMART CORPORATION