Package org.codelibs.fess.job
Class PurgeDocJob
java.lang.Object
org.codelibs.fess.job.PurgeDocJob
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
PurgeDocJob
public PurgeDocJob()Default constructor for PurgeDocJob. Creates a new instance of the document purging job with default settings.
-
-
Method Details
-
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
-