Package org.codelibs.fess.exec
Class Crawler
- java.lang.Object
-
- org.codelibs.fess.exec.Crawler
-
public class Crawler extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCrawler.Options
-
Field Summary
Fields Modifier and Type Field Description protected CrawlingInfoServicecrawlingInfoServiceprotected DataIndexHelperdataIndexHelperprotected FessEsClientfessEsClientprotected PathMappingServicepathMappingServiceprotected WebFsIndexHelperwebFsIndexHelper
-
Constructor Summary
Constructors Constructor Description Crawler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddError(java.lang.String msg)intdoCrawl(Crawler.Options options)static voidmain(java.lang.String[] args)protected voidsendMail(java.util.Map<java.lang.String,java.lang.String> infoMap)protected voidwriteTimeToSessionInfo(CrawlingInfoHelper crawlingInfoHelper, java.lang.String key)
-
-
-
Field Detail
-
fessEsClient
protected FessEsClient fessEsClient
-
webFsIndexHelper
protected WebFsIndexHelper webFsIndexHelper
-
dataIndexHelper
protected DataIndexHelper dataIndexHelper
-
pathMappingService
protected PathMappingService pathMappingService
-
crawlingInfoService
protected CrawlingInfoService crawlingInfoService
-
-
Method Detail
-
addError
public static void addError(java.lang.String msg)
-
main
public static void main(java.lang.String[] args)
-
sendMail
protected void sendMail(java.util.Map<java.lang.String,java.lang.String> infoMap)
-
doCrawl
public int doCrawl(Crawler.Options options)
-
writeTimeToSessionInfo
protected void writeTimeToSessionInfo(CrawlingInfoHelper crawlingInfoHelper, java.lang.String key)
-
-