Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 326 for ComponentUtil (0.08 sec)

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

    import org.lastaflute.job.JobManager;
    import org.lastaflute.web.servlet.request.RequestManager;
    import org.lastaflute.web.servlet.request.ResponseManager;
    
    public final class ComponentUtil {
    
        private static final Logger logger = LogManager.getLogger(ComponentUtil.class);
    
        private static Map<String, Object> componentMap = new HashMap<>();
    
        private static final String SCRIPT_ENGINE_FACTORY = "scriptEngineFactory";
    
    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/SuggestHelper.java

            suggester = Suggester.builder().settings(settingsBuilder).build(searchEngineClient, fessConfig.getIndexDocumentSuggestIndex());
            if (ComponentUtil.hasPopularWordHelper()) {
                popularWordHelper = ComponentUtil.getPopularWordHelper();
            }
            try {
                suggester.settings().array().delete(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS);
    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. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                return;
            }
    
            final SearchHelper searchHelper = ComponentUtil.getSearchHelper();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final RelatedQueryHelper relatedQueryHelper = ComponentUtil.getRelatedQueryHelper();
            final RelatedContentHelper relatedContentHelper = ComponentUtil.getRelatedContentHelper();
    
            String query = null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/auth/chain/LdapChain.java

    import org.codelibs.fess.es.user.exentity.User;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class LdapChain implements AuthenticationChain {
    
        @Override
        public void update(final User user) {
            ComponentUtil.getLdapManager().insert(user);
        }
    
        @Override
        public void delete(final User user) {
            ComponentUtil.getLdapManager().delete(user);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final JobManager jobManager = ComponentUtil.getJobManager();
            final ScheduledJob scheduledJob = (ScheduledJob) runtime.getParameterMap().get(Constants.SCHEDULED_JOB);
            final String id = scheduledJob.getId();
            final String target = scheduledJob.getTarget();
            if (!ComponentUtil.getFessConfig().isSchedulerTarget(target)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            final String query = ComponentUtil.getQueryStringBuilder().params(params).build();
    
            final QueryContext queryContext = ComponentUtil.getQueryHelper().build(params.getType(), query, context -> {
                context.skipRoleQuery();
            });
            return ComponentUtil.getSearchEngineClient().deleteByQuery(ComponentUtil.getFessConfig().getIndexDocumentUpdateIndex(),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            FileUtil.writeBytes(propFile.getAbsolutePath(), "".getBytes());
            ComponentUtil.register(new DynamicProperties(propFile), "systemProperties");
            crawlingConfigHelper = new CrawlingConfigHelper();
            crawlingConfigHelper.init();
            ComponentUtil.register(crawlingConfigHelper, "crawlingConfigHelper");
            ComponentUtil.register(new WebConfigService() {
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/util/FessCrawlerConfig.java

    package org.codelibs.fess.crawler.util;
    
    import org.codelibs.fess.util.ComponentUtil;
    
    public class FessCrawlerConfig extends EsCrawlerConfig {
    
        @Override
        public String getQueueIndex() {
            return ComponentUtil.getFessConfig().getIndexDocumentCrawlerIndex() + ".queue";
        }
    
        @Override
        public String getDataIndex() {
            return ComponentUtil.getFessConfig().getIndexDocumentCrawlerIndex() + ".data";
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.mail.send.hook.SMailCallbackContext;
    import org.lastaflute.core.mail.Postbox;
    
    public class PingSearchEngineJob {
    
        private static final Logger logger = LogManager.getLogger(PingSearchEngineJob.class);
    
        public String execute() {
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final long timeout = fessConfig.getIndexBackupLogLoadTimeoutAsInteger().longValue();
            return writer -> {
                final SearchLogBhv bhv = ComponentUtil.getComponent(SearchLogBhv.class);
                bhv.selectCursor(cb -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top