Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for abbreviate (0.04 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

        default int getMaxSiteLength() {
            return getFessConfig().getCrawlerDocumentMaxSiteLengthAsInteger();
        }
    
        /**
         * Abbreviates a site string to the maximum allowed length if configured.
         *
         * @param value the site string to abbreviate
         * @return the abbreviated string, or original if no length limit is set
         */
        default String abbreviateSite(final String value) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            });
    
            LaRequestUtil.getOptionalRequest().ifPresent(req -> {
                searchLog.setClientIp(StringUtils.abbreviate(ComponentUtil.getViewHelper().getClientIp(req), 100));
                searchLog.setReferer(StringUtils.abbreviate(req.getHeader("referer"), 1000));
                searchLog.setUserAgent(StringUtils.abbreviate(req.getHeader("user-agent"), 255));
                final Object accessType = req.getAttribute(Constants.SEARCH_LOG_ACCESS_TYPE);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Stopwatch.java

        double value = (double) nanos / NANOSECONDS.convert(1, unit);
    
        // Too bad this functionality is not exposed as a regular method call
        return Platform.formatCompact4Digits(value) + " " + abbreviate(unit);
      }
    
      private static TimeUnit chooseUnit(long nanos) {
        if (DAYS.convert(nanos, NANOSECONDS) > 0) {
          return DAYS;
        }
        if (HOURS.convert(nanos, NANOSECONDS) > 0) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. cmd/fmt-gen.go

    DIR:
      DIR points to a directory on a filesystem. When you want to combine
      multiple drives into a single large system, pass one directory per
      filesystem separated by space. You may also use a '...' convention
      to abbreviate the directory arguments. Remote directories in a
      distributed setup are encoded as HTTP(s) URIs.
    {{if .VisibleFlags}}
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}{{end}}
    EXAMPLES:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. docs/distributed/DESIGN.md

    DIR:
      DIR points to a directory on a filesystem. When you want to combine
      multiple drives into a single large system, pass one directory per
      filesystem separated by space. You may also use a '...' convention
      to abbreviate the directory arguments. Remote directories in a
      distributed setup are encoded as HTTP(s) URIs.
    ```
    
    ## Common usage
    
    Standalone erasure coded configuration with 4 sets with 16 drives each.
    
    ```
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 8K bytes
    - Viewed (2)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                }
            }
            final int size = fessConfig.getResponseMaxTitleLengthAsInteger();
            if (size > -1) {
                title = StringUtils.abbreviate(title, size);
            }
            final String value = LaFunctions.h(title);
            if (!fessConfig.isResponseHighlightContentTitleEnabled()) {
                return value;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
        /**
         * Abbreviates a long text string.
         *
         * @param str The string to abbreviate.
         * @return The abbreviated string.
         */
        public String abbreviateLongText(final String str) {
            return StringUtils.abbreviate(str, ComponentUtil.getFessConfig().getMaxLogOutputLengthAsInteger());
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                final String originalStr = TextUtil.normalizeText(reader).initialCapacity(content.length()).spaceChars(spaceChars).execute();
                return StringUtils.abbreviate(originalStr, maxWidth);
            } catch (final IOException e) {
                return StringUtil.EMPTY; // empty
            }
        }
    
        /**
         * Processes a crawling request for a specific URL.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

            String configName = form.crawlingConfigName;
            String configPath = form.crawlingConfigPath.trim();
            if (StringUtil.isBlank(configName)) {
                configName = StringUtils.abbreviate(configPath, 30);
            }
    
            // normalize
            final StringBuilder buf = new StringBuilder(1000);
            for (int i = 0; i < configPath.length(); i++) {
                final char c = configPath.charAt(i);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  10. cmd/server-main.go

    DIR:
      DIR points to a directory on a filesystem. When you want to combine
      multiple drives into a single large system, pass one directory per
      filesystem separated by space. You may also use a '...' convention
      to abbreviate the directory arguments. Remote directories in a
      distributed setup are encoded as HTTP(s) URIs.
    {{if .VisibleFlags}}
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}{{end}}
    EXAMPLES:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
Back to top