- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 209 for PUT (0.04 sec)
-
ApiAdminDictStemmeroverrideAction.java
messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, String.valueOf(id))); L66: return null; L67: })).status(ApiResult.Status.OK).result()); L68: } L69: L70: // PUT /api/admin/dict/stemmerOverride/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.5K bytes -
KeyMatchHelper.java
List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>>> queryMap = keyMatchQueryMap.get(virtualHost); L96: if (queryMap == null) { L97: queryMap = new HashMap<>(); L98: keyMatchQueryMap.put(virtualHost, queryMap); L99: } L100: final String termKey = toLowerCase(keyMatch.getTerm()); L101: List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>> boostList = queryMap.get(termKey);...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 8.2K bytes -
BsRole.java
null) { L65: addFieldToSource(sourceMap, "name", name); L66: } L67: return sourceMap; L68: } L69: L70: protected void addFieldToSource(Map<String, Object> sourceMap, String field, Object value) { L71: sourceMap.put(field, value); L72: } L73: L74: // =================================================================================== L75: // Basic Override L76: // ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.9K bytes -
IndexUpdater.java
(!map.containsKey(fessConfig.getIndexFieldDocId())) { L446: map.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(map)); L447: } L448: L449: ComponentUtil.getLanguageHelper().updateDocument(map); L450: } L451: L452: protected void addBoostValue(final Map<String, Object> map, final float documentBoost) { L453: final FessConfig fessConfig = ComponentUtil.getFessConfig(); L454: map.put(fessConfig.getIndexFieldBoost(), documentBoost); L455: if ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 24.2K bytes -
SystemHelperTest.java
public void test_getHostnamet() { L176: assertNotNull(systemHelper.getHostname()); L177: try { L178: envMap.put("COMPUTERNAME", "xxx"); L179: assertEquals("xxx", systemHelper.getHostname()); L180: } finally { L181: envMap.remove("COMPUTERNAME"); L182: } L183: try { L184: envMap.put("HOSTNAME", "yyy"); L185: assertEquals("yyy", systemHelper.getHostname()); L186: } finally { L187: envMap.remove("HOSTNAME");...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 18.5K bytes -
UserInfo.java
String getLogMessage() { L55: return getId(); L56: } L57: L58: public LocalDateTime getRequestedAt() { L59: return getUpdatedAt(); L60: } L61: L62: public void addField(final String key, final Object value) { L63: fields.put(key, value); L64: } L65: L66: @Override L67: public Map<String, Object> toSource() { L68: final Map<String, Object> sourceMap = super.toSource(); L69: if (fields != null) { L70: sourceMap.putAll(fields); L71: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.6K bytes -
ApiAdminFileauthAction.java
throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); L78: return null; L79: })).status(Status.OK).result()); L80: } L81: L82: // PUT /api/admin/fileauth/setting L83: @Execute L84: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L85: validateApi(body, messages -> {}); L86: if (!isValidFileConfigId(body.fileConfigId)) { 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 -
BsSearchLog.java
addFieldToSource(sourceMap, "virtualHost", virtualHost); L174: } L175: return sourceMap; L176: } L177: L178: protected void addFieldToSource(Map<String, Object> sourceMap, String field, Object value) { L179: sourceMap.put(field, value); L180: } L181: L182: // =================================================================================== L183: // Basic Override L184: // ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 12.2K bytes -
FessCrawlerThread.java
responseData = null; L84: try { L85: final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(crawlerContext.getSessionId()); L86: final Map<String, Object> dataMap = new HashMap<>(); L87: dataMap.put(fessConfig.getIndexFieldUrl(), url); L88: final List<String> roleTypeList = new ArrayList<>(); L89: stream(crawlingConfig.getPermissions()).of(stream -> stream.forEach(p -> roleTypeList.add(p))); L90: if...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 14.6K bytes -
Role.java
L58: this.attributes = attributes; L59: } L60: L61: @Override L62: public Map<String, Object> toSource() { L63: final Map<String, Object> sourceMap = new HashMap<>(); L64: if (name != null) { L65: sourceMap.put("name", name); L66: } L67: if (attributes != null) { L68: sourceMap.putAll(attributes); L69: } L70: return sourceMap; L71: } L72:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 1.8K bytes