修飾子とタイプ | フィールドと説明 |
---|---|
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(UpdateService updateService)
コンテンツの削除・更新を確定します。
|
protected void |
delete(UpdateService updateService)
登録済みコンテンツの削除処理を行います。
|
JobResult |
execute()
IMBoxの全コンテンツのクローリング処理を実行します。
|
protected String |
getGroupName()
ジョブパラメータから検索サーバグループ名を取得します。
|
protected UpdateService |
getUpdateService()
更新サービスを取得します。
|
protected void |
initialize()
クローラの初期化処理を行います。
|
protected void |
optimize(UpdateService updateService)
登録済みコンテンツの最適化処理を行います。
|
canParseToBoolean, getJobContext, getParameter, getParameter, getParameterAsBoolean, getParameterAsBoolean, getParameterAsInteger, getParameterAsInteger
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 JobResult execute() throws JobExecuteException
execute
インタフェース内 Job
execute
クラス内 BaseJob
JobExecuteException
- ジョブ実行中に例外がスローされた場合、 実行処理の結果がエラーとして扱います。メッセージにはスローされた例外のローカライズメッセージが使用されます。BaseJob.execute()
protected void commit(UpdateService updateService) throws ContentsSearchExecutionException
updateService
- 更新サービスContentsSearchExecutionException
- コミットに失敗した場合protected void delete(UpdateService updateService) throws JobExecuteException
updateService
- 更新サービスJobExecuteException
- コンテンツ削除処理に失敗した場合protected String getGroupName()
protected UpdateService getUpdateService() throws JobExecuteException
JobExecuteException
- 更新サービスの初期化に失敗した場合protected void initialize()
protected void optimize(UpdateService updateService) throws ContentsSearchExecutionException
updateService
- 更新サービスContentsSearchExecutionException
- 最適化に失敗した場合Copyright © 2012 NTT DATA INTRAMART CORPORATION