- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for input (0.02 sec)
-
FessFunctions.java
input) { L365: String[] values = null; L366: if (input instanceof String[]) { L367: values = (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...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 16.9K bytes -
AdminDictProtwordsAction.java
createProtwordsItem(final FessBaseAction action, final CreateForm form, L351: final VaErrorHook hook) { L352: return getEntity(form).map(entity -> { L353: final String newInput = form.input; L354: validateProtwordsString(action, newInput, "input", hook); L355: entity.setNewInput(newInput); L356: return entity; L357: }); L358: } L359: L360: // ===================================================================================...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 17.2K bytes -
FileConfig.java
return Constants.TRUE; L70: } L71: L72: for (final Pattern pattern : includedDocPathPatterns) { L73: if (pattern.matcher(input).matches()) { L74: return Constants.TRUE; L75: } L76: } L77: L78: for (final Pattern pattern : excludedDocPathPatterns) { L79: if (pattern.matcher(input).matches()) { L80: return Constants.FALSE; L81: } L82: } L83: L84: return Constants.TRUE; L85: L86: } L87:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9.8K bytes -
StemmerOverrideFile.java
null) { L154: updater.write("# " + line); L155: } L156: continue; L157: } L158: L159: final String input = m.group(1).trim(); L160: final String output = m.group(2).trim(); L161: L162: if (input == null || output == null) { L163: logger.warn("Failed to parse {} to {}", line, path); L164: if (updater != null) { L165: updater.write("#...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 10.6K bytes -
AdminDictStopwordsAction.java
L339: public static OptionalEntity<StopwordsItem> createStopwordsItem(final CreateForm form, final VaErrorHook hook) { L340: return getEntity(form).map(entity -> { L341: final String newInput = form.input; L342: validateStopwordsString(newInput, "input", hook); L343: entity.setNewInput(newInput); L344: return entity; L345: }); L346: } L347: L348: // ===================================================================================...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 16.7K bytes -
AdminDictStemmeroverrideAction.java
public HtmlResponse edit(final EditForm form) { L160: validate(form, messages -> {}, () -> asListHtml(form.dictId)); L161: stemmerOverrideService.getStemmerOverrideItem(form.dictId, form.id).ifPresent(entity -> { L162: form.input = entity.getInput(); L163: form.output = entity.getOutput(); L164: }).orElse(() -> { L165: throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, form.getDisplayId()), L166: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 18.6K bytes -
WebConfig.java
return Constants.TRUE; L74: } L75: L76: for (final Pattern pattern : includedDocUrlPatterns) { L77: if (pattern.matcher(input).matches()) { L78: return Constants.TRUE; L79: } L80: } L81: L82: for (final Pattern pattern : excludedDocUrlPatterns) { L83: if (pattern.matcher(input).matches()) { L84: return Constants.FALSE; L85: } L86: } L87: L88: return Constants.TRUE; L89: } L90: L91:...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 9.8K bytes -
FessSearchAction.java
queryBuf.append(URLUtil.encode(entry.getValue(), Constants.UTF_8)); L222: queryBuf.append('='); L223: queryBuf.append(URLUtil.encode(entry.getKey(), Constants.UTF_8)); L224: formBuf.append("<input type=\"hidden\" name=\""); L225: formBuf.append(StringEscapeUtils.escapeHtml4(entry.getValue())); L226: formBuf.append("\" value=\""); L227: formBuf.append(StringEscapeUtils.escapeHtml4(entry.getKey()));...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 10K bytes -
CharMappingFile.java
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 (updater != null) { L168: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 10.2K bytes -
DataConfig.java
(value != null) { L107: try { L108: boost = Float.parseFloat(value); L109: } catch (final Exception e) {} L110: } L111: } L112: L113: @Override L114: public String getIndexingTarget(final String input) { L115: // always return true L116: return Constants.TRUE; L117: } L118: L119: @Override L120: public String getConfigId() { L121: return ConfigType.DATA.getConfigId(getId()); L122: } L123: L124: public Map<String,...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:15 UTC 2024 18.5K bytes