Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for get_component (0.07 sec)

  1. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            return getComponent(VIEW_HELPER);
        }
    
        public static SambaHelper getSambaHelper() {
            return getComponent(SAMBA_HELPER);
        }
    
        public static QueryHelper getQueryHelper() {
            return getComponent(QUERY_HELPER);
        }
    
        public static QueryFieldConfig getQueryFieldConfig() {
            return getComponent(QUERY_FIELD_CONFIG);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            final ClickLogBhv clickLogBhv = ComponentUtil.getComponent(ClickLogBhv.class);
            return clickLogBhv.selectCount(cb -> {
                cb.query().setUrl_Equal(url);
            });
        }
    
        public long getFavoriteCount(final String url) {
            final FavoriteLogBhv favoriteLogBhv = ComponentUtil.getComponent(FavoriteLogBhv.class);
            return favoriteLogBhv.selectCount(cb -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java

                    .singleton("extractorFactory", ExtractorFactory.class);
            extractorFactory = container.getComponent("extractorFactory");
            TikaExtractor tikaExtractor = container.getComponent("tikaExtractor");
            LhaExtractor lhaExtractor = container.getComponent("lhaExtractor");
            PasswordBasedExtractor pdfExtractor = container.getComponent("pdfExtractor");
            extractorFactory.addExtractor("application/msword", tikaExtractor);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:13 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top