- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 209 for PUT (0.03 sec)
-
ApiAdminReqheaderAction.java
throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); L78: return null; L79: })).status(Status.OK).result()); L80: } L81: L82: // PUT /api/admin/reqheader/setting L83: @Execute L84: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L85: validateApi(body, messages -> {}); L86: if (!isValidWebConfigId(body.webConfigId)) { L87: return asJson(new ApiErrorResponse().message("invalid...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 6.8K bytes -
ApiAdminWebauthAction.java
throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); L78: return null; L79: })).status(Status.OK).result()); L80: } L81: L82: // PUT /api/admin/webauth/setting L83: @Execute L84: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L85: validateApi(body, messages -> {}); L86: if (!isValidWebConfigId(body.webConfigId)) { L87: return asJson(new ApiErrorResponse().message("invalid...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 6.8K bytes -
FessSearchAction.java
); L172: if (defaultLabelValues.length > 0) { L173: form.fields.put(FessSearchAction.LABEL_FIELD, defaultLabelValues); L174: } L175: } L176: L177: final Map<String, String> labelMap = new LinkedHashMap<>(); L178: if (!labelTypeItems.isEmpty()) { L179: for (final Map<String, String> map : labelTypeItems) { L180: labelMap.put(map.get(Constants.ITEM_VALUE), map.get(Constants.ITEM_LABEL)); L181: } L182: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 10K bytes -
ApiAdminElevatewordAction.java
.filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n"))); L92: return asJson(new ApiResult.ApiConfigResponse().setting(body).status(ApiResult.Status.OK).result()); L93: } L94: L95: // PUT /api/admin/elevateword/setting L96: @Execute L97: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L98: validateApi(body, messages -> {}); L99: body.crudMode = CrudMode.CREATE; L100: final ElevateWord entity = getElevateWord(body).orElseGet(() -> {...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 9.6K bytes -
SuggestHelper.java
suggester.indexer().indexFromSearchWord(sb.toString(), fields.toArray(new String[fields.size()]), L209: tags.toArray(new String[tags.size()]), roles.toArray(new String[roles.size()]), 1, langs); L210: duplicateSessionMap.put(sessionId, requestedAt); L211: } L212: } L213: }); L214: refresh(); L215: } L216: L217: public void indexFromDocuments(final Consumer<Boolean> success, final Consumer<Throwable> error) { L218: final...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 18.1K bytes -
BsFavoriteLog.java
addFieldToSource(sourceMap, "userInfoId", userInfoId); L90: } L91: return sourceMap; L92: } L93: L94: protected void addFieldToSource(Map<String, Object> sourceMap, String field, Object value) { L95: sourceMap.put(field, value); L96: } L97: L98: // =================================================================================== L99: // Basic Override L100: // ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 5.6K bytes -
LanguageHelperTest.java
String[] { "title", "content" }; L32: } L33: L34: public void test_createScript() { L35: Map<String, Object> doc = new HashMap<>(); L36: assertEquals("aaa", languageHelper.createScript(doc, "aaa").getIdOrCode()); L37: L38: doc.put("lang", "ja"); L39: assertEquals("aaa;ctx._source.title_ja=ctx._source.title;ctx._source.content_ja=ctx._source.content", L40: languageHelper.createScript(doc, "aaa").getIdOrCode()); L41: } L42: L43: public void test_get...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 1.7K bytes -
ApiAdminDictStopwordsAction.java
messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, String.valueOf(id))); L66: return null; L67: })).status(ApiResult.Status.OK).result()); L68: } L69: L70: // PUT /api/admin/dict/stopwords/setting/{dictId} L71: @Execute L72: public JsonResponse<ApiResult> put$setting(final String dictId, final CreateBody body) { L73: body.dictId = dictId; L74: validateApi(body, messages -> {}); L75: body.crudMode = CrudMode.CREATE; L76: final...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.2K bytes -
ApiAdminFileconfigAction.java
throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); L79: return null; L80: })).status(Status.OK).result()); L81: } L82: L83: // PUT /api/admin/fileconfig/setting L84: @Execute L85: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L86: validateApi(body, messages -> {}); L87: body.crudMode = CrudMode.CREATE; L88: final FileConfig fileConfig = getFileConfig(body).map(entity -> { L89:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7K bytes -
AdminSysteminfoAction.java
)); L182: } L183: L184: protected static Map<String, String> createItem(final Object label, final Object value) { L185: final Map<String, String> map = new HashMap<>(2); L186: map.put(Constants.ITEM_LABEL, label != null ? label.toString() : StringUtil.EMPTY); L187: map.put(Constants.ITEM_VALUE, value != null ? value.toString() : StringUtil.EMPTY); L188: return map; L189: } L190: L191:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.5K bytes