Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for REPLACE (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

         */
        protected String path;
    
        /**
         * A string to replace ?.
         */
        protected String questionStr = "_QUEST_";
    
        /**
         * A string to replace :.
         */
        protected String colonStr = "_CLN_";
    
        /**
         * A string to replace ;.
         */
        protected String semicolonStr = "_SCLN_";
    
        /**
         * A string to replace &.
         */
        protected String ampersandStr = "_AMP_";
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            final File targetFile = ResourceUtil.getResourceAsFile("test");
            String path = targetFile.getAbsolutePath();
            if (!path.startsWith("/")) {
                path = "/" + path.replace('\\', '/');
            }
            final String url = "file:" + path;
    
            final int maxCount = 3;
            final int numOfThread = 2;
    
            final File file = File.createTempFile("crawler-", "");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                final String text = source.get(FieldNames.TEXT).toString();
                if (skipDuplicateWords) {
                    final String duplicateCheckStr = text.replace(" ", "");
                    if (words.stream().map(word -> word.replace(" ", "")).anyMatch(word -> word.equals(duplicateCheckStr))) {
                        // skip duplicate word.
                        continue;
                    }
                }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

         * @param credentials The credentials.
         * @param value The value to replace.
         * @return The value with credentials replaced.
         */
        protected String replaceCredentials(final Credentials credentials, final String value) {
            if (StringUtil.isNotBlank(value)) {
                return value.replace(USERNAME, credentials.getUserPrincipal().getName()).replace(PASSWORD, credentials.getPassword());
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            final File targetFile = ResourceUtil.getResourceAsFile("test");
            String path = targetFile.getAbsolutePath();
            if (!path.startsWith("/")) {
                path = "/" + path.replace('\\', '/');
            }
            final String url = "file:" + path;
    
            final int maxCount = 3;
            final int numOfThread = 2;
    
            final File file = File.createTempFile("crawler-", "");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/Suggester.java

            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to replace with new index.", e);
                }
                throw new SuggesterException("Failed to replace with new index.", e);
            }
        }
    
        /**
         * Switches the search alias to the current update index.
         */
        public void switchIndex() {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  7. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         *
         * @param query the query string to escape
         * @return the escaped query string
         */
        public static String escapeWildcardQuery(final String query) {
            return query.replace("*", "\\*").replace("?", "\\?");
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                if (StringUtil.isBlank(s)) {
                    throw new CrawlingAccessException("uri is blank.");
                }
    
                try {
                    uri = new URI(normalize(s).replace("%", "%25").replace(" ", "%20"));
                } catch (final URISyntaxException e) {
                    throw new CrawlingAccessException("Invalid URL: " + s, e);
                }
    
                if (!"ftp".equals(uri.getScheme())) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

         *
         * @param directive The directive to add to the robots.txt rules
         */
        public void addDirective(final Directive directive) {
            directiveMap.put(Pattern.compile(directive.getUserAgent().replace("*", ".*"), Pattern.CASE_INSENSITIVE), directive);
        }
    
        /**
         * Adds a sitemap URL to the list of sitemaps.
         *
         * @param url The URL of the sitemap to be added
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                url = url.substring(0, idx);
            }
    
            url = url.replace("/./", "/");
    
            idx = url.indexOf(";jsessionid");
            if (idx >= 0) {
                url = url.replaceFirst(";jsessionid=[a-zA-Z0-9\\.]*", "");
            }
    
            if (url.indexOf(' ') >= 0) {
                url = url.replace(" ", "%20");
            }
    
            String oldUrl = null;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
Back to top