Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 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/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)
  4. 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)
  5. 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)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            ComponentUtil.getSearchEngineClient().refresh();
    
            ComponentUtil.getSuggestHelper().init();
            ComponentUtil.getPopularWordHelper().init();
    
            ComponentUtil.getLabelTypeHelper().update();
            ComponentUtil.getPathMappingHelper().update();
            ComponentUtil.getRelatedContentHelper().update();
            ComponentUtil.getRelatedQueryHelper().update();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

        protected OptionalEntity<SearchResponse> sendRequest(final String query, final SearchRequestParams params,
                final OptionalThing<FessUserBean> userBean) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return ComponentUtil.getSearchEngineClient().search(fessConfig.getIndexDocumentSearchIndex(),
                    createSearchCondition(query, params, userBean), (searchRequestBuilder, execTime, searchResponse) -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            final RoleQueryHelper roleQueryHelper = ComponentUtil.getRoleQueryHelper();
            final UserInfoHelper userInfoHelper = ComponentUtil.getUserInfoHelper();
            final SearchLog searchLog = new SearchLog();
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (fessConfig.isUserInfo()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                    final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
                    return new Date(now + timeToLive.longValue() * 1000 * 60);
                }
            }
            return documentExpires != null ? new Date(documentExpires) : null;
        }
    
        protected long getExpiredTime(final int days) {
            final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top