- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for SplitN (0.05 sec)
-
SuggestHelper.java
leName()); L92: } L93: fessConfig = 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).f...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 18.1K bytes -
LabelTypeHelper.java
(StringUtil.isNotBlank(includedPaths)) { L248: final StringBuilder buf = new StringBuilder(100); L249: char split = 0; L250: for (final String path : includedPaths.split("\n")) { L251: if (split == 0) { L252: split = '|'; L253: } else { L254: buf.append(split); L255: } L256: final String normalizePath = systemHelper.normalizeConfigPath(path); L257:...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 11.7K bytes -
WebFsIndexHelper.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.helper; L17: L18:import static org.codelibs.core.stream.StreamUtil.split; L19: L20:import java.util.ArrayList; L21:import java.util.Collections; L22:import java.util.List; L23:import java.util.Map; L24:import java.util.concurrent.atomic.AtomicBoolean; L25:import java.util.regex.Pattern; L26: L27:import org.apache.loggi...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 22.6K bytes -
SynonymFile.java
String[] outputs; L140: L141: final List<String> sides = split(line, "=>"); L142: if (sides.size() > 1) { // explicit mapping L143: if (sides.size() != 2) { L144: throw new DictionaryException("more than one explicit mapping specified on the same line"); L145: } L146: final List<String> inputStrings = split(sides.get(0), ","); L147: inputs = new String[inputStrings.size()];...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 12.5K bytes -
popper.min.js
0),a/100*r}return r}function X(e,t,o,n){var i=[0,0],r=-1!==['right','left'].indexOf(n),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(D(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var d=/\s*,\s*|\s+/,a=-1===s?[p]:[p.slice(0,s).concat([p[s].split(d)[0]]),[p[s].split(d)[1]].concat(p.slice(s+1))];return a=a.map(function(e,n){var i=(1===n?!r:r)?'height':'width',p=!1;return...github.com/codelibs/fess/src/main/webapp/js/adm...Sat Oct 26 01:49:09 UTC 2024 20.7K bytes -
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 -
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 -
CharMappingFile.java
path); L156: if (updater != null) { L157: updater.write("# " + line); L158: } L159: continue; L160: } L161: L162: inputs = m.group(1).trim().split(","); L163: output = m.group(2).trim(); L164: L165: if (inputs == null || output == null || inputs.length == 0) { L166: logger.warn("Failed to parse {} in {}", line, path); L167: if...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 10.2K bytes -
ViewHelper.java
t())); L184: } catch (final Throwable t) { L185: logger.warn("Failed to set SessionTrackingMode.", t); L186: } L187: L188: split(fessConfig.getQueryFacetQueries(), "\n").of(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).forEach(s -> { L189: final String[] values = StringUtils.split(s, ":", 2); L190: if (values.length != 2) { L191: return; L192: } L193: final FacetQueryView facetQueryView...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 40.2K bytes -
WebConfig.java
if (includedDocUrlPatterns == null) { L95: if (StringUtil.isNotBlank(getIncludedDocUrls())) { L96: final List<Pattern> urlPatterList = new ArrayList<>(); L97: final String[] urls = getIncludedDocUrls().split("[\r\n]"); L98: for (final String u : urls) { L99: final String v = systemHelper.normalizeConfigPath(u); L100: if (StringUtil.isNotBlank(v)) { L101: urlPatterList.add(Pattern.compile(v));...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 9.8K bytes