Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for replaceUrl (0.05 sec)

  1. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            assertEquals("\"http://localhost/\"", pathMappingHelper.replaceUrls(text));
    
            text = "\"file:///home/user/\"";
            assertEquals("\"http://localhost/user/\"", pathMappingHelper.replaceUrls(text));
    
            text = "\"aaafile:///home/user/\"";
            assertEquals("\"aaahttp://localhost/user/\"", pathMappingHelper.replaceUrls(text));
    
            text = "aaa\"file:///home/user/\"bbb";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            String url = responseData.getUrl();
            final String indexingTarget = crawlingConfig.getIndexingTarget(url);
            url = pathMappingHelper.replaceUrl(sessionId, url);
    
            final FieldConfigs fieldConfigs = new FieldConfigs(crawlingConfig.getConfigParameterMap(ConfigName.FIELD));
    
            String urlEncoding;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                    buf.append('\t').append("action:begin");
                    buf.append('\t').append("error:").append(escapeValue(e.getLocalizedMessage()).replaceAll("\\s", " "));
                    log(buf);
                }
            });
        }
    
        /**
         * Records a statistics action for the specified crawler object.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            assertTrue(result2 instanceof MatchAllQueryBuilder);
    
            // Both should generate the same JSON
            String json1 = result1.toString().replaceAll("[\\s\\n]", "");
            String json2 = result2.toString().replaceAll("[\\s\\n]", "");
            assertEquals(json1, json2);
        }
    
        public void test_execute_withVeryLargeBoost() {
            // Test execute method with very large boost value
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingNavigableMap.java

        @Override
        NavigableMap<K, V> forward() {
          return ForwardingNavigableMap.this;
        }
    
        @Override
        public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) {
          forward().replaceAll(function);
        }
    
        @Override
        protected Iterator<Entry<K, V>> entryIterator() {
          return new Iterator<Entry<K, V>>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                    String expectedValuePart = fieldNamePart.toLowerCase()
                            .replace("_", ".")
                            .replaceAll("\\.placeholder$", ".placeholder")
                            .replaceAll("\\.placeholder\\.(.+)", ".placeholder_$1");
    
                    String expectedValue = "{labels." + expectedValuePart + "}";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         */
        public static String replace(final Object input, final String regex, final String replacement) {
            if (input == null) {
                return StringUtil.EMPTY;
            }
            return input.toString().replaceAll(regex, replacement);
        }
    
        /**
         * Formats code content with syntax highlighting and line numbers.
         *
         * @param prefix the line number prefix pattern
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                } else if (lowerPath.endsWith("/")) {
                    response.setContentType("text/html;charset=utf-8");
                }
            }
    
            Path filePath = ResourceUtil.getSitePath(path.replaceAll("\\.\\.+", StringUtil.EMPTY).replaceAll("/+", "/").split("/"));
            if (Files.isDirectory(filePath)) {
                filePath = filePath.resolve("index.html");
            }
            if (Files.exists(filePath)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            assertEquals(1, sortBuilders.size());
            logger.info("{} => {}", text, sortBuilders.get(0).toString());
            assertEquals(expect, sortBuilders.get(0).toString().replaceAll("[\s\n]", ""));
        }
    
        private QueryContext assertQueryBuilder(final Class<?> expectedClass, final String expectedQuery, final String text) throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                final boolean apply) {
            final String[] readings;
            if (StringUtil.isBlank(reading)) {
                readings = word.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP);
            } else {
                readings = reading.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP);
            }
    
            final List<String> labelList = new ArrayList<>();
            if (tags != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
Back to top