- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getValidationError (0.1 sec)
-
src/main/java/org/codelibs/fess/suggest/request/Request.java
import org.opensearch.client.Client; import org.opensearch.core.common.Strings; public abstract class Request<T extends Response> { public Deferred<T>.Promise execute(final Client client) { final String error = getValidationError(); if (!Strings.isNullOrEmpty(error)) { throw new IllegalArgumentException(error); } final Deferred<T> deferred = new Deferred<>(); try {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java
if (logger.isDebugEnabled()) { logger.debug("Add badword. {} badword: {}", arraySettings.arraySettingsIndexName, badWord); } final String validationError = getValidationError(badWord); if (validationError != null) { throw new IllegalArgumentException("Validation error. " + validationError); } arraySettings.add(BAD_WORD_SETTINGD_KEY, badWord); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
@Override public void onFailure(final Exception e) { deferred.reject(e); } }); } @Override protected String getValidationError() { return null; } protected QueryBuilder buildQuery() { final BoolQueryBuilder queryBuilder = QueryBuilders.boolQuery();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
this.skipDuplicateWords = skipDuplicateWords; } public void addLang(final String lang) { languages.add(lang); } @Override protected String getValidationError() { return null; } @Override protected void processRequest(final Client client, final Deferred<SuggestResponse> deferred) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 13.3K bytes - Viewed (0)