- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for stream (0.09 sec)
-
AdminBackupAction.java
L305: L306: @Execute L307: @Secured({ ROLE, ROLE + VIEW }) L308: public ActionResponse download(final String id) { L309: if (stream(fessConfig.getIndexBackupAllTargets()).get(stream -> stream.anyMatch(s -> s.equals(id)))) { L310: if ("system.properties".equals(id)) { L311: return asStream(id).contentTypeOctetStream().stream(out -> { L312: try (final ByteArrayOutputStream baos = new ByteArrayOutputStream()) { L313: Co...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 28.5K bytes -
AdminDataconfigAction.java
License. L15: */ L16:package org.codelibs.fess.app.web.admin.dataconfig; L17: L18:import static org.codelibs.core.stream.StreamUtil.split; L19:import static org.codelibs.core.stream.StreamUtil.stream; L20: L21:import java.util.ArrayList; L22:import java.util.HashMap; L23:import java.util.List; L24:import java.util.Map; L25:import java.util.stream.Collectors; L26:import java.util.stream.Stream; L27: L28:import org.apache.logging.log4j.LogManager; L29:import org.apache.logging.log4j.Logger; L30:import ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 17.5K bytes -
SuggestHelper.java
ComponentUtil.getFessConfig(); L94: 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 = Arra...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 18.1K bytes -
QueryFieldConfig.java
License. L15: */ L16:package org.codelibs.fess.query; L17: L18:import static org.codelibs.core.stream.StreamUtil.split; L19:import static org.codelibs.core.stream.StreamUtil.stream; L20: L21:import java.util.ArrayList; L22:import java.util.Collections; L23:import java.util.HashSet; L24:import java.util.List; L25:import java.util.Set; L26:import java.util.function.Consumer; L27:import java.util.stream.Stream; L28: L29:import org.apache.logging.log4j.LogManager; L30:import org.apache.logging.log4j.Logger;...github.com/codelibs/fess/src/main/java/org/code...Mon Jul 22 04:30:56 UTC 2024 16K bytes -
FessFunctions.java
(String[]) input; L368: } else if (input instanceof List) { L369: values = ((List<?>) input).stream().filter(Objects::nonNull).map(Object::toString).toArray(n -> new String[n]); L370: } else if (input instanceof String) { L371: return input.toString(); L372: } L373: if (values != null) { L374: return stream(values).get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).collect(Collectors.joining(" "))); L375: } L376: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 16.9K bytes -
DefaultSearcher.java
seInnerHitsName() + "_hash", bitsField.getValues().get(0)); L90: } L91: docMap.put(fessConfig.getQueryCollapseInnerHitsName(), StreamUtil.stream(innerSearchHits.getHits()) L92: .get(stream -> stream.map(v -> parseSearchHit(fessConfig, hlPrefix, v)).toArray(n -> new Map[n]))); L93: } L94: } L95: } L96: } L97: L98: ...github.com/codelibs/fess/src/main/java/org/code...Mon Jul 22 06:56:21 UTC 2024 10.2K bytes -
CrawlingInfoHelper.java
buf.append(";r="); L167: buf.append(roleTypeList.stream().sorted().collect(Collectors.joining(","))); L168: } L169: L170: @SuppressWarnings("unchecked") L171: final List<String> virtualHostList = (List<String>) dataMap.get(fessConfig.getIndexFieldVirtualHost()); L172: if (virtualHostList != null && !virtualHostList.isEmpty()) { L173: buf.append(";v="); L174: buf.append(virtualHostList.stream().sorted().collect(Collectors.joining(","))); L175: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 10.6K bytes -
AdminFileconfigAction.java
L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.app.web.admin.fileconfig; L17: L18:import static org.codelibs.core.stream.StreamUtil.split; L19:import static org.codelibs.core.stream.StreamUtil.stream; L20: L21:import java.util.stream.Collectors; L22:import java.util.stream.Stream; L23: L24:import org.apache.logging.log4j.LogManager; L25:import org.apache.logging.log4j.Logger; L26:import org.codelibs.core.lang.StringUtil; L27:import org.codelibs.fess.Constants;...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 17.1K bytes -
AdminWebconfigAction.java
L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.app.web.admin.webconfig; L17: L18:import static org.codelibs.core.stream.StreamUtil.split; L19:import static org.codelibs.core.stream.StreamUtil.stream; L20: L21:import java.util.stream.Collectors; L22:import java.util.stream.Stream; L23: L24:import org.apache.logging.log4j.LogManager; L25:import org.apache.logging.log4j.Logger; L26:import org.codelibs.core.lang.StringUtil; L27:import org.codelibs.fess.Constants;...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 17.2K bytes -
ElevateWordService.java
limitations under the License. L15: */ L16:package org.codelibs.fess.app.service; L17: L18:import static org.codelibs.core.stream.StreamUtil.split; L19:import static org.codelibs.core.stream.StreamUtil.stream; L20: L21:import java.io.IOException; L22:import java.io.Reader; L23:import java.io.Writer; L24:import java.util.ArrayList; L25:import java.util.List; L26:import java.util.stream.Collectors; L27: L28:import org.apache.logging.log4j.LogManager; L29:import org.apache.logging.log4j.Logger; L30:import...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 15.5K bytes