- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for pruneNode (0.05 sec)
-
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) -
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)