- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for valueOf (0.04 sec)
-
RankFusionProcessor.java
update() { L91: CommonPoolUtil.execute(this::load); L92: } L93: L94: protected void load() { L95: final String value = System.getProperty("rank.fusion.searchers"); L96: if (StringUtil.isBlank(value)) { L97: availableSearcherNameSet = Collections.emptySet(); L98: } else { L99: availableSearcherNameSet = StreamUtil.split(value, ",") L100: .get(stream -> stream.map(String::trim).filter(StringUtil::isNotBlank).collect(Collectors.toUnmodifiableSet()));...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 18.3K bytes -
AdminSchedulerAction.java
void verifyCrudMode(final int crudMode, final int expectedMode) { L388: if (crudMode != expectedMode) { L389: throwValidationError(messages -> { L390: messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode)); L391: }, this::asListHtml); L392: } L393: } L394: L395: // =================================================================================== L396: // ...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 18.1K bytes -
SystemHelper.java
L379: L380: public String normalizeHtmlLang(final String value) { L381: final String defaultLang = ComponentUtil.getFessConfig().getCrawlerDocumentHtmlDefaultLang(); L382: if (StringUtil.isNotBlank(defaultLang)) { L383: return defaultLang; L384: } L385: L386: return normalizeLang(value); L387: } L388: L389: public String normalizeLang(final String value) { L390: if (StringUtil.isBlank(value)) { L391: return null; L392: } L393: L394:...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 17 12:10:08 UTC 2024 27.2K bytes -
SearchEngineApiManager.java
tResponse.SC_FORBIDDEN, "Invalid access token."); L92: } L93: final String path; L94: final String value = servletPath.substring(pathPrefix.length()); L95: if (!value.startsWith("/")) { L96: path = "/" + value; L97: } else { L98: path = value; L99: } L100: processRequest(request, response, path); L101: }).orElse(() -> { L102: throw...github.com/codelibs/fess/src/main/java/org/code...Thu Aug 15 08:29:24 UTC 2024 11.3K bytes -
IndexingHelper.java
return 0L; L155: } L156: L157: public boolean updateDocument(final SearchEngineClient searchEngineClient, final String id, final String field, final Object value) { L158: final FessConfig fessConfig = ComponentUtil.getFessConfig(); L159: return searchEngineClient.update(fessConfig.getIndexDocumentUpdateIndex(), id, field, value); L160: } L161: L162: public boolean deleteDocument(final SearchEngineClient searchEngineClient, final String id) { L163: final FessConfig fessConfig...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 16.8K bytes -
ViewHelper.java
fragments.length; i++) { L829: texts[i] = fragments[i].string(); L830: } L831: final String value = StringUtils.join(texts, ELLIPSIS); L832: if (StringUtil.isNotBlank(value) && !ComponentUtil.getFessConfig().endsWithFullstop(value)) { L833: return value + ELLIPSIS; L834: } L835: return value; L836: } L837: return null; L838: } L839: L840: public TextFragment[] createTextFragmentsByHighlight(final...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 40.2K bytes -
AbstractFessFileTransformer.java
final String key = entry.getKey(); L327: final String[] values = entry.getValue().split(","); L328: for (final String value : values) { L329: putResultDataWithTemplate(dataMap, key, metaDataMap.get(value), scriptConfigMap.get(key), scriptType); L330: } L331: } L332: final Map<String, String> valueConfigMap = crawlingConfig.getConfigParameterMap(ConfigName.VALUE); L333: for (final Map.Entry<String, String> entry : valueConfigMap.entrySet())...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 23.6K bytes -
AdminDesignAction.java
fileName, final String jspType) { L312: try { L313: final String[] values = URLDecoder.decode(fileName, Constants.UTF_8).split(":"); L314: if (values.length != 2) { L315: throwValidationError(messages -> messages.addErrorsInvalidDesignJspFileName(GLOBAL), this::asListHtml); L316: } L317: final String jspFileName = systemHelper.getDesignJspFileName(values[1]); L318: if (jspFileName == null) { L319: throwValidationError(messages...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 16.1K bytes -
Crawler.java
(StringUtil.isNotBlank(dataConfigIds)) { L161: final String[] values = dataConfigIds.split(","); L162: return createConfigIdList(values); L163: } L164: return null; L165: } L166: L167: private static List<String> createConfigIdList(final String[] values) { L168: final List<String> idList = new ArrayList<>(); L169: Collections.addAll(idList, values); L170: return idList; L171: } L172: L173: @Override...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 24K bytes -
FessMultipartRequestHandler.java
encoding = Charset.forName(request.getCharacterEncoding()); L254: String value = null; L255: boolean haveValue = false; L256: if (encoding != null) { L257: try { L258: value = item.getString(encoding); L259: haveValue = true; L260: } catch (final Exception e) {} L261: } L262: if (!haveValue) { L263: try { L264: value = item.getString(Charset.forName("ISO-8859-1")); L265: } catch (final...github.com/codelibs/fess/src/main/java/org/code...Wed Oct 23 13:27:21 UTC 2024 18.6K bytes