- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for substring (0.06 sec)
-
FessTransformer.java
} L51: L52: String url = u; L53: final String originalUrl = url; L54: L55: int idx = url.indexOf("://"); L56: if (idx >= 0) { L57: url = url.substring(idx + 3); L58: } L59: L60: idx = url.indexOf('/'); L61: if (idx >= 0) { L62: url = url.substring(0, idx); L63: } L64: L65: if (url.equals(originalUrl)) { L66: return getFessConfig().getCrawlerDocumentUnknownHostname(); L67: } L68: L69: return...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 9.5K bytes -
QueryContext.java
defaultField = ComponentUtil.getFessConfig().getIndexFieldUrl(); L65: this.queryString = queryString.substring(ALLINURL_FIELD_PREFIX.length()); L66: } else if (queryString.startsWith(ALLINTITLE_FIELD_PREFIX)) { L67: defaultField = ComponentUtil.getFessConfig().getIndexFieldTitle(); L68: this.queryString = queryString.substring(ALLINTITLE_FIELD_PREFIX.length()); L69: } else { L70: this.queryString = queryString; L71:...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 5.8K bytes -
AbstractFessFileTransformer.java
L463: final String value = decodeUrlAsName(url.substring(9), true); L464: return abbreviateSite("\\\\" + value.replace('/', '\\')); L465: } L466: if (url.startsWith("file:")) { L467: final String value = decodeUrlAsName(url.substring(5), true); L468: if (value.length() > 2 && value.charAt(2) == ':') { L469: // Windows L470: return abbreviateSite(value.substring(1).replace('/', '\\')); L471: } L472: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 23.6K bytes -
ApiAdminBackupAction.java
}); L76: } L77: if (!id.endsWith(NDJSON_EXTENTION)) { L78: final String index; L79: final String filename; L80: if (id.endsWith(".bulk")) { L81: index = id.substring(0, id.length() - 5); L82: filename = id; L83: } else { L84: index = id; L85: filename = id + ".bulk"; L86: } L87: return asStream(filename).con...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:15 UTC 2024 6.1K bytes -
QueryParser.java
= field.indexOf(':'); L156: if (indexOf < 0) { L157: return new Pair<>(field, null); L158: } L159: final String indexField = indexOf == 0 ? defaultField : field.substring(0, indexOf); L160: final String extensionKey = field.substring(indexOf + 1); L161: return new Pair<>(indexField, extensionKey); L162: } L163: } L164:}...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 5.6K bytes -
SystemHelper.java
(p.startsWith(GsaConfigParser.CONTAINS)) { L271: return ".*" + Pattern.quote(p.substring(GsaConfigParser.CONTAINS.length())) + ".*"; L272: } L273: L274: if (p.startsWith(GsaConfigParser.REGEXP)) { L275: return p.substring(GsaConfigParser.REGEXP.length()); L276: } L277: L278: if (p.startsWith(GsaConfigParser.REGEXP_CASE)) { L279: return p.substring(GsaConfigParser.REGEXP_CASE.length()); L280: } L281: L282: if (p.startsWith...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 17 12:10:08 UTC 2024 27.2K bytes -
AdminBackupAction.java
String index = indexObj.get("_index"); L216: if (index != null) { L217: if (index.startsWith(".fess")) { L218: indexObj.put("_index", index.substring(1)); L219: } L220: if (index.endsWith("scheduled_job")) { L221: resetJobs.set(true); L222: } L223: ...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 28.5K bytes -
PrunedTag.java
equalMatcher.group(2)); L121: } L122: } L123: if (matcher.group(3) != null) { L124: tag.setCss(matcher.group(3).substring(1)); L125: } L126: if (matcher.group(4) != null) { L127: tag.setId(matcher.group(4).substring(1)); L128: } L129: return tag; L130: } L131: throw new FessSystemException("Invalid pruned tag: " + v); L132: }).toArray(n...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 4.8K bytes -
ViewHelper.java
st, StringUtil.EMPTY); L850: if (target.length() > textFragmentPrefixLength + textFragmentSuffixLength) { L851: list.add(new TextFragment(null, target.substring(0, textFragmentPrefixLength), L852: target.substring(target.length() - textFragmentSuffixLength), null)); L853: } L854: } L855: } L856: } L857: } L858: return list.toArray(n...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 40.2K bytes -
FessXpathTransformer.java
lastPos = value.indexOf("-->", pos); L586: if (lastPos < 0) { L587: break; L588: } L589: if (pos == 0) { L590: value = " " + value.substring(lastPos + 3); L591: } else { L592: value = value.substring(0, pos) + " " + value.substring(lastPos + 3); L593: } L594: pos = value.indexOf("<!--"); L595: } L596: return value; L597: } L598: L599: protected String getSingleNodeValue(final...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 24 13:01:38 UTC 2024 42.9K bytes