Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for pruneNode (0.1 sec)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                }
            });
            final FessXpathTransformer transformer = new FessXpathTransformer();
            transformer.init();
    
            final Node pruneNode = transformer.pruneNode(document.cloneNode(true), null);
            assertEquals(getXmlString(document), getXmlString(pruneNode));
            ComponentUtil.setFessConfig(null);
        }
    
        public void test_pruneNode_removeNoScript() throws Exception {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            if (lang != null) {
                putResultDataBody(dataMap, fessConfig.getIndexFieldLang(), lang);
            }
            // title
            // content
            final String body = getSingleNodeValue(document, getContentXpath(fessConfig, xpathConfigMap),
                    prunedContent ? node -> pruneNode(node, crawlingConfig) : node -> node);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top