removed mead_citedness from person scroing strategy
This commit is contained in:
@@ -449,17 +449,6 @@ def build_authors_search_rescored(
|
||||
}
|
||||
functions.append(cited_by_count_boost_query)
|
||||
|
||||
if (_2yr_mean_citedness_boost): # 2yr mean citedness boost
|
||||
mean_citedness_boost_query = {
|
||||
"script_score": {
|
||||
"script": {
|
||||
"lang": "painless",
|
||||
"source": "if (!doc.containsKey('summary_stats.2yr_mean_citedness') || doc['summary_stats.2yr_mean_citedness'].empty) return 1.0;double recent = doc['summary_stats.2yr_mean_citedness'].value;return 1.0 + Math.log1p(recent) / 8.0;"
|
||||
}
|
||||
}
|
||||
}
|
||||
functions.append(mean_citedness_boost_query)
|
||||
|
||||
if (works_boost): # works_count boost
|
||||
works_count_boost_query = {
|
||||
"script_score": {
|
||||
|
||||
Reference in New Issue
Block a user