- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for forEach (0.06 sec)
-
FessProp.java
Fields(final String... fields) { L1630: final List<String> list = new ArrayList<>(fields.length + 10); L1631: stream(fields).of(stream -> stream.forEach(list::add)); L1632: split(getQueryAdditionalResponseFields(), ",") L1633: .of(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).forEach(list::add)); L1634: return list.toArray(new String[list.size()]); L1635: } L1636: L1637: String getQueryAdditionalScrollResponseFields(); L1638: L1639:...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:15 UTC 2024 87.2K bytes -
WebFsIndexHelper.java
final DuplicateHostHelper duplicateHostHelper = ComponentUtil.getDuplicateHostHelper(); L154: L155: // set urls L156: split(urlsStr, "[\r\n]").of(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).distinct().forEach(urlValue -> { L157: if (!urlValue.startsWith("#") && protocolHelper.isValidWebProtocol(urlValue)) { L158: final String u = duplicateHostHelper.convert(urlValue); L159: crawler.addUrl(u); L160: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 22.6K bytes -
SuggestHelper.java
split(fessConfig.getSuggestFieldContents(), ",") L95: .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(contentFieldNameSet::add)); L96: split(fessConfig.getSuggestFieldTags(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(tagFieldNameSet::add)); L97: split(fessConfig.getSuggestFieldRoles(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(roleFieldNameSet::add)); L98: contentFieldList = Arrays.asList(stream(fessConfig.getSuggestField...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 18.1K bytes -
ExecJob.java
!= null && k.toString().startsWith(Constants.FESS_CONFIG_PREFIX)) L152: .forEach(k -> addSystemProperty(cmdList, k.toString(), null, null)); L153: } L154: L155: protected void addFessSystemProperties(final List<String> cmdList) { L156: System.getProperties().keySet().stream().filter(k -> k != null && k.toString().startsWith(Constants.SYSTEM_PROP_PREFIX)) L157: .forEach(k -> addSystemProperty(cmdList, k.toString(), null, null)); L158: } L159: L160: protected...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 7.7K bytes -
OpenIdConnectCredential.java
final Set<String> permissionSet = new HashSet<>(); L116: permissionSet.add(systemHelper.getSearchRoleByUser(name)); L117: stream(groups).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByGroup(s)))); L118: stream(roles).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByRole(s)))); L119: permissions = permissionSet.toArray(new String[permissionSet.size()]); L120: } L121: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 4.2K bytes -
ThumbnailManager.java
interrupt(); L157: try { L158: thumbnailQueueThread.join(10000); L159: } catch (final InterruptedException e) { L160: logger.warn("Thumbnail thread is timeouted.", e); L161: } L162: generatorList.forEach(g -> { L163: try { L164: g.destroy(); L165: } catch (final Exception e) { L166: logger.warn("Failed to stop thumbnail generator.", e); L167: } L168: }); L169: } L170: L171: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 21.5K bytes -
SearchApiManager.java
()); L785: stream(parameter.getSuggestFields()).of(stream -> stream.forEach(builder::addField)); L786: roleQueryHelper.build(SearchRequestType.SUGGEST).stream().forEach(builder::addRole); L787: builder.setSize(parameter.getNum()); L788: stream(langs).of(stream -> stream.forEach(builder::addLang)); L789: L790: stream(parameter.getTags()).of(stream -> stream.forEach(builder::addTag)); L791: final String key = ComponentUtil.getVirtua...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 50.3K bytes -
SystemHelper.java
final List<Path> fileList = new ArrayList<>(); L340: stream(ComponentUtil.getVirtualHostHelper().getVirtualHostPaths()) L341: .of(stream -> stream.filter(s -> s != null && !"/".equals(s)).forEach(key -> { L342: designJspFileNameMap.entrySet().stream().forEach(e -> { L343: final File jspFile = getDesignJspFile("/WEB-INF/view" + key + "/" + e.getValue()); L344: if (!jspFile.exists()) { L345: ...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 17 12:10:08 UTC 2024 27.2K bytes -
popper.min.js
A(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function U(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=R(this.reference,this.state))}function Y(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function V(e,t){Object.keys(t).forEach(function(o){var n='';-1!==['width','height','top','right','bott...github.com/codelibs/fess/src/main/webapp/js/adm...Sat Oct 26 01:49:09 UTC 2024 20.7K bytes -
QueryCommand.java
importantContentBoost)); L85: } L86: final float importantContantLangBoost = fessConfig.getQueryBoostImportantContentLangAsDecimal().floatValue(); L87: getQueryLanguages().ifPresent(langs -> stream(langs).of(stream -> stream.forEach(lang -> { L88: defaultQuery.add( L89: builder.apply(fessConfig.getIndexFieldTitle() + "_" + lang, fessConfig.getQueryBoostTitleLangAsDecimal().floatValue())); L90: defaultQuery.add(builder.apply(fessConfig...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 6.5K bytes