Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getPurgeSuggestSearchLogDay (0.27 sec)

  1. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

            final SuggestHelper suggestHelper = ComponentUtil.getSuggestHelper();
    
            try {
                suggestHelper.purgeDocumentSuggest(time);
                final long cleanupDay = ComponentUtil.getFessConfig().getPurgeSuggestSearchLogDay();
                if (cleanupDay > 0) {
                    suggestHelper.purgeSearchlogSuggest(time.minusDays(cleanupDay));
                }
                return 0;
            } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            final SearchLogBhv searchLogBhv = ComponentUtil.getComponent(SearchLogBhv.class);
    
            searchLogBhv.selectBulk(cb -> {
                final String from = LocalDateTime.now().minusDays(fessConfig.getPurgeSuggestSearchLogDay()).format(DateTimeFormatter.ISO_DATE);
                cb.query().addQuery(QueryBuilders.rangeQuery("requestedAt").gte(from));
                cb.query().addOrderBy_RequestedAt_Asc();
                cb.specify().columnAccessType();
    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/app/web/admin/general/AdminGeneralAction.java

            form.suggestDocuments = fessConfig.isSuggestDocuments() ? Constants.TRUE : Constants.FALSE;
            form.purgeSuggestSearchLogDay = fessConfig.getPurgeSuggestSearchLogDay();
            form.ldapProviderUrl = fessConfig.getLdapProviderUrl();
            form.ldapSecurityPrincipal = fessConfig.getLdapSecurityPrincipal();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        }
    
        default void setPurgeSuggestSearchLogDay(final int value) {
            setSystemPropertyAsInt(Constants.PURGE_SUGGEST_SEARCH_LOG_DAY_PROPERTY, value);
        }
    
        default int getPurgeSuggestSearchLogDay() {
            return getSystemPropertyAsInt(Constants.PURGE_SUGGEST_SEARCH_LOG_DAY_PROPERTY,
                    DfTypeUtil.toInteger(Constants.DEFAULT_SUGGEST_PURGE_DAY));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
Back to top