Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Days (0.12 sec)

  1. src/main/java/org/codelibs/fess/app/service/UserInfoService.java

        @Resource
        private UserInfoBhv userInfoBhv;
    
        @Resource
        private SystemHelper systemHelper;
    
        public void deleteBefore(final int days) {
            userInfoBhv.queryDelete(cb -> {
                cb.query().setUpdatedAt_LessEqual(systemHelper.getCurrentTimeAsLocalDateTime().minusDays(days));
            });
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

         */
        boolean isFrameworkDebug();
    
        /**
         * Get the value for the key 'time.adjust.time.millis'. <br>
         * The value is, e.g. 0 <br>
         * comment: <br>
         * one day: 86400000, three days: 259200000, five days: 432000000, one week: 604800000, one year: 31556926000<br>
         * special script :: absolute mode: $(2014/07/10), relative mode: addDay(3).addMonth(4)<br>
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            cal.setTimeInMillis(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
            return cal;
        }
    
        public void addIntervalRule(final String from, final String to, final String days, final long delay) {
            ruleList.add(new IntervalRule(from, to, days, delay));
        }
    
        public boolean isCrawlerRunning() {
            return crawlerRunning;
        }
    
        public void setCrawlerRunning(final boolean crawlerRunning) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

                resultBuf.append(e.getMessage()).append("\n");
            }
    
            // purge search logs
            try {
                final int days = ComponentUtil.getFessConfig().getPurgeSearchLogDay();
                if (days >= 0) {
                    searchLogService.deleteBefore(days);
                } else {
                    resultBuf.append("Skipped to purge search logs.\n");
                }
            } catch (final Exception e) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                }
            }
            return documentExpires != null ? new Date(documentExpires) : null;
        }
    
        protected long getExpiredTime(final int days) {
            final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
            return now + days * Constants.ONE_DAY_IN_MILLIS;
        }
    
        public Map<String, String> getInfoMap(final String sessionId) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.6K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

        private SystemHelper systemHelper;
    
        @Resource
        protected FessConfig fessConfig;
    
        public void deleteBefore(final int days) {
            searchLogBhv.queryDelete(cb -> {
                cb.query().setRequestedAt_LessEqual(systemHelper.getCurrentTimeAsLocalDateTime().minusDays(days));
            });
        }
    
        public List<?> getSearchLogList(final SearchLogPager pager) {
            final EsPagingResultBean<?> list;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/JobLogService.java

            cb.query().addOrderBy_EndTime_Desc();
    
            // search
    
        }
    
        public void deleteBefore(final int days) {
            final long oneday = 24 * 60 * 60 * 1000L;
            final long targetTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - days * oneday;
            jobLogBhv.queryDelete(cb -> {
                cb.query().setEndTime_LessThan(targetTime);
            });
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        }
    
        public static String formatDuration(final long durationMillis) {
            return DurationFormatUtils.formatDuration(durationMillis, "d 'days' HH:mm:ss.SSS").replace("0 days", StringUtil.EMPTY).trim();
    
        }
    
        public static String formatNumber(final long value, final String pattern) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: Schedule */
        public static final String LABELS_CRON_EXPRESSION = "{labels.cronExpression}";
    
        /** The key of the message: Remove Documents Before Days */
        public static final String LABELS_DAY_FOR_CLEANUP = "{labels.dayForCleanup}";
    
        /** The key of the message: Simultaneous Crawler Config */
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 146.4K bytes
    - Viewed (0)
  10. README.md

    ## Website
    
    [fess.codelibs.org](https://fess.codelibs.org/)
    
    ## Issues/Questions
    
    [discuss.codelibs.org](https://discuss.codelibs.org/c/FessEN/)
    
    ## Getting Started
    
    There are 2 ways to try Fess. The first is to download and install yourself. The second is to use [Docker](https://www.docker.com/products/docker-engine).
    
    ### Download and Install/Run
    
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Feb 25 00:40:07 GMT 2024
    - 7.6K bytes
    - Viewed (0)
Back to top