Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for getFessConfig (0.07 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                String enc;
                if (StringUtil.isNotBlank(getFessConfig().getCrawlerDocumentSiteEncoding())
                        && (!getFessConfig().isCrawlerDocumentUseSiteEncodingOnEnglish() || "ISO-8859-1".equalsIgnoreCase(encoding)
                                || "US-ASCII".equalsIgnoreCase(encoding))) {
                    enc = getFessConfig().getCrawlerDocumentSiteEncoding();
                } else {
                    enc = encoding;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return searchEngineClient.update(fessConfig.getIndexDocumentUpdateIndex(), id, field, value);
        }
    
        public boolean deleteDocument(final SearchEngineClient searchEngineClient, final String id) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        public String getSearchRoleByRole(final String name) {
            return createSearchRole(ComponentUtil.getFessConfig().getRoleSearchRolePrefix(), name);
        }
    
        protected String createSearchRole(final String type, final String name) {
            final String value = type + ComponentUtil.getFessConfig().getCanonicalLdapName(name);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                return;
            }
    
            if (!ComponentUtil.getFessConfig().isUserFavorite()) {
                writeJsonResponse(HttpServletResponse.SC_BAD_REQUEST, escapeJsonKeyValue(MESSAGE_FIELD, "Unsupported operation."));
                return;
            }
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final UserInfoHelper userInfoHelper = ComponentUtil.getUserInfoHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            return ComponentUtil.getSearchEngineClient().update(ComponentUtil.getFessConfig().getIndexDocumentUpdateIndex(), id, field, value);
        }
    
        public boolean update(final String id, final Consumer<UpdateRequestBuilder> builderLambda) {
            try {
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
                final UpdateRequestBuilder builder =
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top