Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 194 for getFessConfig (0.15 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

        public static void validateFields(final Map<String, Object> doc, final Consumer<VaMessenger<FessMessages>> throwError) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            try {
                if (!fessConfig.validateIndexRequiredFields(doc)) {
                    throwError.accept(messages -> fessConfig.invalidIndexRequiredFields(doc).stream().map(s -> "doc." + s)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (responseFields == null) {
                responseFields = fessConfig.getQueryAdditionalResponseFields(//
                        SCORE_FIELD, //
                        fessConfig.getIndexFieldId(), //
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

        }
    
        // GET /api/admin/backup/file/{id}
        @Execute
        public StreamResponse get$file(final String id) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (stream(fessConfig.getIndexBackupAllTargets()).get(stream -> stream.anyMatch(s -> s.equals(id)))) {
                if ("system.properties".equals(id)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final Date documentExpires = crawlingInfoHelper.getDocumentExpires(config);
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final Map<String, String> paramEnvMap = systemHelper.getFilteredEnvMap(fessConfig.getCrawlerDataEnvParamKeyPattern());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/PythonJob.java

            final ServletContext servletContext = ComponentUtil.getComponent(ServletContext.class);
            final ProcessHelper processHelper = ComponentUtil.getProcessHelper();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            if (StringUtil.isBlank(filename)) {
                throw new JobProcessingException("Python script is not specified.");
            }
    
            cmdList.add(fessConfig.getPythonCommandPath());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

        protected String[] fileProtocols = StringUtil.EMPTY_STRINGS;
    
        @PostConstruct
        public void init() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            webProtocols = split(fessConfig.getCrawlerWebProtocols(), ",")
                    .get(stream -> stream.filter(StringUtil::isNotBlank).map(s -> s.trim() + ":").toArray(n -> new String[n]));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                };
                Runtime.getRuntime().addShutdownHook(shutdownCallback);
    
                systemMonitorTask = TimeoutManager.getInstance().addTimeoutTarget(new SystemMonitorTarget(),
                        ComponentUtil.getFessConfig().getThumbnailSystemMonitorIntervalAsInteger(), true);
    
                final int totalCount = process(options);
                if (totalCount != 0) {
                    logger.info("Created {} thumbnail files.", totalCount);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

        protected String ecsEventDataset = "app";
    
        @PostConstruct
        public void init() {
            logger = LogManager.getLogger(loggerName);
            final String logFormat = ComponentUtil.getFessConfig().getAppAuditLogFormat();
            if (StringUtil.isBlank(logFormat)) {
                useEcsFormat = "docker".equals(System.getenv("FESS_APP_TYPE"));
            } else if ("ecs".equals(logFormat)) {
                useEcsFormat = true;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/JobHelper.java

                        logger.debug("Failed to delete Job {}", scheduledJob, e);
                    }
                }
                return;
            }
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final CronParamsSupplier paramsOp = () -> {
                final Map<String, Object> params = new HashMap<>();
                ComponentUtil.getComponent(ScheduledJobBhv.class).selectByPK(scheduledJob.getId())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        private void setQueryType(final String queryType) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String get(String propertyKey) {
                    return fessConfig.get(propertyKey);
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top