Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected ClickLogBhv |
clickLogBhv |
protected org.codelibs.fess.crawler.service.DataService<org.codelibs.fess.crawler.entity.EsAccessResult> |
dataService |
protected long |
documentSize |
protected long |
executeTime |
protected FavoriteLogBhv |
favoriteLogBhv |
protected FessEsClient |
fessEsClient |
protected boolean |
finishCrawling |
protected List<String> |
finishedSessionIdList |
protected IndexingHelper |
indexingHelper |
protected int |
maxErrorCount |
protected int |
maxIndexerErrorCount |
protected List<String> |
sessionIdList |
protected SystemHelper |
systemHelper |
protected org.codelibs.fess.crawler.service.UrlFilterService |
urlFilterService |
protected org.codelibs.fess.crawler.service.UrlQueueService<org.codelibs.fess.crawler.entity.EsUrlQueue> |
urlQueueService |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
IndexUpdater() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBoostValue(Map<String,Object> map,
float documentBoost) |
protected void |
addClickCountField(Map<String,Object> doc) |
void |
addDocBoostMatcher(DocBoostMatcher rule) |
protected void |
addFavoriteCountField(Map<String,Object> map) |
void |
addFinishedSessionId(String sessionId) |
void |
destroy() |
long |
getDocumentSize() |
long |
getExecuteTime() |
List<String> |
getSessionIdList() |
void |
run() |
void |
setCrawlerList(List<org.codelibs.fess.crawler.Crawler> crawlerList) |
static void |
setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh) |
void |
setFinishCrawling(boolean finishCrawling) |
void |
setMaxIndexerErrorCount(int maxIndexerErrorCount) |
void |
setSessionIdList(List<String> sessionIdList) |
void |
setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh) |
protected void |
updateDocument(Map<String,Object> map) |
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yieldprotected FessEsClient fessEsClient
protected org.codelibs.fess.crawler.service.DataService<org.codelibs.fess.crawler.entity.EsAccessResult> dataService
protected org.codelibs.fess.crawler.service.UrlQueueService<org.codelibs.fess.crawler.entity.EsUrlQueue> urlQueueService
protected org.codelibs.fess.crawler.service.UrlFilterService urlFilterService
protected ClickLogBhv clickLogBhv
protected FavoriteLogBhv favoriteLogBhv
protected SystemHelper systemHelper
protected IndexingHelper indexingHelper
protected boolean finishCrawling
protected long executeTime
protected long documentSize
protected int maxIndexerErrorCount
protected int maxErrorCount
@PreDestroy public void destroy()
public void addFinishedSessionId(String sessionId)
public long getExecuteTime()
public void setFinishCrawling(boolean finishCrawling)
public long getDocumentSize()
public void setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)
setUncaughtExceptionHandler in class Threadpublic static void setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)
public void setMaxIndexerErrorCount(int maxIndexerErrorCount)
public void addDocBoostMatcher(DocBoostMatcher rule)
public void setCrawlerList(List<org.codelibs.fess.crawler.Crawler> crawlerList)
Copyright © 2009–2017 CodeLibs. All rights reserved.