mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Change very high/low search priority to rank at absolute ends.
Prior to this change, we had weights for very_high, high, low and very_low. This means there were 4 weights to tweak and what weights to use for `very_high/high` and `very_low/low` pair was hard to explain. This change makes it such that `very_high` search priority will always ensure that the posts are ranked at the top while `very_low` search priority will ensure that the posts are ranked at the very bottom.
This commit is contained in:
@@ -1470,10 +1470,8 @@ en:
|
||||
search_query_log_max_size: "Maximum amount of search queries to keep"
|
||||
search_query_log_max_retention_days: "Maximum amount of time to keep search queries, in days."
|
||||
search_ignore_accents: "Ignore accents when searching for text."
|
||||
category_search_priority_very_low_weight: "Weight applied to ranking for very low category search priority."
|
||||
category_search_priority_low_weight: "Weight applied to ranking for low category search priority."
|
||||
category_search_priority_high_weight: "Weight applied to ranking for high category search priority."
|
||||
category_search_priority_very_high_weight: "Weight applied to ranking for very high category search priority."
|
||||
allow_uncategorized_topics: "Allow topics to be created without a category. WARNING: If there are any uncategorized topics, you must recategorize them before turning this off."
|
||||
allow_duplicate_topic_titles: "Allow topics with identical, duplicate titles."
|
||||
allow_duplicate_topic_titles_category: "Allow topics with identical, duplicate titles if the category is different. allow_duplicate_topic_titles must be false."
|
||||
@@ -2329,10 +2327,8 @@ en:
|
||||
invalid_hex_value: "Color values have to be 6-digit hexadecimal codes."
|
||||
empty_selectable_avatars: "You must first upload at least two selectable avatars before enabling this setting."
|
||||
category_search_priority:
|
||||
very_low_weight_invalid: "You cannot set the weight to be greater than 'category_search_priority_low_weight'."
|
||||
low_weight_invalid: "You cannot set the weight to be greater or equal to 1 or smaller than 'category_search_priority_very_low_weight'."
|
||||
high_weight_invalid: "You cannot set the weight to be smaller or equal to 1 or greater than 'category_search_priority_very_high_weight'."
|
||||
very_high_weight_invalid: "You cannot set the weight to be smaller than 'category_search_priority_high_weight'."
|
||||
low_weight_invalid: "You cannot set the weight to be greater or equal to 1."
|
||||
high_weight_invalid: "You cannot set the weight to be smaller or equal to 1."
|
||||
allowed_unicode_usernames:
|
||||
regex_invalid: "The regular expression is invalid: %{error}"
|
||||
leading_trailing_slash: "The regular expression must not start and end with a slash."
|
||||
|
||||
@@ -1950,10 +1950,6 @@ search:
|
||||
ro: true
|
||||
sk: true
|
||||
tr_TR: true
|
||||
category_search_priority_very_low_weight:
|
||||
default: 0.6
|
||||
hidden: true
|
||||
validator: "CategorySearchPriorityWeightsValidator"
|
||||
category_search_priority_low_weight:
|
||||
default: 0.8
|
||||
hidden: true
|
||||
@@ -1962,10 +1958,6 @@ search:
|
||||
default: 1.2
|
||||
hidden: true
|
||||
validator: "CategorySearchPriorityWeightsValidator"
|
||||
category_search_priority_very_high_weight:
|
||||
default: 1.4
|
||||
hidden: true
|
||||
validator: "CategorySearchPriorityWeightsValidator"
|
||||
|
||||
uncategorized:
|
||||
version_checks:
|
||||
|
||||
Reference in New Issue
Block a user