Class PurgeDocJob

java.lang.Object
org.codelibs.fess.job.PurgeDocJob

public class PurgeDocJob extends Object
Job for purging expired documents from the search index. This job removes documents that have passed their expiration time based on the expires field. It helps maintain the search index by cleaning up outdated content automatically.
  • Constructor Details

    • PurgeDocJob

      public PurgeDocJob()
      Default constructor for PurgeDocJob. Creates a new instance of the document purging job with default settings.
  • Method Details

    • execute

      public String execute()
      Executes the document purging job. Removes all documents from the search index that have expired based on their expires field.
      Returns:
      a string containing the execution result and any error messages