Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 280 for role1 (0.05 sec)

  1. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            assertTrue(roleSet.contains("role1"));
    
            encrypted = false;
            value = "role1,role2";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(2, roleSet.size());
            assertTrue(roleSet.contains("role1"));
            assertTrue(roleSet.contains("role2"));
    
            encrypted = false;
            value = "role1,role2,role3";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. 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: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  3. README.md

    readings[0] = new String[] { "kensaku", "fuga" };
    readings[1] = new String[] { "enjin", "fuga" };
    String[] tags = new String[] { "tag1", "tag2" };
    String[] roles = new String[] { "role1", "role2", "role3" };
    suggester.indexer().index(new SuggestItem(new String[] { "検索", "エンジン" }, readings, 1, tags, roles, SuggestItem.Kind.DOCUMENT));
    ```
    
    ### Add suggest documents from source of index
    
    ```java
    DocumentReader reader = new ESSourceReader(
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Jan 19 03:33:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            SuggestItem item = items.get(0);
            assertEquals("検索エンジン", item.getText());
            assertEquals("tag1", item.getTags()[0]);
            assertEquals("role1", item.getRoles()[0]);
        }
    
        protected ReadingConverter createDefaultReadingConverter() throws IOException {
            ReadingConverterChain chain = new ReadingConverterChain();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            ElevateWord elevateWord3 = new ElevateWord("c", 100.0f, Collections.singletonList("c"), Collections.singletonList("content"),
                    Collections.singletonList("tag1"), Collections.singletonList("role1"));
    
            settings.elevateWord().add(elevateWord1);
            settings.elevateWord().add(elevateWord2);
            settings.elevateWord().add(elevateWord3);
    
            assertEquals(3, settings.elevateWord().get().length);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/exentity/Role.java

     */
    package org.codelibs.fess.es.user.exentity;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.es.user.bsentity.BsRole;
    
    /**
     * @author FreeGen
     */
    public class Role extends BsRole {
    
        private static final long serialVersionUID = 1L;
    
        private Map<String, String> attributes;
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            final String[] roles1 = SuggestUtil.parseQuery(queryString, roleFieldName);
            final String[] roles2 = filterQueryString == null ? new String[0] : SuggestUtil.parseQuery(filterQueryString, roleFieldName);
            final String[] roles = new String[roles1.length + roles2.length];
    
            if (roles1.length > 0) {
                System.arraycopy(roles1, 0, roles, 0, roles1.length);
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        }
    
        public static boolean hasActionRole(final String role) {
            final String[] roles;
            if (role.endsWith(FessAdminAction.VIEW)) {
                roles = new String[] { role, role.substring(0, role.length() - FessAdminAction.VIEW.length()) };
            } else {
                roles = new String[] { role };
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top