|
@@ -42,7 +42,7 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
|
|
|
/** The key of the configuration. e.g. -Djava.awt.headless=true
|
|
/** The key of the configuration. e.g. -Djava.awt.headless=true
|
|
-server
|
|
-server
|
|
- -Xmx256m
|
|
|
|
|
|
+ -Xmx512m
|
|
-XX:MaxMetaspaceSize=128m
|
|
-XX:MaxMetaspaceSize=128m
|
|
-XX:CompressedClassSpaceSize=32m
|
|
-XX:CompressedClassSpaceSize=32m
|
|
-XX:-UseGCOverheadLimit
|
|
-XX:-UseGCOverheadLimit
|
|
@@ -127,9 +127,12 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
/** The key of the configuration. e.g. true */
|
|
/** The key of the configuration. e.g. true */
|
|
String CRAWLER_DOCUMENT_APPEND_DATA = "crawler.document.append.data";
|
|
String CRAWLER_DOCUMENT_APPEND_DATA = "crawler.document.append.data";
|
|
|
|
|
|
- /** The key of the configuration. e.g. -1 */
|
|
|
|
|
|
+ /** The key of the configuration. e.g. 20 */
|
|
String CRAWLER_DOCUMENT_MAX_ALPHANUM_TERM_SIZE = "crawler.document.max.alphanum.term.size";
|
|
String CRAWLER_DOCUMENT_MAX_ALPHANUM_TERM_SIZE = "crawler.document.max.alphanum.term.size";
|
|
|
|
|
|
|
|
+ /** The key of the configuration. e.g. 10 */
|
|
|
|
+ String CRAWLER_DOCUMENT_MAX_SYMBOL_TERM_SIZE = "crawler.document.max.symbol.term.size";
|
|
|
|
+
|
|
/** The key of the configuration. e.g. UTF-8 */
|
|
/** The key of the configuration. e.g. UTF-8 */
|
|
String CRAWLER_CRAWLING_DATA_ENCODING = "crawler.crawling.data.encoding";
|
|
String CRAWLER_CRAWLING_DATA_ENCODING = "crawler.crawling.data.encoding";
|
|
|
|
|
|
@@ -833,7 +836,7 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
* Get the value for the key 'jvm.crawler.options'. <br>
|
|
* Get the value for the key 'jvm.crawler.options'. <br>
|
|
* The value is, e.g. -Djava.awt.headless=true
|
|
* The value is, e.g. -Djava.awt.headless=true
|
|
-server
|
|
-server
|
|
- -Xmx256m
|
|
|
|
|
|
+ -Xmx512m
|
|
-XX:MaxMetaspaceSize=128m
|
|
-XX:MaxMetaspaceSize=128m
|
|
-XX:CompressedClassSpaceSize=32m
|
|
-XX:CompressedClassSpaceSize=32m
|
|
-XX:-UseGCOverheadLimit
|
|
-XX:-UseGCOverheadLimit
|
|
@@ -1043,19 +1046,34 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
|
|
|
/**
|
|
/**
|
|
* Get the value for the key 'crawler.document.max.alphanum.term.size'. <br>
|
|
* Get the value for the key 'crawler.document.max.alphanum.term.size'. <br>
|
|
- * The value is, e.g. -1 <br>
|
|
|
|
|
|
+ * The value is, e.g. 20 <br>
|
|
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
*/
|
|
*/
|
|
String getCrawlerDocumentMaxAlphanumTermSize();
|
|
String getCrawlerDocumentMaxAlphanumTermSize();
|
|
|
|
|
|
/**
|
|
/**
|
|
* Get the value for the key 'crawler.document.max.alphanum.term.size' as {@link Integer}. <br>
|
|
* Get the value for the key 'crawler.document.max.alphanum.term.size' as {@link Integer}. <br>
|
|
- * The value is, e.g. -1 <br>
|
|
|
|
|
|
+ * The value is, e.g. 20 <br>
|
|
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
* @throws NumberFormatException When the property is not integer.
|
|
* @throws NumberFormatException When the property is not integer.
|
|
*/
|
|
*/
|
|
Integer getCrawlerDocumentMaxAlphanumTermSizeAsInteger();
|
|
Integer getCrawlerDocumentMaxAlphanumTermSizeAsInteger();
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Get the value for the key 'crawler.document.max.symbol.term.size'. <br>
|
|
|
|
+ * The value is, e.g. 10 <br>
|
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
|
+ */
|
|
|
|
+ String getCrawlerDocumentMaxSymbolTermSize();
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Get the value for the key 'crawler.document.max.symbol.term.size' as {@link Integer}. <br>
|
|
|
|
+ * The value is, e.g. 10 <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 getCrawlerDocumentMaxSymbolTermSizeAsInteger();
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* Get the value for the key 'crawler.crawling.data.encoding'. <br>
|
|
* Get the value for the key 'crawler.crawling.data.encoding'. <br>
|
|
* The value is, e.g. UTF-8 <br>
|
|
* The value is, e.g. UTF-8 <br>
|
|
@@ -3291,6 +3309,14 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
return getAsInteger(FessConfig.CRAWLER_DOCUMENT_MAX_ALPHANUM_TERM_SIZE);
|
|
return getAsInteger(FessConfig.CRAWLER_DOCUMENT_MAX_ALPHANUM_TERM_SIZE);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public String getCrawlerDocumentMaxSymbolTermSize() {
|
|
|
|
+ return get(FessConfig.CRAWLER_DOCUMENT_MAX_SYMBOL_TERM_SIZE);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Integer getCrawlerDocumentMaxSymbolTermSizeAsInteger() {
|
|
|
|
+ return getAsInteger(FessConfig.CRAWLER_DOCUMENT_MAX_SYMBOL_TERM_SIZE);
|
|
|
|
+ }
|
|
|
|
+
|
|
public String getCrawlerCrawlingDataEncoding() {
|
|
public String getCrawlerCrawlingDataEncoding() {
|
|
return get(FessConfig.CRAWLER_CRAWLING_DATA_ENCODING);
|
|
return get(FessConfig.CRAWLER_CRAWLING_DATA_ENCODING);
|
|
}
|
|
}
|