- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 209 for PUT (0.02 sec)
-
SearchApiTests.java
paths = "file:" + getTestDataPath(); L387: requestBody.put("name", NAME_PREFIX + "FileConfig"); L388: requestBody.put("paths", paths); L389: requestBody.put("excluded_paths", ".*\\.git.*"); L390: requestBody.put("max_access_count", 100); L391: requestBody.put("num_of_thread", 1); L392: requestBody.put("interval_time", 100); L393: requestBody.put("boost", 100); L394: requestBody.put("permissions", "{role}guest"); L395: requestBody.put("available",...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 18.6K bytes -
DataConfigTests.java
Map<String, Object> requestBody = new HashMap<>(); L63: final String keyProp = NAME_PREFIX + id; L64: requestBody.put(KEY_PROPERTY, keyProp); L65: final String handlerName = "DatabaseDataStore"; L66: requestBody.put("handler_name", handlerName); L67: requestBody.put("boost", id); L68: requestBody.put("available", true); L69: requestBody.put("sort_order", id); L70: return requestBody; L71: } L72: L73: @Override L74: protected Map<String, Object>...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.5K bytes -
AdminPluginAction.java
String> beanToMap(final Artifact artifact) { L184: final Map<String, String> item = new HashMap<>(); L185: item.put("type", artifact.getType().getId()); L186: item.put("id", artifact.getName() + ":" + artifact.getVersion()); L187: item.put("name", artifact.getName()); L188: item.put("version", artifact.getVersion()); L189: item.put("url", artifact.getUrl()); L190: return item; L191: } L192: L193: private Artifact getArtifactFromInstallForm(final...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9.9K bytes -
LdapManager.java
L775: L776: protected void addUserAttributes(final BasicAttributes entry, final User user) { L777: entry.put(new BasicAttribute("cn", user.getName())); L778: entry.put(new BasicAttribute("userPassword", user.getOriginalPassword())); L779: L780: OptionalUtil.ofNullable(user.getSurname()).filter(StringUtil::isNotBlank) L781: .ifPresent(s -> entry.put(new BasicAttribute(fessConfig.getLdapAttrSurname(), s))); L782: OptionalUtil.ofNullable(user.getGivenName...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 65.9K bytes -
FessPropTest.java
source.put("aaa", ""); L108: source.put("bbb", "a"); L109: assertFalse(fessConfig.validateIndexRequiredFields(source)); L110: source.put("aaa", " "); L111: source.put("bbb", "a"); L112: assertFalse(fessConfig.validateIndexRequiredFields(source)); L113: source.put("aaa", "a"); L114: source.put("bbb", "a"); L115: assertTrue(fessConfig.validateIndexRequiredFields(source)); L116: } L117: L118: public void test_getCrawlerDocumentSpaceCharsAsArray()...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 12.7K bytes -
FileTypeHelper.java
2); L42: if (values.length == 2) { L43: mimetypeMap.put(values[0], values[1]); L44: } L45: })); L46: if (logger.isDebugEnabled()) { L47: logger.debug("loaded filetype: {}", mimetypeMap); L48: } L49: } L50: L51: public void add(final String mimetype, final String filetype) { L52: mimetypeMap.put(mimetype, filetype); L53: } L54: L55: public String get(final String mimetype) { L56: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 2.4K bytes -
FessEnv.java
defaultMap = super.prepareGeneratedDefaultMap(); L244: defaultMap.put(FessEnv.lasta_di_SMART_DEPLOY_MODE, "warm"); L245: defaultMap.put(FessEnv.DEVELOPMENT_HERE, "true"); L246: defaultMap.put(FessEnv.ENVIRONMENT_TITLE, "Local Development"); L247: defaultMap.put(FessEnv.FRAMEWORK_DEBUG, "false"); L248: defaultMap.put(FessEnv.TIME_ADJUST_TIME_MILLIS, "0"); L249: defaultMap.put(FessEnv.MAIL_SEND_MOCK, "true"); L250: defaultMap.put(F...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9.9K bytes -
DocBoostMatcherTest.java
final Map<String, Object> map = new HashMap<String, Object>(); L121: L122: map.put("boost1", 0); L123: map.put("boost2", 0); L124: assertTrue(0.0f == docBoostMatcher.getValue(map)); L125: L126: map.put("boost1", 1); L127: map.put("boost2", 0); L128: assertTrue(10.0f == docBoostMatcher.getValue(map)); L129: L130: map.put("boost1", 1); L131: map.put("boost2", 2); L132: assertTrue(12.0f == docBoostMatcher.getValue(map)); L133: } L134:}...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.6K bytes -
BoostDocTests.java
final String keyProp = NAME_PREFIX + id; L64: requestBody.put(KEY_PROPERTY, keyProp); L65: requestBody.put("boost_expr", new Integer(id).toString()); L66: requestBody.put("sort_order", id); L67: return requestBody; L68: } L69: L70: @Override L71: protected Map<String, Object> getUpdateMap() { L72: final Map<String, Object> updateMap = new HashMap<>(); L73: updateMap.put("boost_expr", "new_boost_expr"); L74: return updateMap; L75: ...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.3K bytes -
WebAuthTests.java
Object> requestBody = new HashMap<>(); L70: requestBody.put("name", "test_webconfig"); L71: requestBody.put("urls", "http://www.example.com"); L72: requestBody.put("user_agent", "Mozilla/5.0"); L73: requestBody.put("num_of_thread", 5); L74: requestBody.put("interval_time", 1000); L75: requestBody.put("boost", 100.0); L76: requestBody.put("available", true); L77: requestBody.put("sort_order", 1); L78: checkMethodBase(requestBody).put(...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.9K bytes