Class FessResponseProcessor
java.lang.Object
org.codelibs.fess.crawler.processor.impl.DefaultResponseProcessor
org.codelibs.fess.crawler.processor.FessResponseProcessor
- All Implemented Interfaces:
org.codelibs.fess.crawler.processor.ResponseProcessor
public class FessResponseProcessor
extends org.codelibs.fess.crawler.processor.impl.DefaultResponseProcessor
Response processor implementation for the Fess search engine.
This processor extends DefaultResponseProcessor to provide additional
processing capabilities through the ingest framework, allowing for
custom data transformation and enrichment during the crawling process.
It supports pluggable ingesters that can modify the result data before it is stored in the search index.
-
Field Summary
Fields inherited from class org.codelibs.fess.crawler.processor.impl.DefaultResponseProcessor
crawlerContainer, notModifiedHttpCodes, successfulHttpCodes, transformer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.codelibs.fess.crawler.entity.AccessResult<?> createAccessResult(org.codelibs.fess.crawler.entity.ResponseData responseData, org.codelibs.fess.crawler.entity.ResultData resultData) Creates an access result after processing the response data through ingesters.voidinit()Initializes the processor after dependency injection.Methods inherited from class org.codelibs.fess.crawler.processor.impl.DefaultResponseProcessor
checkAccessCount, getNotModifiedHttpCodes, getSuccessfulHttpCodes, getTransformer, isNotModified, isSuccessful, process, processResult, setNotModifiedHttpCodes, setSuccessfulHttpCodes, setTransformer, storeChildUrls
-
Constructor Details
-
FessResponseProcessor
public FessResponseProcessor()Default constructor.
-
-
Method Details
-
init
@PostConstruct public void init()Initializes the processor after dependency injection. Sets up the ingest factory if available in the component system. -
createAccessResult
protected org.codelibs.fess.crawler.entity.AccessResult<?> createAccessResult(org.codelibs.fess.crawler.entity.ResponseData responseData, org.codelibs.fess.crawler.entity.ResultData resultData) Creates an access result after processing the response data through ingesters.- Overrides:
createAccessResultin classorg.codelibs.fess.crawler.processor.impl.DefaultResponseProcessor- Parameters:
responseData- the response data from the crawled resourceresultData- the result data to be processed- Returns:
- the access result containing the processed data
-