|
@@ -914,6 +914,12 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
/** The key of the configuration. e.g. 0.5 */
|
|
/** The key of the configuration. e.g. 0.5 */
|
|
String QUERY_BOOST_CONTENT_LANG = "query.boost.content.lang";
|
|
String QUERY_BOOST_CONTENT_LANG = "query.boost.content.lang";
|
|
|
|
|
|
|
|
+ /** The key of the configuration. e.g. labels.facet_timestamp_title:labels.facet_timestamp_1day=timestamp:[now/d-1d TO *] labels.facet_timestamp_1week=timestamp:[now/d-7d TO *] labels.facet_timestamp_1month=timestamp:[now/d-1M TO *] labels.facet_timestamp_1year=timestamp:[now/d-1y TO *]
|
|
|
|
+ labels.facet_contentLength_title:labels.facet_contentLength_10k=content_length:[0 TO 9999] labels.facet_contentLength_10kto100k=content_length:[10000 TO 99999] labels.facet_contentLength_100kto500k=content_length:[100000 TO 499999] labels.facet_contentLength_500kto1m=content_length:[500000 TO 999999] labels.facet_contentLength_1m=content_length:[1000000 TO *]
|
|
|
|
+ labels.facet_filetype_title:labels.facet_filetype_html=filetype:html labels.facet_filetype_word=filetype:word labels.facet_filetype_excel=filetype:excel labels.facet_filetype_powerpoint=filetype:powerpoint labels.facet_filetype_odt=filetype:odt labels.facet_filetype_ods=filetype:ods labels.facet_filetype_odp=filetype:odp labels.facet_filetype_pdf=filetype:pdf labels.facet_filetype_txt=filetype:txt labels.facet_filetype_others=filetype:others
|
|
|
|
+ */
|
|
|
|
+ String QUERY_FACET_QUERIES = "query.facet.queries";
|
|
|
|
+
|
|
/** The key of the configuration. e.g. true */
|
|
/** The key of the configuration. e.g. true */
|
|
String SMB_ROLE_FROM_FILE = "smb.role.from.file";
|
|
String SMB_ROLE_FROM_FILE = "smb.role.from.file";
|
|
|
|
|
|
@@ -4140,6 +4146,17 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
*/
|
|
*/
|
|
java.math.BigDecimal getQueryBoostContentLangAsDecimal();
|
|
java.math.BigDecimal getQueryBoostContentLangAsDecimal();
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Get the value for the key 'query.facet.queries'. <br>
|
|
|
|
+ * The value is, e.g. labels.facet_timestamp_title:labels.facet_timestamp_1day=timestamp:[now/d-1d TO *] labels.facet_timestamp_1week=timestamp:[now/d-7d TO *] labels.facet_timestamp_1month=timestamp:[now/d-1M TO *] labels.facet_timestamp_1year=timestamp:[now/d-1y TO *]
|
|
|
|
+ labels.facet_contentLength_title:labels.facet_contentLength_10k=content_length:[0 TO 9999] labels.facet_contentLength_10kto100k=content_length:[10000 TO 99999] labels.facet_contentLength_100kto500k=content_length:[100000 TO 499999] labels.facet_contentLength_500kto1m=content_length:[500000 TO 999999] labels.facet_contentLength_1m=content_length:[1000000 TO *]
|
|
|
|
+ labels.facet_filetype_title:labels.facet_filetype_html=filetype:html labels.facet_filetype_word=filetype:word labels.facet_filetype_excel=filetype:excel labels.facet_filetype_powerpoint=filetype:powerpoint labels.facet_filetype_odt=filetype:odt labels.facet_filetype_ods=filetype:ods labels.facet_filetype_odp=filetype:odp labels.facet_filetype_pdf=filetype:pdf labels.facet_filetype_txt=filetype:txt labels.facet_filetype_others=filetype:others
|
|
|
|
+ <br>
|
|
|
|
+ * comment: facet
|
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
|
+ */
|
|
|
|
+ String getQueryFacetQueries();
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* Get the value for the key 'smb.role.from.file'. <br>
|
|
* Get the value for the key 'smb.role.from.file'. <br>
|
|
* The value is, e.g. true <br>
|
|
* The value is, e.g. true <br>
|
|
@@ -7559,6 +7576,10 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
return getAsDecimal(FessConfig.QUERY_BOOST_CONTENT_LANG);
|
|
return getAsDecimal(FessConfig.QUERY_BOOST_CONTENT_LANG);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public String getQueryFacetQueries() {
|
|
|
|
+ return get(FessConfig.QUERY_FACET_QUERIES);
|
|
|
|
+ }
|
|
|
|
+
|
|
public String getSmbRoleFromFile() {
|
|
public String getSmbRoleFromFile() {
|
|
return get(FessConfig.SMB_ROLE_FROM_FILE);
|
|
return get(FessConfig.SMB_ROLE_FROM_FILE);
|
|
}
|
|
}
|
|
@@ -8954,6 +8975,9 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
defaultMap.put(FessConfig.QUERY_BOOST_TITLE_LANG, "1.0");
|
|
defaultMap.put(FessConfig.QUERY_BOOST_TITLE_LANG, "1.0");
|
|
defaultMap.put(FessConfig.QUERY_BOOST_CONTENT, "0.005");
|
|
defaultMap.put(FessConfig.QUERY_BOOST_CONTENT, "0.005");
|
|
defaultMap.put(FessConfig.QUERY_BOOST_CONTENT_LANG, "0.5");
|
|
defaultMap.put(FessConfig.QUERY_BOOST_CONTENT_LANG, "0.5");
|
|
|
|
+ defaultMap
|
|
|
|
+ .put(FessConfig.QUERY_FACET_QUERIES,
|
|
|
|
+ "labels.facet_timestamp_title:labels.facet_timestamp_1day=timestamp:[now/d-1d TO *]\tlabels.facet_timestamp_1week=timestamp:[now/d-7d TO *]\tlabels.facet_timestamp_1month=timestamp:[now/d-1M TO *]\tlabels.facet_timestamp_1year=timestamp:[now/d-1y TO *]\nlabels.facet_contentLength_title:labels.facet_contentLength_10k=content_length:[0 TO 9999]\tlabels.facet_contentLength_10kto100k=content_length:[10000 TO 99999]\tlabels.facet_contentLength_100kto500k=content_length:[100000 TO 499999]\tlabels.facet_contentLength_500kto1m=content_length:[500000 TO 999999]\tlabels.facet_contentLength_1m=content_length:[1000000 TO *]\nlabels.facet_filetype_title:labels.facet_filetype_html=filetype:html\tlabels.facet_filetype_word=filetype:word\tlabels.facet_filetype_excel=filetype:excel\tlabels.facet_filetype_powerpoint=filetype:powerpoint\tlabels.facet_filetype_odt=filetype:odt\tlabels.facet_filetype_ods=filetype:ods\tlabels.facet_filetype_odp=filetype:odp\tlabels.facet_filetype_pdf=filetype:pdf\tlabels.facet_filetype_txt=filetype:txt\tlabels.facet_filetype_others=filetype:others\n");
|
|
defaultMap.put(FessConfig.SMB_ROLE_FROM_FILE, "true");
|
|
defaultMap.put(FessConfig.SMB_ROLE_FROM_FILE, "true");
|
|
defaultMap.put(FessConfig.SMB_AVAILABLE_SID_TYPES, "1,2,4:2");
|
|
defaultMap.put(FessConfig.SMB_AVAILABLE_SID_TYPES, "1,2,4:2");
|
|
defaultMap.put(FessConfig.FILE_ROLE_FROM_FILE, "true");
|
|
defaultMap.put(FessConfig.FILE_ROLE_FROM_FILE, "true");
|