Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 194 for getFessConfig (0.09 sec)

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

            } else if (lower.startsWith(denyPrefix)) {
                lower = lower.substring(denyPrefix.length());
                permission = permission.substring(denyPrefix.length());
                aclPrefix = ComponentUtil.getFessConfig().getRoleSearchDeniedPrefix();
            } else {
                aclPrefix = StringUtil.EMPTY;
            }
            if (StringUtil.isBlank(permission)) {
                return null;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/maintenance/ActionForm.java

        @Size(max = 10)
        public String resetDictionaries;
    
        @Size(max = 10)
        public String numberOfShardsForDoc = ComponentUtil.getFessConfig().getIndexNumberOfShards();
    
        @Size(max = 10)
        public String autoExpandReplicasForDoc = ComponentUtil.getFessConfig().getIndexAutoExpandReplicas();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            deleteUserCodeFromCookie(request);
            return userCode;
        }
    
        protected String createUserCodeFromUserId(String userCode) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final PrimaryCipher cipher = ComponentUtil.getPrimaryCipher();
            userCode = cipher.encrypt(userCode);
            if (fessConfig.isValidUserCode(userCode)) {
                return userCode;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                cb.query().matchAll();
                cb.fetchFirst(ComponentUtil.getFessConfig().getPageKeymatchMaxFetchSizeAsInteger());
            });
        }
    
        @Override
        public int load() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final Map<String, Map<String, List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>>>> keyMatchQueryMap = new HashMap<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/score/ScoreBooster.java

        protected String scriptLang = "painless";
    
        protected String scriptCode = null;
    
        protected Function<Map<String, Object>, String[]> idFinder = params -> {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SearchEngineClient client = ComponentUtil.getSearchEngineClient();
            final String index = fessConfig.getIndexDocumentUpdateIndex();
            final Object url = params.get("url");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

        protected void sendToSlack(final CardView cardView, final SMailPostingDiscloser discloser) {
            // https://api.slack.com/messaging/webhooks#posting_with_webhooks
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String slackWebhookUrls = fessConfig.getSlackWebhookUrls();
            if (StringUtil.isBlank(slackWebhookUrls)) {
                return;
            }
            final String body = toSlackMessage(discloser);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/QueryCommand.java

                }
            }
            return false;
        }
    
        protected OptionalThing<String[]> getQueryLanguages() {
            return LaRequestUtil.getOptionalRequest().map(request -> ComponentUtil.getFessConfig().getQueryLanguages(request.getLocales(),
                    (String[]) request.getAttribute(Constants.REQUEST_LANGUAGES)));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            fessConfig.getApiCorsAllowOriginList().forEach(s -> factory.add(s, this));
        }
    
        @Override
        public void process(final String origin, final ServletRequest request, final ServletResponse response) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final HttpServletResponse httpResponse = (HttpServletResponse) response;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessFileTransformer.java

        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            fessConfig = ComponentUtil.getFessConfig();
        }
    
        @Override
        public FessConfig getFessConfig() {
            return fessConfig;
        }
    
        @Override
        public Logger getLogger() {
            return logger;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            maxDocumentRequestSize = Long.parseLong(ComponentUtil.getFessConfig().getIndexerDataMaxDocumentRequestSize());
            maxDocumentCacheSize = ComponentUtil.getFessConfig().getIndexerDataMaxDocumentCacheSizeAsInteger();
            if (ComponentUtil.hasIngestFactory()) {
                ingestFactory = ComponentUtil.getIngestFactory();
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top