Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 148 for getComponent (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

        /*
         * (non-Javadoc)
         *
         * @see org.apache.commons.pool2.BasePooledObjectFactory#create()
         */
        @Override
        public T create() throws Exception {
            return (T) crawlerContainer.getComponent(componentName);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.apache.commons.pool2.BasePooledObjectFactory#wrap(java.lang.Object)
         */
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top