- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for validateIndexRequiredFields (0.36 sec)
-
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: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); try { if (!fessConfig.validateIndexRequiredFields(form.doc)) { throwError.accept(messages -> fessConfig.invalidIndexRequiredFields(form.doc).stream().map(s -> "doc." + s) .forEach(s -> messages.addErrorsPropertyRequired(s, s)));
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.4K bytes - Viewed (0) -
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: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 85K bytes - Viewed (0)