Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 271 for If (0.12 sec)

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

         * @return the host name, or empty string if URL is blank, or unknown hostname if parsing fails
         */
        default String getHost(final String u) {
            if (StringUtil.isBlank(u)) {
                return StringUtil.EMPTY; // empty
            }
    
            String url = u;
            final String originalUrl = url;
    
            int idx = url.indexOf("://");
            if (idx >= 0) {
                url = url.substring(idx + 3);
    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/api/json/SearchApiManager.java

                }
                if (values.length > 4 && "all".equals(values[4])) {
                    return FormatType.SCROLL;
                }
                return FormatType.SEARCH;
            }
            if ("labels".equals(type)) {
                return FormatType.LABEL;
            }
            if ("popular-words".equals(type)) {
                return FormatType.POPULARWORD;
            }
            if ("favorites".equals(type)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 55.4K bytes
    - Viewed (1)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

        }
    
        /**
         * Checks if access to a given path is allowed for a specific user agent according to robots.txt rules.
         *
         * @param path The path to check for access permission
         * @param userAgent The user agent string to check against robots.txt directives
         * @return true if access is allowed, false if access is disallowed by robots.txt rules.
         *         Returns true if no matching directive is found for the user agent.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

         * Validates the document ID, logs click events if enabled, and redirects
         * to the target URL or serves file content directly if configured.
         *
         * @param form the go form containing document ID and tracking parameters
         * @return action response for redirection or content streaming
         * @throws IOException if an I/O error occurs during content retrieval
         */
        @Execute
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            String format = "0.#";
            if (value < 1024) {
                format = "0";
            } else if (value < 1024L * 1024L) {
                target /= 1024;
                unit = "K";
            } else if (value < 1024L * 1024L * 1024L) {
                target /= 1024;
                target /= 1024;
                unit = "M";
            } else if (value < 1024L * 1024L * 1024L * 1024L) {
                target /= 1024;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                    if (cachedPathMappingList == null) {
                        init();
                    }
                }
            }
            String result = text;
            for (final PathMapping pathMapping : cachedPathMappingList) {
                if (matchUserAgent(pathMapping)) {
                    String replacement = pathMapping.getReplacement();
                    if (replacement == null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                Object value = e.getValue();
                if (value == null) {
                    value = StringUtil.EMPTY;
                }
                if (value instanceof String || value == null) {
                    return new Pair<>(key, value);
                }
                if (arrayFieldSet.contains(key)) {
                    if (value instanceof String[]) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

         * @throws CrawlingAccessException if the request fails
         */
        protected ResponseData processRequest(final String uri, final boolean includeContent) {
            if (isInit.compareAndSet(false, true)) {
                init();
            }
    
            // start
            AccessTimeoutTarget accessTimeoutTarget = null;
            TimeoutTask accessTimeoutTask = null;
            if (accessTimeout != null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

            final JobExecutor jobExecutor = ComponentUtil.getJobExecutor(scriptType);
            if (jobExecutor == null) {
                throw new ScheduledJobException("No jobExecutor: " + scriptType);
            }
    
            if (!jobManager.findJobByUniqueOf(LaJobUnique.of(id)).isPresent()) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Job is running: id={}", id);
                }
                return;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                    }
    
                    if (file.canRead()) {
                        final MimeTypeHelper mimeTypeHelper = crawlerContainer.getComponent("mimeTypeHelper");
                        if (includeContent) {
                            if (logger.isDebugEnabled()) {
                                logger.debug("Parsing SmbFile Content: {}", filePath);
                            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
Back to top