- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 51 for SplitN (0.05 sec)
-
TermQueryCommand.java
convertSortQuery(final FessConfig fessConfig, final QueryContext context, final TermQuery termQuery, L127: final float boost, final String field, final String text) { L128: split(text, ",").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(t -> { L129: final String[] values = t.split("\\."); L130: if (values.length > 2) { L131: throw new InvalidQueryException(messages -> messages.addErrorsInvalidQuerySortValue(UserMessages.GLOBAL_PROPERTY_KEY,...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:15 UTC 2024 10K bytes -
ElevateWordService.java
continue; L199: } L200: try { L201: final String[] permissions = split(getValue(list, 2), ",").get(stream -> stream.map(permissionHelper::encode) L202: .filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n])); L203: final String[] labels = split(getValue(list, 3), ",") L204: .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().toArray(n...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 15.5K bytes -
AdminFileconfigAction.java
L316: final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper(); L317: entity.setPermissions(split(form.permissions, "\n").get(stream -> stream.map(s -> permissionHelper.encode(s)) L318: .filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n]))); L319: entity.setVirtualHosts(split(form.virtualHosts, "\n") L320: .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().map(String::trim).toArray(n...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 17.1K bytes -
AdminWebconfigAction.java
L324: final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper(); L325: entity.setPermissions(split(form.permissions, "\n").get(stream -> stream.map(s -> permissionHelper.encode(s)) L326: .filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n]))); L327: entity.setVirtualHosts(split(form.virtualHosts, "\n") L328: .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().map(String::trim).toArray(n...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 17.2K bytes -
FessCrawlerThread.java
getClientRuleList(final String value) { L295: if (StringUtil.isBlank(value)) { L296: return Collections.emptyList(); L297: } L298: return split(value, ",").get(stream -> stream.map(String::trim)// L299: .map(s -> clientRuleCache.computeIfAbsent(s, t -> { L300: final String[] values = t.split(":", 2); L301: if (values.length != 2) { L302: return null; L303: } L304: return...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 14.6K bytes -
AdminStorageAction.java
either express or implied. See the License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.app.web.admin.storage; L17: L18:import static org.codelibs.core.stream.StreamUtil.split; L19: L20:import java.io.InputStream; L21:import java.net.URLDecoder; L22:import java.net.URLEncoder; L23:import java.util.ArrayList; L24:import java.util.Base64; L25:import java.util.HashMap; L26:import java.util.List; L27:import java.util.Map; L28:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 19.9K bytes -
RoleQueryHelper.java
if (values.length > 1) { L268: final String[] roles = values[1].split(roleSeparator); L269: for (final String role : roles) { L270: if (StringUtil.isNotEmpty(role)) { L271: roleSet.add(role); L272: } L273: } L274: } L275: } else { L276: final String[] roles = rolesStr.split(roleSeparator); L277: for (final String role : roles) { L278: ...github.com/codelibs/fess/src/main/java/org/code...Thu Jul 25 01:48:41 UTC 2024 11.5K bytes -
Crawler.java
(StringUtil.isNotBlank(webConfigIds)) { L145: final String[] values = webConfigIds.split(","); L146: return createConfigIdList(values); L147: } L148: return null; L149: } L150: L151: protected List<String> getFileConfigIdList() { L152: if (StringUtil.isNotBlank(fileConfigIds)) { L153: final String[] values = fileConfigIds.split(","); L154: return createConfigIdList(values); L155: } L156: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 24K bytes -
GsaConfigParser.java
KIND, L13: * either express or implied. See the License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.util; L17: L18:import static org.codelibs.core.stream.StreamUtil.split; L19: L20:import java.util.ArrayList; L21:import java.util.Arrays; L22:import java.util.HashMap; L23:import java.util.LinkedList; L24:import java.util.List; L25:import java.util.Map; L26:import java.util.regex.Pattern; L27:import java.util.stream.Collectors;...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 14.1K bytes -
FileConfig.java
if (includedDocPathPatterns == null) { L92: if (StringUtil.isNotBlank(getIncludedDocPaths())) { L93: final List<Pattern> pathPatterList = new ArrayList<>(); L94: final String[] paths = getIncludedDocPaths().split("[\r\n]"); L95: for (final String u : paths) { L96: final String v = systemHelper.normalizeConfigPath(u); L97: if (StringUtil.isNotBlank(v)) { L98: pathPatterList.add(Patt...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9.8K bytes