Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 194 for getFessConfig (0.17 sec)

  1. src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java

        }
    
        protected QueryBuilder convertPrefixQuery(final QueryContext context, final PrefixQuery prefixQuery, final float boost) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), prefixQuery.getField());
            final String text = prefixQuery.getPrefix().text();
    
            if (Constants.DEFAULT_FIELD.equals(field)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/log/exbhv/SearchLogBhv.java

        private String indexName = null;
    
        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexLogIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_log"), name);
            }
            return indexName;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

                } catch (final IOException ignore) {}
                return sb.toString();
            };
    
            if (Constants.TRUE.equalsIgnoreCase(ComponentUtil.getFessConfig().getApiJsonResponseExceptionIncluded())) {
                return stacktraceString.get();
            }
    
            final String errorCode = UUID.randomUUID().toString();
            if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                    }
                    permissionSet.add(systemHelper.getSearchRoleByUser(uniqueId));
                    permissionSet.add(systemHelper.getSearchRoleByUser(displayableId));
                    if (ComponentUtil.getFessConfig().isAzureAdUseDomainServices() && displayableId.indexOf('@') >= 0) {
                        final String[] values = displayableId.split("@");
                        if (values.length > 1) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/GeoInfo.java

    import jakarta.servlet.http.HttpServletRequest;
    
    public class GeoInfo {
    
        private QueryBuilder builder;
    
        public GeoInfo(final HttpServletRequest request) {
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String[] geoFields = fessConfig.getQueryGeoFieldsAsArray();
            final Map<String, List<QueryBuilder>> geoMap = new HashMap<>();
    
            StreamUtil.stream(request.getParameterMap())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

                cb.query().matchAll();
                cb.query().addOrderBy_SortOrder_Asc();
                cb.query().addOrderBy_Term_Asc();
                cb.fetchFirst(ComponentUtil.getFessConfig().getPageRelatedcontentMaxFetchSizeAsInteger());
            });
        }
    
        @Override
        public int load() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/PingResponse.java

            status = response.getStatus() == ClusterHealthStatus.RED ? 1 : 0;
            clusterName = response.getClusterName();
            clusterStatus = response.getStatus().toString();
            final Set<String> fieldSet = ComponentUtil.getFessConfig().getApiPingEsFieldSet();
            try (OutputStream out = SearchEngineUtil.getXContentBuilderOutputStream((builder, params) -> {
                builder.startObject();
                if (fieldSet.contains(CLUSTER_NAME)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (2)
  8. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                    activityHelper.login(getUserBean());
                    userInfoHelper.deleteUserCodeFromCookie(request);
                    return getHtmlResponse();
                });
                if (ComponentUtil.getFessConfig().isValidAdminPassword(password)) {
                    return loginRedirect;
                }
                getSession().ifPresent(session -> session.setAttribute(INVALID_OLD_PASSWORD, password));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            fessConfig = ComponentUtil.getFessConfig();
            cache = CacheBuilder.newBuilder().maximumSize(fessConfig.getSuggestPopularWordCacheSizeAsInteger().longValue())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

            try (CurlResponse response = ComponentUtil.getCurlHelper().get("/_configsync/file").param("fields", "path,@timestamp")
                    .param("size", ComponentUtil.getFessConfig().getPageDictionaryMaxFetchSize()).execute()) {
                final Map<String, Object> contentMap = response.getContent(OpenSearchCurl.jsonParser());
                @SuppressWarnings("unchecked")
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top