Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for validateIndexRequiredFields (0.24 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            source.put("aaa", "");
            source.put("bbb", "a");
            assertFalse(fessConfig.validateIndexRequiredFields(source));
            source.put("aaa", " ");
            source.put("bbb", "a");
            assertFalse(fessConfig.validateIndexRequiredFields(source));
            source.put("aaa", "a");
            source.put("bbb", "a");
            assertTrue(fessConfig.validateIndexRequiredFields(source));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            try {
                if (!fessConfig.validateIndexRequiredFields(doc)) {
                    throwError.accept(messages -> fessConfig.invalidIndexRequiredFields(doc).stream().map(s -> "doc." + s)
                            .forEach(s -> messages.addErrorsPropertyRequired(s, s)));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                return new Pair<>(key, value);
            }).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond));
        }
    
        String getIndexAdminRequiredFields();
    
        default boolean validateIndexRequiredFields(final Map<String, Object> source) {
            return invalidIndexRequiredFields(source).isEmpty();
        }
    
        default List<String> invalidIndexRequiredFields(final Map<String, Object> source) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
Back to top