diff --git a/src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java b/src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java index e9a780497d93883da3ed8c99203be4e3337e60ac..60a65c4a2f9fb10cb4133c25f7eb3189341fbfbb 100644 --- a/src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java +++ b/src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java @@ -204,7 +204,7 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction /** The key of the configuration. e.g. //LINK[@rel='canonical']/@href */ String CRAWLER_DOCUMENT_HTML_CANONICAL_XPATH = "crawler.document.html.canonical.xpath"; - /** The key of the configuration. e.g. noscript,script,style */ + /** The key of the configuration. e.g. noscript,script,style,header,footer,nav */ String CRAWLER_DOCUMENT_HTML_PRUNED_TAGS = "crawler.document.html.pruned.tags"; /** The key of the configuration. e.g. 200 */ @@ -1683,7 +1683,7 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction /** * Get the value for the key 'crawler.document.html.pruned.tags'.
- * The value is, e.g. noscript,script,style
+ * The value is, e.g. noscript,script,style,header,footer,nav
* @return The value of found property. (NotNull: if not found, exception but basically no way) */ String getCrawlerDocumentHtmlPrunedTags(); diff --git a/src/main/resources/fess_config.properties b/src/main/resources/fess_config.properties index e8303c02648a89d2c537f7cbf4794e90fb951343..bbc65dd7fc871319669cf786e9e03c8ba2b0e187 100644 --- a/src/main/resources/fess_config.properties +++ b/src/main/resources/fess_config.properties @@ -113,7 +113,7 @@ crawler.document.html.content.xpath=//BODY crawler.document.html.lang.xpath=//HTML/@lang crawler.document.html.digest.xpath=//META[@name='description']/@content crawler.document.html.canonical.xpath=//LINK[@rel='canonical']/@href -crawler.document.html.pruned.tags=noscript,script,style +crawler.document.html.pruned.tags=noscript,script,style,header,footer,nav crawler.document.html.max.digest.length=200 # file