- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 209 for PUT (0.01 sec)
-
RelatedQueryHelper.java
final String key = getHostKey(entity); L60: Map<String, String[]> map = relatedQueryMap.get(key); L61: if (map == null) { L62: map = new HashMap<>(); L63: relatedQueryMap.put(key, map); L64: } L65: map.put(toLowerCase(entity.getTerm()), entity.getQueries()); L66: }); L67: this.relatedQueryMap = relatedQueryMap; L68: return relatedQueryMap.size(); L69: } L70: L71: protected String getHostKey(final RelatedQuery...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.2K bytes -
FacetQueryView.java
fileType; L48: if (resources.containsKey(key)) { L49: queryMap.put(key, value); L50: } else { L51: queryMap.put(fileType.toUpperCase(Locale.ROOT), value); L52: } L53: } L54: } L55: queryMap.remove("labels.facet_filetype_others"); L56: queryMap.put("labels.facet_filetype_others", "filetype:others"); L57: if (logger.isDebugEnabled()) { L58:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3K bytes -
SearchHelper.java
(Float.isFinite(score)) { L232: docMap.put(Constants.SCORE, score); L233: } L234: } L235: L236: docMap.put(fessConfig.getIndexFieldId(), hit.getId()); L237: docMap.put(fessConfig.getIndexFieldVersion(), hit.getVersion()); L238: docMap.put(fessConfig.getIndexFieldSeqNo(), hit.getSeqNo()); L239: docMap.put(fessConfig.getIndexFieldPrimaryTerm(), hit.getPrimaryTerm());...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 19.1K bytes -
SystemHelper.java
opertiesFile()); L175: L176: updateConfigListenerMap.put("Label", () -> Integer.toString(ComponentUtil.getLabelTypeHelper().load())); L177: updateConfigListenerMap.put("PathMapping", () -> Integer.toString(ComponentUtil.getPathMappingHelper().load())); L178: updateConfigListenerMap.put("RelatedContent", () -> Integer.toString(ComponentUtil.getRelatedContentHelper().load())); L179: updateConfigListenerMap.put("RelatedQuery", () -> Integer.toString(ComponentUtil.getRela...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 17 12:10:08 UTC 2024 27.2K bytes -
DocMapTest.java
DocMap(value); L30: assertTrue(docMap.isEmpty()); L31: value.clear(); L32: L33: List<String> keys = Arrays.asList("test_2", "test_0", "lang", "test_1"); L34: value.put(keys.get(0), true); L35: value.put(keys.get(1), 1000); L36: value.put(keys.get(2), "ja"); L37: value.put(keys.get(3), "str"); L38: docMap = new DocMap(value); L39: assertFalse(docMap.isEmpty()); L40: L41: Set<Map.Entry<String, Object>> actual = docMap.entrySet(); L42: ...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 1.5K bytes -
CrudTestBase.java
Object> requestBody = new HashMap<>(updateMap); L160: requestBody.put("version_no", 1); L161: final String idKey = getIdKey(); L162: if (setting.containsKey(idKey)) { L163: requestBody.put(idKey, setting.get(idKey)); L164: } L165: for (String key : keySet) { L166: if (!requestBody.containsKey(key)) { L167: requestBody.put(key, setting.get(key)); L168: } L169: } L170: L171:...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:53:18 UTC 2024 9.1K bytes -
CrawlingInfoHelperTest.java
final Map<String, Object> dataMap = new HashMap<String, Object>(); L83: dataMap.put("url", "http://example.com/"); L84: final List<String> roleTypeList = new ArrayList<String>(); L85: roleTypeList.add("admin"); L86: dataMap.put("role", roleTypeList); L87: final List<String> virtualHostList = new ArrayList<String>(); L88: virtualHostList.add("site1"); L89: dataMap.put("virtual_host", virtualHostList); L90: L91: assertEquals( L92: ...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 8.5K bytes -
IndexUpdateCallbackImpl.java
.of(stream -> stream.forEach(newLabelSet::add)); L111: matchedLabelSet.stream().forEach(newLabelSet::add); L112: dataMap.put(fessConfig.getIndexFieldLabel(), newLabelSet.toArray(new String[newLabelSet.size()])); L113: } L114: L115: if (!dataMap.containsKey(fessConfig.getIndexFieldDocId())) { L116: dataMap.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(dataMap)); L117: } L118: L119: ComponentUtil.getLanguageHelper().upd...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.9K bytes -
ApiAdminDocumentsAction.java
{ L104: doc.put(indexFieldBoost, 1.0f); L105: } L106: if (!doc.containsKey(indexFieldRole)) { L107: doc.put(indexFieldRole, guestRoleList); L108: } L109: if (!doc.containsKey(indexFieldLastModified)) { L110: doc.put(indexFieldLastModified, now); L111: } L112: if (!doc.containsKey(indexFieldTimestamp)) { L113: doc.put(indexFieldTimestamp, now); L114: } L115: ...github.com/codelibs/fess/src/main/java/org/code...Thu Jul 25 01:48:41 UTC 2024 7.5K bytes -
ApiAdminUserAction.java
throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); L61: return null; L62: })).status(ApiResult.Status.OK).result()); L63: } L64: L65: // PUT /api/admin/user/setting L66: @Execute L67: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L68: validateApi(body, messages -> {}); L69: body.crudMode = CrudMode.CREATE; L70: final User entity = getUser(body).orElseGet(() -> { L71: t...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 5.8K bytes