Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 148 for getComponent (0.08 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TarExtractorTest.java

                    .<ExtractorFactory> singleton("extractorFactory", ExtractorFactory.class, factory -> {
                        TikaExtractor tikaExtractor = container.getComponent("tikaExtractor");
                        TarExtractor tarExtractor = container.getComponent("tarExtractor");
                        factory.addExtractor("text/plain", tikaExtractor);
                        factory.addExtractor("text/html", tikaExtractor);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. 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)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java

            final MimeTypeHelper mimeTypeHelper = crawlerContainer.getComponent("mimeTypeHelper");
            if (mimeTypeHelper == null) {
                throw new CrawlerSystemException("MimeTypeHelper is unavailable.");
            }
            return mimeTypeHelper;
        }
    
        protected ExtractorFactory getExtractorFactory() {
            final ExtractorFactory extractorFactory = crawlerContainer.getComponent("extractorFactory");
            if (extractorFactory == null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exentity/ElevateWord.java

                    if (labelTypeList == null) {
                        final FessConfig fessConfig = ComponentUtil.getFessConfig();
                        final ElevateWordToLabelBhv elevateWordToLabelBhv = ComponentUtil.getComponent(ElevateWordToLabelBhv.class);
                        final ListResultBean<ElevateWordToLabel> mappingList = elevateWordToLabelBhv.selectList(cb -> {
                            cb.query().setElevateWordId_Equal(getId());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. 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)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

                    .singleton("urlFilter", UrlFilterImpl.class)//
                    .singleton("dataService", DataServiceImpl.class);
            urlFilter = container.getComponent("urlFilter");
            dataHelper = container.getComponent("dataHelper");
        }
    
        public void test_addInclude1() {
            assertEquals(0, urlFilter.cachedIncludeSet.size());
            assertEquals(0, urlFilter.cachedExcludeSet.size());
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java

        protected MessageManager getMessageManager() {
            return ContainerUtil.getComponent(MessageManager.class);
        }
    
        protected AsyncManager getAsyncManager() {
            return ContainerUtil.getComponent(AsyncManager.class);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K 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/processor/impl/DefaultResponseProcessor.java

            }
        }
    
        protected AccessResult<?> createAccessResult(final ResponseData responseData, final ResultData resultData) {
            final AccessResult<?> accessResult = crawlerContainer.getComponent("accessResult");
            accessResult.init(responseData, resultData);
            return accessResult;
        }
    
        protected boolean checkAccessCount(final CrawlerContext crawlerContext) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/ContentLengthHelperTest.java

            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("contentLengthHelper", ContentLengthHelper.class);
            contentLengthHelper = container.getComponent("contentLengthHelper");
        }
    
        public void test_getMaxLength() {
            final String mimeType = "text/plain";
    
            assertEquals(DEFAULT_MAX_LENGTH, contentLengthHelper.getMaxLength(mimeType));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top