Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getSitePath (0.09 sec)

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

            urlLink = "://www.qwerty.jp";
            sitePath = "www.qwerty.jp";
            docMap.put(fieldName, urlLink);
            assertEquals(sitePath, viewHelper.getSitePath(docMap));
    
            urlLink = "www.google.com";
            sitePath = "www.google.com";
            docMap.put(fieldName, urlLink);
            assertEquals(sitePath, viewHelper.getSitePath(docMap));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ResourceUtil.java

        }
    
        public static Path getThumbnailPath(final String... names) {
            return getPath("WEB-INF/", "thumbnails", names);
        }
    
        public static Path getSitePath(final String... names) {
            return getPath("WEB-INF/", "site", names);
        }
    
        public static Path getPluginPath(final String... names) {
            return getPath("WEB-INF/", "plugin", names);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                docMap.put(fessConfig.getResponseFieldUrlLink(), viewHelper.getUrlLink(docMap));
                docMap.put(fessConfig.getResponseFieldSitePath(), viewHelper.getSitePath(docMap));
            }
    
            if (!docMap.containsKey(Constants.SCORE)) {
                final float score = searchHit.getScore();
                if (Float.isFinite(score)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. 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");
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                            docMap.put(fessConfig.getResponseFieldUrlLink(), viewHelper.getUrlLink(docMap));
                            docMap.put(fessConfig.getResponseFieldSitePath(), viewHelper.getSitePath(docMap));
                        }
    
                        if (!docMap.containsKey(Constants.SCORE)) {
                            final float score = hit.getScore();
                            if (Float.isFinite(score)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            }
            buf.append(segment);
            return buf.toString();
        }
    
        public Object getSitePath(final Map<String, Object> docMap) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final Object siteValue = docMap.get(fessConfig.getIndexFieldSite());
            if (siteValue != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top