- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 319 for Docstring (0.11 sec)
-
PathMapping.java
} L86: L87: if (userAgentPattern == null) { L88: userAgentPattern = Pattern.compile(getUserAgent()); L89: } L90: return userAgentPattern.matcher(input); L91: } L92: L93: @Override L94: public String toString() { L95: return "PathMapping [regexPattern=" + regexPattern + ", createdBy=" + createdBy + ", createdTime=" + createdTime + ", processType=" L96: + processType + ", regex=" + regex + ", replacement=" + replacement + ", sortOrder="...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.3K bytes -
EsPagingResultBean.java
aggregations; L37: L38: private SearchRequestBuilder builder; L39: L40: public EsPagingResultBean(final SearchRequestBuilder builder) { L41: this.builder = builder; L42: } L43: L44: public String getQueryDsl() { L45: return builder.toString(); L46: } L47: L48: public long getTook() { L49: return took; L50: } L51: L52: public void setTook(long took) { L53: this.took = took; L54: } L55: L56: public int getTotalShards() { L57: return totalShards;...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.5K bytes -
RoleBhv.java
protected <RESULT extends Role> RESULT createEntity(final Map<String, Object> source, final Class<? extends RESULT> entityType) { L46: try { L47: final RESULT result = entityType.newInstance(); L48: result.setName(DfTypeUtil.toString(source.get("name"))); L49: result.setAttributes(source.entrySet().stream().filter(e -> !"name".equals(e.getKey())) L50: .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst,...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.2K bytes -
DuplicateHostTests.java
final Map<String, Object> requestBody = new HashMap<>(); L63: final String keyProp = NAME_PREFIX + id; L64: requestBody.put(KEY_PROPERTY, keyProp); L65: requestBody.put("duplicate_host_name", "duplicate_" + 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: ...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.4K bytes -
LabelTypeTests.java
createTestParam(int id) { L62: final Map<String, Object> requestBody = new HashMap<>(); L63: final String keyProp = NAME_PREFIX + id; L64: requestBody.put(KEY_PROPERTY, keyProp); L65: requestBody.put("value", new Integer(id).toString()); L66: return requestBody; L67: } L68: L69: @Override L70: protected Map<String, Object> getUpdateMap() { L71: final Map<String, Object> updateMap = new HashMap<>(); L72: updateMap.put("value", "newValue"); L73: ...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.3K bytes -
PingSearchEngineJob.java
(status == 0) { L83: resultBuf.append(ping.getClusterName()).append(" is alive."); L84: } else { L85: resultBuf.append(ping.getClusterName()).append(" is not available."); L86: } L87: L88: return resultBuf.toString(); L89: } L90: L91:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.1K bytes -
ScoreUpdater.java
\n'); L35: } catch (final Exception e) { L36: logger.warn("Failed to update scores.", e); L37: resultBuf.append(e.getMessage()).append('\n'); L38: } L39: }); L40: return resultBuf.toString(); L41: } L42: L43: protected void addScoreBooster(final ScoreBooster scoreBooster) { L44: scoreBoosterList.add(scoreBooster); L45: scoreBoosterList.sort((b1, b2) -> b2.getPriority() - b1.getPriority()); L46: } L47:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 1.7K bytes -
FessActionAdjustmentProvider.java
final String prefix = "/" + virtualHostKey; L50: if (requestPath.startsWith(prefix)) { L51: return requestPath.substring(prefix.length()); L52: } L53: return null; L54: } L55: L56: @Override L57: public String toString() { L58: return DfTypeUtil.toClassTitle(this) + ":{}"; L59: } L60:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2K bytes -
ThumbnailManager.java
docid.substring(i).hashCode() % splitHashSize; L307: if (hash < 0) { L308: hash *= -1; L309: } L310: buf.append('_').append(Integer.toString(hash)).append('/'); L311: } L312: buf.append(docid).append('.').append(imageExtention); L313: return buf.toString(); L314: } L315: L316: public File getThumbnailFile(final Map<String, Object> docMap) { L317: final String thumbnailPath = getImageFilename(docMap); L318: if ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 21.5K bytes -
ProtwordsItem.java
false; L78: } L79: final ProtwordsItem other = (ProtwordsItem) obj; L80: if (!input.equals(other.input)) { L81: return false; L82: } L83: return true; L84: } L85: L86: @Override L87: public String toString() { L88: return "ProtwordsItem [id=" + id + ", inputs=" + input + ", newInputs=" + newInput + "]"; L89: } L90: L91: public String toLineString() { L92: if (isUpdated()) { L93: return StringUtils.join(newInput); L94:...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 2.4K bytes