fix #357
This commit is contained in:
parent
24662f87f8
commit
684507731e
2 changed files with 27 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue