Class DocumentHelper


  • public class DocumentHelper
    extends Object
    • Constructor Detail

      • DocumentHelper

        public DocumentHelper()
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • getTitle

        public String getTitle​(org.codelibs.fess.crawler.entity.ResponseData responseData,
                               String title,
                               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)
      • decodeSimilarDocHash

        public String decodeSimilarDocHash​(String hash)
      • encodeSimilarDocHash

        public String encodeSimilarDocHash​(String hash)