Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for getComponent (0.26 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/CrawlingConfigHelper.java

                    case WEB -> {
                        final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class);
                        yield webConfigService.getWebConfig(id).get();
                    }
                    case FILE -> {
                        final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class);
                        yield fileConfigService.getFileConfig(id).get();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                        rule.setResponseProcessor(container.getComponent("defaultResponseProcessor"));
                    });
    
            crawler = container.getComponent("crawler");
            dataService = container.getComponent("dataService");
            urlQueueService = container.getComponent("urlQueueService");
            fileTransformer = container.getComponent("fileTransformer");
    
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

        }
    
        public void test_getContentType_filenameFirst() throws IOException {
            final MimeTypeHelperImpl mimeTypeHelper = container.getComponent("mimeTypeHelper");
            mimeTypeHelper.useFilename = true;
            assertContentType("text/plain", "test/text1.txt", "hoge.txt");
            assertContentType("text/plain", null, "hoge.txt");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top