Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for patcher (0.73 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java

            }
            final Matcher matcher = regexPattern.matcher(input);
            if (matcher.find()) {
                if (pathMapperFunc == null) {
                    final String replacement = StringUtil.isNotBlank(getReplacement()) ? getReplacement() : StringUtil.EMPTY;
                    pathMapperFunc = pathMappingHelper.createPathMatcher(matcher, replacement);
                }
                try {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/TestUtil.java

     */
    package org.codelibs.core;
    
    import static org.hamcrest.CoreMatchers.is;
    
    import org.hamcrest.CoreMatchers;
    import org.hamcrest.Matcher;
    
    /**
     * @author koichik
     */
    public abstract class TestUtil {
    
        /**
         * 実際の値が期待する{@literal clazz}と等しいかを検証する{@link Matcher}を返します。
         *
         * <pre>assertThat(clazz, is(Xxx.class));</pre>
         * <p>
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                        init();
                    }
                }
            }
            return replaceUrl(cachedPathMappingList, url);
        }
    
        public BiFunction<String, Matcher, String> createPathMatcher(final Matcher matcher, final String replacement) { // for PathMapping
            if (FUNCTION_ENCODEURL_MATCHER.equals(replacement)) {
                return (u, m) -> DocumentUtil.encodeUrl(u);
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                        }
                        continue;
                    }
    
                    String[] inputs;
                    String output;
    
                    final Matcher m = parsePattern.matcher(replacedLine);
    
                    if (!m.find()) {
                        logger.warn("Failed to parse {} in {}", line, path);
                        if (updater != null) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                propMap.put(CRAWLER_METADATA_CONTENT_EXCLUDES, patterns);
            }
            return !stream(patterns).get(stream -> stream.anyMatch(p -> p.matcher(name).matches()));
        }
    
        String getCrawlerMetadataNameMapping();
    
        default Tuple3<String, String, String> getCrawlerMetadataNameMapping(final String name) {
            @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 85K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
            if ("suggest-words".equals(type)) {
                return FormatType.SUGGEST;
            }
            // default
            return FormatType.OTHER;
        }
    
        @Override
        public boolean matches(final HttpServletRequest request) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (!fessConfig.isWebApiJson()) {
                return false;
            }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 02:17:23 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                    }
                    return true;
                }
                if (includedPaths.matcher(path).matches()) {
                    if (excludedPaths != null && excludedPaths.matcher(path).matches()) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Path {} matches the include/exclude path expression {} on {} of label.", path, excludedPaths, value);
                        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    return null;
                }
                final Matcher matcher = Pattern.compile(pattern, Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE).matcher(value);
                final StringBuffer buf = new StringBuffer(value.length() + 100);
                while (matcher.find()) {
                    matcher.appendReplacement(buf, Matcher.quoteReplacement(highlightTagPre + matcher.group(0) + highlightTagPost));
                }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:58:45 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java

        }
    
        public WebApiManager get(final HttpServletRequest request) {
            for (final WebApiManager webApiManager : webApiManagers) {
                if (webApiManager.matches(request)) {
                    return webApiManager;
                }
            }
            return null;
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

        @Execute
        public JsonResponse<ApiResult> docs(final SearchBody body) {
            validateApi(body, messages -> {});
    
            if (StringUtil.isBlank(body.q)) {
                // query matches on all documents.
                body.q = Constants.MATCHES_ALL_QUERY;
            }
    
            final SearchRenderData renderData = new SearchRenderData();
            body.initialize();
            try {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top