Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 148 for get_component (0.09 sec)

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

            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("msWordExtractor", MsWordExtractor.class);
            msWordExtractor = container.getComponent("msWordExtractor");
        }
    
        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/msoffice/test.doc");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

        protected Map<Pattern, CrawlerClient> clientMap = new LinkedHashMap<>();
    
        @PostConstruct
        public void init() {
            try {
                final CrawlerClientCreator creator = crawlerContainer.getComponent("crawlerClientCreator");
                if (creator != null) {
                    creator.register(this);
                }
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            try {
                final TikaExtractor tikaExtractor = ComponentUtil.getComponent("tikaExtractor");
                if (tikaExtractor != null) {
                    tikaExtractor.setMaxAlphanumTermSize(getMaxAlphanumTermSize());
                    tikaExtractor.setMaxSymbolTermSize(getMaxSymbolTermSize());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/score/ScoreBooster.java

                flush();
            }
            return (long) ids.length;
        };
    
        public abstract long process();
    
        protected void enable() {
            final ScoreUpdater scoreUpdater = ComponentUtil.getComponent("scoreUpdater");
            scoreUpdater.addScoreBooster(this);
        }
    
        protected long updateScore(final Map<String, Object> params) {
            return requestHandler.apply(params);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

            if (responseData == null || !responseData.hasResponseBody()) {
                throw new CrawlingAccessException("No response body.");
            }
    
            final ExtractorFactory extractorFactory = crawlerContainer.getComponent("extractorFactory");
            if (extractorFactory == null) {
                throw new CrawlerSystemException("Could not find extractorFactory.");
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingInfoParam.java

            asDocMeta().version(version);
        }
    
        public OptionalEntity<CrawlingInfo> getCrawlingInfo() {
            if (crawlingInfo != null) {
                final CrawlingInfoBhv crawlingInfoBhv = ComponentUtil.getComponent(CrawlingInfoBhv.class);
                crawlingInfo = crawlingInfoBhv.selectEntity(cb -> {
                    cb.query().docMeta().setId_Equal(getCrawlingInfoId());
                });
            }
            return crawlingInfo;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/exentity/FileAuthentication.java

            asDocMeta().version(version);
        }
    
        public FileConfig getFileConfig() {
            if (fileConfig == null) {
                final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class);
                try {
                    fileConfig = fileConfigService.getFileConfig(getFileConfigId()).get();
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessStandardTransformer.java

            }
            Extractor extractor = extractorFactory.getExtractor(responseData.getMimeType());
            if (extractor == null) {
                extractor = ComponentUtil.getComponent("tikaExtractor");
                if (extractor == null) {
                    throw new FessSystemException("Could not find tikaExtractor.");
                }
            }
    
            if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top