- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for getComponent (0.09 sec)
-
src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java
protected void deleteCrawlData(final String sid) { final EsUrlFilterService urlFilterService = ComponentUtil.getComponent(EsUrlFilterService.class); final EsUrlQueueService urlQueueService = ComponentUtil.getComponent(EsUrlQueueService.class); final EsDataService dataService = ComponentUtil.getComponent(EsDataService.class); try { // clear url filter urlFilterService.delete(sid);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 22.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
this.cacheFileSize = cacheFileSize; return this; } public ExtractData extract() { final ExtractorFactory extractorFactory = crawlerContainer.getComponent("extractorFactory"); DeferredFileOutputStream dfos = null; try (DeferredFileOutputStream out = new DeferredFileOutputStream(cacheFileSize, "fess-extractor-", ".out", null)) { dfos = out;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
} } public Suggester suggester() { return suggester; } public void storeSearchLog() { final SearchLogBhv searchLogBhv = ComponentUtil.getComponent(SearchLogBhv.class); searchLogBhv.selectBulk(cb -> { final String from = LocalDateTime.now().minusDays(fessConfig.getPurgeSuggestSearchLogDay()).format(DateTimeFormatter.ISO_DATE);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
} finally { deleteTempFile(tempFile); } } private void importGsaXml(final String fileName, final File tempFile) { final GsaConfigParser configParser = ComponentUtil.getComponent(GsaConfigParser.class); try (final InputStream in = new FileInputStream(tempFile)) { configParser.parse(new InputSource(in)); } catch (final IOException e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 28.5K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
file.delete(); file.mkdirs(); file.deleteOnExit(); fileTransformer.setPath(file.getAbsolutePath()); final Crawler crawler1 = getComponent(Crawler.class); crawler1.setBackground(true); ((UrlFilterImpl) crawler1.urlFilter).setIncludeFilteringPattern("$1$2$3.*"); crawler1.addUrl(url1);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 7.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java
private boolean available = true; public StandardCrawlerContainer() { initialize(); } @Override public <T> T getComponent(final String name) { if ("crawlerContainer".equals(name)) { return (T) this; } final ComponentDef<?> componentDef = prototypeMap.get(name); if (componentDef != null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 7.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
} final Object redirectUrlObj = responseData.getMetaDataMap().get(LOCATION_HEADER); if (redirectUrlObj instanceof String) { final UrlConvertHelper urlConvertHelper = crawlerContainer.getComponent("urlConvertHelper"); resultData.addUrl(RequestDataBuilder.newRequestData().get().url(urlConvertHelper.convert(redirectUrlObj.toString())).build()); } return resultData; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Oct 24 12:16:00 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java
} final CrawlerClientFactory factory = creator.get(); final WebAuthenticationService webAuthenticationService = ComponentUtil.getComponent(WebAuthenticationService.class); final RequestHeaderService requestHeaderService = ComponentUtil.getComponent(RequestHeaderService.class); final FessConfig fessConfig = ComponentUtil.getFessConfig(); // HttpClient Parameters
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
taskList.clear(); if (logger.isDebugEnabled()) { logger.debug("Storing {} thumbnail tasks.", list.size()); } final ThumbnailQueueBhv thumbnailQueueBhv = ComponentUtil.getComponent(ThumbnailQueueBhv.class); thumbnailQueueBhv.batchInsert(list); } public int generate(final ExecutorService executorService, final boolean cleanup) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 21.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
&& urlSet.add(d.getUrl() + "\n" + d.getMetaData()) && crawlerContext.urlFilter.match(d.getUrl())).map(d -> { final UrlQueue<?> uq = crawlerContainer.getComponent("urlQueue"); uq.setCreateTime(SystemUtil.currentTimeMillis()); uq.setDepth(depth); uq.setMethod(Constants.GET_METHOD); uq.setParentUrl(url);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 15.5K bytes - Viewed (0)