|
@@ -486,6 +486,12 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
/** The key of the configuration. e.g. 1000 */
|
|
/** The key of the configuration. e.g. 1000 */
|
|
String INDEXER_LANGUAGE_DETECT_LENGTH = "indexer.language.detect.length";
|
|
String INDEXER_LANGUAGE_DETECT_LENGTH = "indexer.language.detect.length";
|
|
|
|
|
|
|
|
+ /** The key of the configuration. e.g. 10000 */
|
|
|
|
+ String INDEXER_MAX_RESULT_WINDOW_SIZE = "indexer.max.result.window.size";
|
|
|
|
+
|
|
|
|
+ /** The key of the configuration. e.g. 50000 */
|
|
|
|
+ String INDEXER_MAX_SEARCH_DOC_SIZE = "indexer.max.search.doc.size";
|
|
|
|
+
|
|
/** The key of the configuration. e.g. default */
|
|
/** The key of the configuration. e.g. default */
|
|
String INDEX_CODEC = "index.codec";
|
|
String INDEX_CODEC = "index.codec";
|
|
|
|
|
|
@@ -3251,6 +3257,36 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
*/
|
|
*/
|
|
Integer getIndexerLanguageDetectLengthAsInteger();
|
|
Integer getIndexerLanguageDetectLengthAsInteger();
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Get the value for the key 'indexer.max.result.window.size'. <br>
|
|
|
|
+ * The value is, e.g. 10000 <br>
|
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
|
+ */
|
|
|
|
+ String getIndexerMaxResultWindowSize();
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Get the value for the key 'indexer.max.result.window.size' as {@link Integer}. <br>
|
|
|
|
+ * The value is, e.g. 10000 <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 getIndexerMaxResultWindowSizeAsInteger();
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Get the value for the key 'indexer.max.search.doc.size'. <br>
|
|
|
|
+ * The value is, e.g. 50000 <br>
|
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
|
+ */
|
|
|
|
+ String getIndexerMaxSearchDocSize();
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Get the value for the key 'indexer.max.search.doc.size' as {@link Integer}. <br>
|
|
|
|
+ * The value is, e.g. 50000 <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 getIndexerMaxSearchDocSizeAsInteger();
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* Get the value for the key 'index.codec'. <br>
|
|
* Get the value for the key 'index.codec'. <br>
|
|
* The value is, e.g. default <br>
|
|
* The value is, e.g. default <br>
|
|
@@ -8129,6 +8165,22 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
return getAsInteger(FessConfig.INDEXER_LANGUAGE_DETECT_LENGTH);
|
|
return getAsInteger(FessConfig.INDEXER_LANGUAGE_DETECT_LENGTH);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public String getIndexerMaxResultWindowSize() {
|
|
|
|
+ return get(FessConfig.INDEXER_MAX_RESULT_WINDOW_SIZE);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Integer getIndexerMaxResultWindowSizeAsInteger() {
|
|
|
|
+ return getAsInteger(FessConfig.INDEXER_MAX_RESULT_WINDOW_SIZE);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getIndexerMaxSearchDocSize() {
|
|
|
|
+ return get(FessConfig.INDEXER_MAX_SEARCH_DOC_SIZE);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Integer getIndexerMaxSearchDocSizeAsInteger() {
|
|
|
|
+ return getAsInteger(FessConfig.INDEXER_MAX_SEARCH_DOC_SIZE);
|
|
|
|
+ }
|
|
|
|
+
|
|
public String getIndexCodec() {
|
|
public String getIndexCodec() {
|
|
return get(FessConfig.INDEX_CODEC);
|
|
return get(FessConfig.INDEX_CODEC);
|
|
}
|
|
}
|
|
@@ -10454,6 +10506,8 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
defaultMap.put(FessConfig.INDEXER_DATA_MAX_REDIRECT_COUNT, "10");
|
|
defaultMap.put(FessConfig.INDEXER_DATA_MAX_REDIRECT_COUNT, "10");
|
|
defaultMap.put(FessConfig.INDEXER_LANGUAGE_FIELDS, "content,important_content,title");
|
|
defaultMap.put(FessConfig.INDEXER_LANGUAGE_FIELDS, "content,important_content,title");
|
|
defaultMap.put(FessConfig.INDEXER_LANGUAGE_DETECT_LENGTH, "1000");
|
|
defaultMap.put(FessConfig.INDEXER_LANGUAGE_DETECT_LENGTH, "1000");
|
|
|
|
+ defaultMap.put(FessConfig.INDEXER_MAX_RESULT_WINDOW_SIZE, "10000");
|
|
|
|
+ defaultMap.put(FessConfig.INDEXER_MAX_SEARCH_DOC_SIZE, "50000");
|
|
defaultMap.put(FessConfig.INDEX_CODEC, "default");
|
|
defaultMap.put(FessConfig.INDEX_CODEC, "default");
|
|
defaultMap.put(FessConfig.INDEX_number_of_shards, "5");
|
|
defaultMap.put(FessConfig.INDEX_number_of_shards, "5");
|
|
defaultMap.put(FessConfig.INDEX_auto_expand_replicas, "0-1");
|
|
defaultMap.put(FessConfig.INDEX_auto_expand_replicas, "0-1");
|