Class DocumentHelper

java.lang.Object
org.codelibs.fess.helper.DocumentHelper

public class DocumentHelper extends Object
  • Field Details

  • Constructor Details

    • DocumentHelper

      public DocumentHelper()
  • Method Details

    • init

      @PostConstruct public void init()
    • getTitle

      public String getTitle(org.codelibs.fess.crawler.entity.ResponseData responseData, String title, Map<String,Object> dataMap)
    • getContent

      public String getContent(CrawlingConfig crawlingConfig, org.codelibs.fess.crawler.entity.ResponseData responseData, String content, Map<String,Object> dataMap)
    • getMaxAlphanumTermSize

      protected int getMaxAlphanumTermSize()
    • getMaxSymbolTermSize

      protected int getMaxSymbolTermSize()
    • isDuplicateTermRemoved

      protected boolean isDuplicateTermRemoved()
    • getSpaceChars

      protected int[] getSpaceChars()
    • getDigest

      public String getDigest(org.codelibs.fess.crawler.entity.ResponseData responseData, String content, Map<String,Object> dataMap, int maxWidth)
    • processRequest

      public Map<String,Object> processRequest(CrawlingConfig crawlingConfig, String crawlingInfoId, String url)
    • decodeSimilarDocHash

      public String decodeSimilarDocHash(String hash)
    • encodeSimilarDocHash

      public String encodeSimilarDocHash(String hash)
    • appendLineNumber

      public String appendLineNumber(String prefix, String content)