Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 240 for role4 (0.02 sec)

  1. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            readings[1] = new String[] { "enjin", "fuga" };
            String[] tags = new String[] { "tag1", "tag2" };
            String[] roles = new String[] { SuggestConstants.DEFAULT_ROLE, "role1", "role2", "role3" };
            queryItems[0] = new SuggestItem(new String[] { "検索", "エンジン" }, readings, new String[] { "content" }, 1, 0, -1, tags, roles, null,
                    SuggestItem.Kind.DOCUMENT);
    
            String[][] readings2 = new String[2][];
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 37.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            List<String> fields = Arrays.asList("field1", "field2", "field3");
            List<String> tags = Arrays.asList("tag1", "tag2");
            List<String> roles = Arrays.asList("role1", "role2", "role3");
    
            elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);
            SuggestItem suggestItem = elevateWord.toSuggestItem();
    
            assertNotNull(suggestItem);
            assertEquals(word, suggestItem.getText());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                    final String[] roles = values[1].split(roleSeparator);
                    for (final String role : roles) {
                        if (StringUtil.isNotEmpty(role)) {
                            roleSet.add(role);
                        }
                    }
                }
            } else {
                final String[] roles = rolesStr.split(roleSeparator);
                for (final String role : roles) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            String[] fields = { "field1", "field2" };
            String[] tags = { "tag1", "tag2" };
            String[] roles = { "role1", "role2" };
            String[] languages = { "en", "ja" };
            SuggestItem.Kind kind = SuggestItem.Kind.QUERY;
    
            SuggestItem item = new SuggestItem(text, readings, fields, 100L, 50L, 1.5f, tags, roles, languages, kind);
    
            assertNotNull(item);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

         * @param tag The tag.
         */
        public void addTag(final String tag) {
            tags.add(tag);
        }
    
        /**
         * Adds a role to filter by.
         * @param role The role.
         */
        public void addRole(final String role) {
            roles.add(role);
        }
    
        /**
         * Adds a field to filter by.
         * @param field The field name.
         */
        public void addField(final String field) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            String[] tags = new String[] { "tag1" };
            String[] roles = new String[] { "role1" };
            String[] langs = new String[] { "ja" };
    
            SuggestAnalyzer analyzer = suggester.settings().analyzer().new DefaultContentsAnalyzer();
            SuggestItem item = defaultContentsParser.parseSearchWords(words, readings, fields, tags, roles, 10, createDefaultReadingConverter(),
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. internal/config/identity/openid/openid.go

    		}
    
    		// Check if claim name is the non-default value and role policy is set.
    		if p.ClaimName != policy.PolicyName && p.RolePolicy != "" {
    			// In the unlikely event that the user specifies
    			// `policy.PolicyName` as the claim name explicitly and sets
    			// a role policy, this check is thwarted, but we will be using
    			// the role policy anyway.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        /**
         * Checks if the current user has the specified action role or administrative privileges.
         *
         * @param role the role to check (supports both view and edit variants)
         * @return true if the user has the role or admin privileges, false otherwise
         */
        public static boolean hasActionRole(final String role) {
            final String[] roles;
            if (role.endsWith(FessAdminAction.VIEW)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

         * @param fields The fields.
         * @param tags The tags.
         * @param roles The roles.
         * @param num The number.
         * @param langs The languages.
         * @return The SuggestIndexResponse.
         */
        public SuggestIndexResponse indexFromSearchWord(final String searchWord, final String[] fields, final String[] tags,
                final String[] roles, final int num, final String[] langs) {
            if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/QueryHelper.java

                }
            }
        }
    
        /**
         * Builds role-based query filters using the provided role set.
         * This method adds should clauses for allowed roles and must-not clauses for denied roles.
         *
         * @param roleSet the set of roles to use for filtering
         * @param boolQuery the boolean query builder to add role filters to
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
Back to top