From 1967e387e4cf5f63a655f3108ef6106e82cabb5f Mon Sep 17 00:00:00 2001 From: Shinsuke Sugaya Date: Thu, 22 Jun 2017 21:59:22 +0900 Subject: [PATCH] fix #1123 update indexer.webfs.max.document.cache.size --- .../org/codelibs/fess/mylasta/direction/FessConfig.java | 6 +++--- src/main/resources/fess_config.properties | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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 ee752d4f8..1886e6f0d 100644 --- a/src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java +++ b/src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java @@ -282,7 +282,7 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction /** The key of the configuration. e.g. 10000 */ String INDEXER_WEBFS_UPDATE_INTERVAL = "indexer.webfs.update.interval"; - /** The key of the configuration. e.g. 100 */ + /** The key of the configuration. e.g. 20 */ String INDEXER_WEBFS_MAX_DOCUMENT_CACHE_SIZE = "indexer.webfs.max.document.cache.size"; /** The key of the configuration. e.g. 10485760 */ @@ -2103,14 +2103,14 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction /** * Get the value for the key 'indexer.webfs.max.document.cache.size'.
- * The value is, e.g. 100
+ * The value is, e.g. 20
* @return The value of found property. (NotNull: if not found, exception but basically no way) */ String getIndexerWebfsMaxDocumentCacheSize(); /** * Get the value for the key 'indexer.webfs.max.document.cache.size' as {@link Integer}.
- * The value is, e.g. 100
+ * The value is, e.g. 20
* @return The value of found property. (NotNull: if not found, exception but basically no way) * @throws NumberFormatException When the property is not integer. */ diff --git a/src/main/resources/fess_config.properties b/src/main/resources/fess_config.properties index fee20a88a..233e5c918 100644 --- a/src/main/resources/fess_config.properties +++ b/src/main/resources/fess_config.properties @@ -147,7 +147,7 @@ indexer.favorite.count.enabled=true indexer.webfs.commit.margin.time=5000 indexer.webfs.max.empty.list.count=360 indexer.webfs.update.interval=10000 -indexer.webfs.max.document.cache.size=100 +indexer.webfs.max.document.cache.size=20 indexer.webfs.max.document.request.size=10485760 indexer.data.max.document.cache.size=5 indexer.data.max.document.request.size=10485760