fix #722 modify boost parameters
This commit is contained in:
parent
f58e4b3979
commit
755679e0e6
4 changed files with 73 additions and 1682 deletions
|
@ -782,22 +782,22 @@ public class FessLabels extends UserMessages {
|
|||
/** The key of the message: MP4 Video */
|
||||
public static final String LABELS_facet_filetype_mp4 = "{labels.facet_filetype_mp4}";
|
||||
|
||||
/** The key of the message: M4V Video */
|
||||
public static final String LABELS_facet_filetype_m4v = "{labels.facet_filetype_m4v}";
|
||||
|
||||
/** The key of the message: OGV Video */
|
||||
public static final String LABELS_facet_filetype_ogv = "{labels.facet_filetype_ogv}";
|
||||
|
||||
/** The key of the message: QT Video */
|
||||
/** The key of the message: QuickTime Video */
|
||||
public static final String LABELS_facet_filetype_qt = "{labels.facet_filetype_qt}";
|
||||
|
||||
/** The key of the message: M4V Video */
|
||||
public static final String LABELS_facet_filetype_m4v = "{labels.facet_filetype_m4v}";
|
||||
|
||||
/** The key of the message: WAV Audio */
|
||||
public static final String LABELS_facet_filetype_wav = "{labels.facet_filetype_wav}";
|
||||
|
||||
/** The key of the message: AIF Audio */
|
||||
public static final String LABELS_facet_filetype_aif = "{labels.facet_filetype_aif}";
|
||||
|
||||
/** The key of the message: MID Audio */
|
||||
/** The key of the message: MIDI Audio */
|
||||
public static final String LABELS_facet_filetype_mid = "{labels.facet_filetype_mid}";
|
||||
|
||||
/** The key of the message: MPGA Audio */
|
||||
|
@ -809,22 +809,22 @@ public class FessLabels extends UserMessages {
|
|||
/** The key of the message: OGA Audio */
|
||||
public static final String LABELS_facet_filetype_oga = "{labels.facet_filetype_oga}";
|
||||
|
||||
/** The key of the message: BMP image */
|
||||
/** The key of the message: WEBP Image */
|
||||
public static final String LABELS_facet_filetype_wepb = "{labels.facet_filetype_wepb}";
|
||||
|
||||
/** The key of the message: BMP Image */
|
||||
public static final String LABELS_facet_filetype_bmp = "{labels.facet_filetype_bmp}";
|
||||
|
||||
/** The key of the message: ICO image */
|
||||
/** The key of the message: ICO Image */
|
||||
public static final String LABELS_facet_filetype_ico = "{labels.facet_filetype_ico}";
|
||||
|
||||
/** The key of the message: PNG image */
|
||||
/** The key of the message: PNG Image */
|
||||
public static final String LABELS_facet_filetype_png = "{labels.facet_filetype_png}";
|
||||
|
||||
/** The key of the message: SVG image */
|
||||
/** The key of the message: SVG Image */
|
||||
public static final String LABELS_facet_filetype_svg = "{labels.facet_filetype_svg}";
|
||||
|
||||
/** The key of the message: WEBP image */
|
||||
public static final String LABELS_facet_filetype_webp = "{labels.facet_filetype_webp}";
|
||||
|
||||
/** The key of the message: TIFF image */
|
||||
/** The key of the message: TIFF Image */
|
||||
public static final String LABELS_facet_filetype_tiff = "{labels.facet_filetype_tiff}";
|
||||
|
||||
/** The key of the message: Others */
|
||||
|
|
|
@ -469,16 +469,16 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|||
*/
|
||||
String QUERY_LANGUAGE_MAPPING = "query.language.mapping";
|
||||
|
||||
/** The key of the configuration. e.g. 1.6 */
|
||||
/** The key of the configuration. e.g. 0.2 */
|
||||
String QUERY_BOOST_TITLE = "query.boost.title";
|
||||
|
||||
/** The key of the configuration. e.g. 2.0 */
|
||||
/** The key of the configuration. e.g. 1.0 */
|
||||
String QUERY_BOOST_TITLE_LANG = "query.boost.title.lang";
|
||||
|
||||
/** The key of the configuration. e.g. 1.0 */
|
||||
/** The key of the configuration. e.g. 0.1 */
|
||||
String QUERY_BOOST_CONTENT = "query.boost.content";
|
||||
|
||||
/** The key of the configuration. e.g. 1.3 */
|
||||
/** The key of the configuration. e.g. 0.5 */
|
||||
String QUERY_BOOST_CONTENT_LANG = "query.boost.content.lang";
|
||||
|
||||
/** The key of the configuration. e.g. true */
|
||||
|
@ -2278,7 +2278,7 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|||
|
||||
/**
|
||||
* Get the value for the key 'query.boost.title'. <br>
|
||||
* The value is, e.g. 1.6 <br>
|
||||
* The value is, e.g. 0.2 <br>
|
||||
* comment: boost
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
|
@ -2286,7 +2286,7 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|||
|
||||
/**
|
||||
* Get the value for the key 'query.boost.title' as {@link java.math.BigDecimal}. <br>
|
||||
* The value is, e.g. 1.6 <br>
|
||||
* The value is, e.g. 0.2 <br>
|
||||
* comment: boost
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
* @throws NumberFormatException When the property is not decimal.
|
||||
|
@ -2295,14 +2295,14 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|||
|
||||
/**
|
||||
* Get the value for the key 'query.boost.title.lang'. <br>
|
||||
* The value is, e.g. 2.0 <br>
|
||||
* The value is, e.g. 1.0 <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getQueryBoostTitleLang();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'query.boost.title.lang' as {@link java.math.BigDecimal}. <br>
|
||||
* The value is, e.g. 2.0 <br>
|
||||
* The value is, e.g. 1.0 <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
* @throws NumberFormatException When the property is not decimal.
|
||||
*/
|
||||
|
@ -2310,14 +2310,14 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|||
|
||||
/**
|
||||
* Get the value for the key 'query.boost.content'. <br>
|
||||
* The value is, e.g. 1.0 <br>
|
||||
* The value is, e.g. 0.1 <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getQueryBoostContent();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'query.boost.content' as {@link java.math.BigDecimal}. <br>
|
||||
* The value is, e.g. 1.0 <br>
|
||||
* The value is, e.g. 0.1 <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
* @throws NumberFormatException When the property is not decimal.
|
||||
*/
|
||||
|
@ -2325,14 +2325,14 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|||
|
||||
/**
|
||||
* Get the value for the key 'query.boost.content.lang'. <br>
|
||||
* The value is, e.g. 1.3 <br>
|
||||
* The value is, e.g. 0.5 <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getQueryBoostContentLang();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'query.boost.content.lang' as {@link java.math.BigDecimal}. <br>
|
||||
* The value is, e.g. 1.3 <br>
|
||||
* The value is, e.g. 0.5 <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
* @throws NumberFormatException When the property is not decimal.
|
||||
*/
|
||||
|
|
|
@ -250,10 +250,10 @@ zh-tw=zh-tw\n\
|
|||
|
||||
|
||||
# boost
|
||||
query.boost.title=1.6
|
||||
query.boost.title.lang=2.0
|
||||
query.boost.content=1.0
|
||||
query.boost.content.lang=1.3
|
||||
query.boost.title=0.2
|
||||
query.boost.title.lang=1.0
|
||||
query.boost.content=0.1
|
||||
query.boost.content.lang=0.5
|
||||
|
||||
# acl
|
||||
smb.role.from.file=true
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue