Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getRoleQueryHelper (0.27 sec)

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

                final BoolQueryBuilder boolQuery =
                        QueryBuilders.boolQuery().must(QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), docId));
                final Set<String> roleSet = ComponentUtil.getRoleQueryHelper().build(SearchRequestType.JSON); // TODO SearchRequestType?
                final QueryHelper queryHelper = ComponentUtil.getQueryHelper();
                if (!roleSet.isEmpty()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

            final String[] baseTags = tags != null ? tags : fessConfig.getSuggestPopularWordTagsAsArray();
            final String[] baseRoles = roles != null ? roles
                    : ComponentUtil.getRoleQueryHelper().build(searchRequestType).stream().filter(StringUtil::isNotBlank)
                            .toArray(n -> new String[n]);
            final String[] baseFields = fields != null ? fields : fessConfig.getSuggestPopularWordFieldsAsArray();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/QueryHelper.java

        }
    
        protected void buildRoleQuery(final QueryContext queryContext, final SearchRequestType searchRequestType) {
            if (queryContext.roleQueryEnabled()) {
                final Set<String> roleSet = ComponentUtil.getRoleQueryHelper().build(searchRequestType);
                if (!roleSet.isEmpty()) {
                    queryContext.addQuery(boolQuery -> buildRoleQuery(roleSet, boolQuery));
                }
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                        .collect(Collectors.toList());
            }
    
            final List<Map<String, String>> itemList = new ArrayList<>();
            final Set<String> roleSet = ComponentUtil.getRoleQueryHelper().build(searchRequestType);
            if (roleSet.isEmpty()) {
                for (final LabelTypeItem item : labelList) {
                    if (item.getPermissions().length == 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                final int pageStart, final int pageSize, final QueryResponseList queryResponseList) {
    
            final RoleQueryHelper roleQueryHelper = ComponentUtil.getRoleQueryHelper();
            final UserInfoHelper userInfoHelper = ComponentUtil.getUserInfoHelper();
            final SearchLog searchLog = new SearchLog();
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            return fessConfig;
        }
    
        public static SuggestHelper getSuggestHelper() {
            return getComponent(SUGGEST_HELPER);
        }
    
        public static RoleQueryHelper getRoleQueryHelper() {
            return getComponent(ROLE_QUERY_HELPER);
        }
    
        public static LdapManager getLdapManager() {
            return getComponent(LDAP_MANAGER);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                writeJsonResponse(HttpServletResponse.SC_BAD_REQUEST, escapeJsonKeyValue(MESSAGE_FIELD, "Referer is invalid."));
                return;
            }
    
            final RoleQueryHelper roleQueryHelper = ComponentUtil.getRoleQueryHelper();
            final SearchHelper searchHelper = ComponentUtil.getSearchHelper();
    
            final StringBuilder buf = new StringBuilder(255);
            try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top