Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for abbreviate (0.05 sec)

  1. SearchLogHelper.java

    L135: }); L136: L137: LaRequestUtil.getOptionalRequest().ifPresent(req -> { L138: searchLog.setClientIp(StringUtils.abbreviate(ComponentUtil.getViewHelper().getClientIp(req), 100)); L139: searchLog.setReferer(StringUtils.abbreviate(req.getHeader("referer"), 1000)); L140: searchLog.setUserAgent(StringUtils.abbreviate(req.getHeader("user-agent"), 255)); L141: final Object accessType = req.getAttribute(Constants.SEARCH_LOG_ACCESS_TYPE); L142: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Mon Jul 22 02:07:37 UTC 2024
      21.7K bytes
  2. FessTransformer.java

    ocumentMaxSiteLengthAsInteger(); L162: } L163: L164: default String abbreviateSite(final String value) { L165: final int maxSiteLength = getMaxSiteLength(); L166: if (maxSiteLength > -1) { L167: return StringUtils.abbreviate(value, maxSiteLength); L168: } L169: return value; L170: } L171: L172: default String getFileName(final String url, final String encoding) { L173: if (StringUtil.isBlank(url)) { L174: return StringUtil.EMPTY;...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:11:58 UTC 2024
      9.5K bytes
  3. ViewHelper.java

    DocumentUtil.getValue(document, fessConfig.getIndexFieldUrl(), String.class); L225: } L226: } L227: final int size = fessConfig.getResponseMaxTitleLengthAsInteger(); L228: if (size > -1) { L229: title = StringUtils.abbreviate(title, size); L230: } L231: final String value = LaFunctions.h(title); L232: if (!fessConfig.isResponseHighlightContentTitleEnabled()) { L233: return value; L234: } L235: return getQuerySet().map(querySet...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:20:39 UTC 2024
      40.2K bytes
  4. AdminWizardAction.java

    CrawlingConfigForm form) { L130: L131: String configName = form.crawlingConfigName; L132: String configPath = form.crawlingConfigPath.trim(); L133: if (StringUtil.isBlank(configName)) { L134: configName = StringUtils.abbreviate(configPath, 30); L135: } L136: L137: // normalize L138: final StringBuilder buf = new StringBuilder(1000); L139: for (int i = 0; i < configPath.length(); i++) { L140: final char c = configPath.charAt(i); L141:...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      12.7K bytes
  5. DocumentHelper.java

    try (final Reader reader = new StringReader(subContent)) { L169: final String originalStr = TextUtil.normalizeText(reader).initialCapacity(content.length()).spaceChars(spaceChars).execute(); L170: return StringUtils.abbreviate(originalStr, maxWidth); L171: } catch (final IOException e) { L172: return StringUtil.EMPTY; // empty L173: } L174: } L175: L176: public Map<String, Object> processRequest(final CrawlingConfig crawlingConfig, final...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      12K bytes
  6. SystemHelper.java

    String generateDocId(final Map<String, Object> map) { L373: return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY); L374: } L375: L376: public String abbreviateLongText(final String str) { L377: return StringUtils.abbreviate(str, ComponentUtil.getFessConfig().getMaxLogOutputLengthAsInteger()); L378: } L379: L380: public String normalizeHtmlLang(final String value) { L381: final String defaultLang = ComponentUtil.getFessConfig().getCrawlerDocumentHtmlDefaultLang();...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Oct 17 12:10:08 UTC 2024
      27.2K bytes
Back to top