Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getUrlLink (0.17 sec)

  1. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                docMap.put(fessConfig.getResponseFieldContentDescription(), viewHelper.getContentDescription(docMap));
                docMap.put(fessConfig.getResponseFieldUrlLink(), viewHelper.getUrlLink(docMap));
                docMap.put(fessConfig.getResponseFieldSitePath(), viewHelper.getSitePath(docMap));
            }
    
            if (!docMap.containsKey(Constants.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)
  2. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                if (ratio < 0.5) {
                    ratio = 0.5f;
                }
                highlightInfo.fragmentSize((int) (highlightInfo.getFragmentSize() * ratio));
            }
        }
    
        public String getUrlLink(final Map<String, Object> document) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            String url = DocumentUtil.getValue(document, fessConfig.getIndexFieldUrl(), String.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

        private void assertUrlLink(String url, String expected) {
            Map<String, Object> doc = new HashMap<>();
            doc.put("doc_id", "docId");
            doc.put("url", url);
            assertEquals(expected, viewHelper.getUrlLink(doc));
        }
    
        public void test_replaceHighlightQueries() {
            String text;
            String[] queries;
    
            text = "<a>123<b>456<c>";
            queries = new String[] { "123", "456" };
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                            docMap.put(fessConfig.getResponseFieldContentDescription(), viewHelper.getContentDescription(docMap));
                            docMap.put(fessConfig.getResponseFieldUrlLink(), viewHelper.getUrlLink(docMap));
                            docMap.put(fessConfig.getResponseFieldSitePath(), viewHelper.getSitePath(docMap));
                        }
    
                        if (!docMap.containsKey(Constants.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)
Back to top