|
@@ -474,6 +474,9 @@ 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 QUERY_MAX_LENGTH = "query.max.length";
|
|
String QUERY_MAX_LENGTH = "query.max.length";
|
|
|
|
|
|
|
|
+ /** The key of the configuration. e.g. 10000 */
|
|
|
|
+ String QUERY_TIMEOUT = "query.timeout";
|
|
|
|
+
|
|
/** The key of the configuration. e.g. location */
|
|
/** The key of the configuration. e.g. location */
|
|
String QUERY_GEO_FIELDS = "query.geo.fields";
|
|
String QUERY_GEO_FIELDS = "query.geo.fields";
|
|
|
|
|
|
@@ -2626,6 +2629,21 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
*/
|
|
*/
|
|
Integer getQueryMaxLengthAsInteger();
|
|
Integer getQueryMaxLengthAsInteger();
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Get the value for the key 'query.timeout'. <br>
|
|
|
|
+ * The value is, e.g. 10000 <br>
|
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
|
+ */
|
|
|
|
+ String getQueryTimeout();
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Get the value for the key 'query.timeout' 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 getQueryTimeoutAsInteger();
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* Get the value for the key 'query.geo.fields'. <br>
|
|
* Get the value for the key 'query.geo.fields'. <br>
|
|
* The value is, e.g. location <br>
|
|
* The value is, e.g. location <br>
|
|
@@ -5939,6 +5957,14 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
return getAsInteger(FessConfig.QUERY_MAX_LENGTH);
|
|
return getAsInteger(FessConfig.QUERY_MAX_LENGTH);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public String getQueryTimeout() {
|
|
|
|
+ return get(FessConfig.QUERY_TIMEOUT);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Integer getQueryTimeoutAsInteger() {
|
|
|
|
+ return getAsInteger(FessConfig.QUERY_TIMEOUT);
|
|
|
|
+ }
|
|
|
|
+
|
|
public String getQueryGeoFields() {
|
|
public String getQueryGeoFields() {
|
|
return get(FessConfig.QUERY_GEO_FIELDS);
|
|
return get(FessConfig.QUERY_GEO_FIELDS);
|
|
}
|
|
}
|