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
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      createAccessResult in class org.codelibs.fess.crawler.processor.impl.DefaultResponseProcessor
      Parameters:
      responseData - the response data from the crawled resource
      resultData - the result data to be processed
      Returns:
      the access result containing the processed data