Package org.codelibs.fess.helper
Class DocumentHelper
java.lang.Object
org.codelibs.fess.helper.DocumentHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendLineNumber(String prefix, String content) decodeSimilarDocHash(String hash) encodeSimilarDocHash(String hash) getContent(CrawlingConfig crawlingConfig, org.codelibs.fess.crawler.entity.ResponseData responseData, String content, Map<String, Object> dataMap) getDigest(org.codelibs.fess.crawler.entity.ResponseData responseData, String content, Map<String, Object> dataMap, int maxWidth) protected intprotected intprotected int[]getTitle(org.codelibs.fess.crawler.entity.ResponseData responseData, String title, Map<String, Object> dataMap) voidinit()protected booleanprocessRequest(CrawlingConfig crawlingConfig, String crawlingInfoId, String url)
-
Field Details
-
SIMILAR_DOC_HASH_PREFIX
- See Also:
-
-
Constructor Details
-
DocumentHelper
public DocumentHelper()
-
-
Method Details
-
init
@PostConstruct public void init() -
getTitle
-
getContent
-
getMaxAlphanumTermSize
protected int getMaxAlphanumTermSize() -
getMaxSymbolTermSize
protected int getMaxSymbolTermSize() -
isDuplicateTermRemoved
protected boolean isDuplicateTermRemoved() -
getSpaceChars
protected int[] getSpaceChars() -
getDigest
-
processRequest
-
decodeSimilarDocHash
-
encodeSimilarDocHash
-
appendLineNumber
-