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 0d9c3a15a..670241472 100644
--- a/src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
+++ b/src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
@@ -176,6 +176,9 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
/** The key of the configuration. e.g. true */
String CRAWLER_DOCUMENT_FILE_APPEND_BODY_CONTENT = "crawler.document.file.append.body.content";
+ /** The key of the configuration. e.g. */
+ String CRAWLER_DOCUMENT_FILE_DEFAULT_LANG = "crawler.document.file.default.lang";
+
/** The key of the configuration. e.g. true */
String CRAWLER_DOCUMENT_CACHE_ENABLE = "crawler.document.cache.enable";
@@ -1065,6 +1068,21 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
*/
boolean isCrawlerDocumentFileAppendBodyContent();
+ /**
+ * Get the value for the key 'crawler.document.file.default.lang'.
+ * The value is, e.g.
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
+ */
+ String getCrawlerDocumentFileDefaultLang();
+
+ /**
+ * Get the value for the key 'crawler.document.file.default.lang' as {@link Integer}.
+ * The value is, e.g.
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
+ * @throws NumberFormatException When the property is not integer.
+ */
+ Integer getCrawlerDocumentFileDefaultLangAsInteger();
+
/**
* Get the value for the key 'crawler.document.cache.enable'.
* The value is, e.g. true
@@ -2673,6 +2691,14 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
return is(FessConfig.CRAWLER_DOCUMENT_FILE_APPEND_BODY_CONTENT);
}
+ public String getCrawlerDocumentFileDefaultLang() {
+ return get(FessConfig.CRAWLER_DOCUMENT_FILE_DEFAULT_LANG);
+ }
+
+ public Integer getCrawlerDocumentFileDefaultLangAsInteger() {
+ return getAsInteger(FessConfig.CRAWLER_DOCUMENT_FILE_DEFAULT_LANG);
+ }
+
public String getCrawlerDocumentCacheEnable() {
return get(FessConfig.CRAWLER_DOCUMENT_CACHE_ENABLE);
}
diff --git a/src/main/resources/fess_config.properties b/src/main/resources/fess_config.properties
index 5dab8be4f..c3cb0d626 100644
--- a/src/main/resources/fess_config.properties
+++ b/src/main/resources/fess_config.properties
@@ -96,6 +96,7 @@ crawler.document.file.max.title.length=100
crawler.document.file.max.digest.length=200
crawler.document.file.append.meta.content=true
crawler.document.file.append.body.content=true
+crawler.document.file.default.lang=
# cache
crawler.document.cache.enable=true