- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for getComponent (0.06 sec)
-
CrawlingConfigHelper.java
{ L110: case WEB -> { L111: final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class); L112: yield webConfigService.getWebConfig(id).get(); L113: } L114: case FILE -> { L115: final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class); L116: yield fileConfigService.getFileConfig(id).get(); L117: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 11.7K bytes -
ComponentUtil.java
public static ViewHelper getViewHelper() { L267: return getComponent(VIEW_HELPER); L268: } L269: L270: public static SambaHelper getSambaHelper() { L271: return getComponent(SAMBA_HELPER); L272: } L273: L274: public static QueryHelper getQueryHelper() { L275: return getComponent(QUERY_HELPER); L276: } L277: L278: public static QueryFieldConfig getQueryFieldConfig() { L279: return getComponent(QUERY_FIELD_CONFIG); L280: } L281: L282: public static...github.com/codelibs/fess/src/main/java/org/code...Mon Jun 17 13:35:51 UTC 2024 20.2K bytes -
WebFsIndexHelper.java
} L480: L481: protected void deleteCrawlData(final String sid) { L482: final EsUrlFilterService urlFilterService = ComponentUtil.getComponent(EsUrlFilterService.class); L483: final EsUrlQueueService urlQueueService = ComponentUtil.getComponent(EsUrlQueueService.class); L484: final EsDataService dataService = ComponentUtil.getComponent(EsDataService.class); L485: L486: try { L487: // clear url filter L488: urlFilterService.delete(sid); L489: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 22.6K bytes -
SuggestHelper.java
initialize Suggester.", e); L128: } L129: } L130: L131: public Suggester suggester() { L132: return suggester; L133: } L134: L135: public void storeSearchLog() { L136: final SearchLogBhv searchLogBhv = ComponentUtil.getComponent(SearchLogBhv.class); L137: L138: searchLogBhv.selectBulk(cb -> { L139: final String from = LocalDateTime.now().minusDays(fessConfig.getPurgeSuggestSearchLogDay()).format(DateTimeFormatter.ISO_DATE); L140: cb.query(...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 18.1K bytes -
AdminBackupAction.java
L245: } finally { L246: deleteTempFile(tempFile); L247: } L248: } L249: L250: private void importGsaXml(final String fileName, final File tempFile) { L251: final GsaConfigParser configParser = ComponentUtil.getComponent(GsaConfigParser.class); L252: try (final InputStream in = new FileInputStream(tempFile)) { L253: configParser.parse(new InputSource(in)); L254: } catch (final IOException e) { L255: logger.warn("Failed to process...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 28.5K bytes -
SearchLogHelper.java
public int getClickCount(final String url) { L220: final ClickLogBhv clickLogBhv = ComponentUtil.getComponent(ClickLogBhv.class); L221: return clickLogBhv.selectCount(cb -> { L222: cb.query().setUrl_Equal(url); L223: }); L224: } L225: L226: public long getFavoriteCount(final String url) { L227: final FavoriteLogBhv favoriteLogBhv = ComponentUtil.getComponent(FavoriteLogBhv.class); L228: return favoriteLogBhv.selectCount(cb -> { L229: cb.q...github.com/codelibs/fess/src/main/java/org/code...Mon Jul 22 02:07:37 UTC 2024 21.7K bytes -
DataIndexHelper.java
Count(); L84: L85: final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); L86: final long startTime = systemHelper.getCurrentTimeAsLong(); L87: L88: final IndexUpdateCallback indexUpdateCallback = ComponentUtil.getComponent(IndexUpdateCallback.class); L89: L90: final List<String> sessionIdList = new ArrayList<>(); L91: dataCrawlingThreadList.clear(); L92: final List<String> dataCrawlingThreadStatusList = new ArrayList<>(); L93: for (final...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 12K bytes -
WebConfig.java
crawlerClientFactory; L153: } L154: final CrawlerClientFactory factory = creator.get(); L155: L156: final WebAuthenticationService webAuthenticationService = ComponentUtil.getComponent(WebAuthenticationService.class); L157: final RequestHeaderService requestHeaderService = ComponentUtil.getComponent(RequestHeaderService.class); L158: final FessConfig fessConfig = ComponentUtil.getFessConfig(); L159: L160: // HttpClient Parameters L161: final Map<String, Object>...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 9.8K bytes -
DocumentHelper.java
public void init() { L73: if (logger.isDebugEnabled()) { L74: logger.debug("Initialize {}", this.getClass().getSimpleName()); L75: } L76: try { L77: final TikaExtractor tikaExtractor = ComponentUtil.getComponent("tikaExtractor"); L78: if (tikaExtractor != null) { L79: tikaExtractor.setMaxAlphanumTermSize(getMaxAlphanumTermSize()); L80: tikaExtractor.setMaxSymbolTermSize(getMaxSymbolTermSize()); L81: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 12K bytes -
CrawlingInfoHelper.java
L54: L55: protected Map<String, String> infoMap; L56: L57: protected Long documentExpires; L58: L59: protected int maxSessionIdsInList; L60: L61: protected CrawlingInfoService getCrawlingInfoService() { L62: return ComponentUtil.getComponent(CrawlingInfoService.class); L63: } L64: L65: public String getCanonicalSessionId(final String sessionId) { L66: final int idx = sessionId.indexOf('-'); L67: if (idx >= 0) { L68: return sessionId.substring(0, idx);...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 10.6K bytes