Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 194 for getFessConfig (0.15 sec)

  1. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            if (ComponentUtil.getFessConfig().isLoggingSearchDocsEnabled()) {
                queryResponseList.stream().forEach(res -> {
                    final Map<String, Object> map = new HashMap<>();
                    Arrays.stream(ComponentUtil.getFessConfig().getLoggingSearchDocsFieldsAsArray()).forEach(s -> map.put(s, res.get(s)));
                    searchLog.addDocument(map);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            fessConfig = ComponentUtil.getFessConfig();
            split(fessConfig.getSuggestFieldContents(), ",")
                    .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(contentFieldNameSet::add));
    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/ldap/LdapUser.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return stream(getPermissions()).get(stream -> stream.filter(s -> s.startsWith(fessConfig.getRoleSearchRolePrefix()))
                    .map(s -> s.substring(1)).toArray(n -> new String[n]));
        }
    
        @Override
        public String[] getGroupNames() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K 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");
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
                String scrollId = null;
                try {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Query DSL: {}", searchRequestBuilder);
                    }
                    SearchResponse response = searchRequestBuilder.execute().actionGet(ComponentUtil.getFessConfig().getIndexSearchTimeout());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/QueryHelper.java

                if (StringUtil.isNotBlank(key)) {
                    queryContext.addQuery(boolQuery -> {
                        boolQuery.filter(QueryBuilders.termQuery(ComponentUtil.getFessConfig().getIndexFieldVirtualHost(), key));
                    });
                }
                break;
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

        protected String getClientId() {
            return ComponentUtil.getFessConfig().getSystemProperty(AZUREAD_CLIENT_ID, StringUtil.EMPTY);
        }
    
        protected String getClientSecret() {
            return ComponentUtil.getFessConfig().getSystemProperty(AZUREAD_CLIENT_SECRET, StringUtil.EMPTY);
        }
    
        protected String getTenant() {
            return ComponentUtil.getFessConfig().getSystemProperty(AZUREAD_TENANT, StringUtil.EMPTY);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

            return new OpenIdUser(getUserId(), getUserGroups(), getDefaultRolesAsArray());
        }
    
        protected static String[] getDefaultGroupsAsArray() {
            final String value = ComponentUtil.getFessConfig().getSystemProperty("oic.default.groups");
            if (StringUtil.isBlank(value)) {
                return StringUtil.EMPTY_STRINGS;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

            }
            return map;
        }
    
        public String generateId(final Map<String, Object> dataMap) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String url = (String) dataMap.get(fessConfig.getIndexFieldUrl());
            final StringBuilder buf = new StringBuilder(1000);
    
            @SuppressWarnings("unchecked")
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/BaseSearchBody.java

    public class BaseSearchBody {
    
        public Integer size = ComponentUtil.getFessConfig().getPagingPageSizeAsInteger();
    
        public Integer page = Constants.DEFAULT_ADMIN_PAGE_NUMBER;
    
        public int getPageSize() {
            if (size != null) {
                return size;
            }
            return ComponentUtil.getFessConfig().getPagingPageSizeAsInteger();
        }
    
        public int getCurrentPageNumber() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top