This commit is contained in:
Shinsuke Sugaya 2016-02-09 22:52:04 +09:00
parent 24662f87f8
commit 684507731e
2 changed files with 27 additions and 0 deletions

View file

@ -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'. <br>
* The value is, e.g. <br>
* @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}. <br>
* The value is, e.g. <br>
* @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'. <br>
* The value is, e.g. true <br>
@ -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);
}

View file

@ -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