クラス EntityDataCrawler

java.lang.Object
org.iplass.mtp.tools.batch.MtpCuiBase
org.iplass.mtp.tools.batch.MtpSilentBatch
org.iplass.mtp.tools.batch.fulltextsearch.EntityDataCrawler

public class EntityDataCrawler extends MtpSilentBatch
EntityDataをクロールするバッチ。
  • コンストラクタの詳細

    • EntityDataCrawler

      public EntityDataCrawler(EntityDataCrawler.Mode mode, int tenantId, String entityName)
      コンストラクタ
      パラメータ:
      mode - 実行モード
      tenantId - 対象のテナントID
      entityName - Entity名
  • メソッドの詳細

    • main

      public static void main(String[] args) throws Exception

      引数について

      1. モード:CRAWL(Crawl)、RECRAWL(一度インデックスを削除後、Crawl)
      2. テナントID:対象テナントID(-1の場合、全テナントが対象になります)
      3. Entity名:対象Entity名(未指定の場合、すべてのEntityが対象になります)。CRAWLモードの場合指定可能。
      パラメータ:
      args -
      例外:
      Exception
    • execute

      public boolean execute() throws Exception
      例外:
      Exception
    • loggingLogger

      protected org.slf4j.Logger loggingLogger()
      定義:
      loggingLogger クラス内 MtpCuiBase