From 229c4126deaeaa468cd962510737ee5595f52701 Mon Sep 17 00:00:00 2001 From: genja Date: Thu, 11 Jun 2026 11:55:47 +0200 Subject: [PATCH 1/5] removed name_quality_boost from person list ranking --- .../src/main/inse/persons/query_builder.py | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/service/src/main/inse/persons/query_builder.py b/service/src/main/inse/persons/query_builder.py index a258b99a..0081477f 100644 --- a/service/src/main/inse/persons/query_builder.py +++ b/service/src/main/inse/persons/query_builder.py @@ -418,16 +418,16 @@ def build_authors_search_rescored( functions = [] if not sort_by: - if (name_quality_boost): # Name quality boost, boost names which are not "Value Value" - name_boost_query={ - "script_score": { - "script": { - "lang": "painless", - "source": "String name = doc['display_name.keyword'].value.toLowerCase(); String[] parts = name.splitOnToken(' ');Set unique = new HashSet();for (String p : parts) { unique.add(p); }return unique.size() > 1 ? 1.0 : 0.3;" - } - } - } - functions.append(name_boost_query) + # if (name_quality_boost): # Name quality boost, boost names which are not "Value Value" + # name_boost_query={ + # "script_score": { + # "script": { + # "lang": "painless", + # "source": "String name = doc['display_name.keyword'].value.toLowerCase(); String[] parts = name.splitOnToken(' ');Set unique = new HashSet();for (String p : parts) { unique.add(p); }return unique.size() > 1 ? 1.0 : 0.3;" + # } + # } + # } + # functions.append(name_boost_query) if (h_index_boost): # h_index boost h_index_boost_query={ "script_score": { -- 2.56.1 From f7c7a9751aca6426e0076b36be18b5edec8ab69e Mon Sep 17 00:00:00 2001 From: genja Date: Thu, 11 Jun 2026 18:37:29 +0200 Subject: [PATCH 2/5] removed debug info from console --- webapp/src/app/shared/services/resolver-state.service.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/webapp/src/app/shared/services/resolver-state.service.ts b/webapp/src/app/shared/services/resolver-state.service.ts index d992ae74..f6eb2052 100644 --- a/webapp/src/app/shared/services/resolver-state.service.ts +++ b/webapp/src/app/shared/services/resolver-state.service.ts @@ -43,7 +43,6 @@ export class ResolverStateService { isResolvingInside(path: string) { const from = this.previousUrl(); const to = this.resolvingUrl(); - console.log(from, to, to?.startsWith(path) && from?.startsWith(path)); if (to?.startsWith(path) && from?.startsWith(path)) return true; return false; } -- 2.56.1 From 2836cf02a7f48eeaf32fd0138ac7b73c9a97af88 Mon Sep 17 00:00:00 2001 From: genja Date: Thu, 11 Jun 2026 19:11:47 +0200 Subject: [PATCH 3/5] removed mead_citedness from person scroing strategy --- service/src/main/inse/persons/query_builder.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/service/src/main/inse/persons/query_builder.py b/service/src/main/inse/persons/query_builder.py index 0081477f..7431558d 100644 --- a/service/src/main/inse/persons/query_builder.py +++ b/service/src/main/inse/persons/query_builder.py @@ -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": { -- 2.56.1 From f288fb7306540b0d1c6180022b1ec10b71735c36 Mon Sep 17 00:00:00 2001 From: genja Date: Thu, 11 Jun 2026 19:21:23 +0200 Subject: [PATCH 4/5] added sorting by h_index --- webapp/src/app/modules/person-list/person-list.component.html | 1 + webapp/src/app/modules/person-list/person-list.component.ts | 3 --- webapp/src/app/resolvers/person-list.resolver.ts | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/webapp/src/app/modules/person-list/person-list.component.html b/webapp/src/app/modules/person-list/person-list.component.html index f2348b2b..766f6ed8 100644 --- a/webapp/src/app/modules/person-list/person-list.component.html +++ b/webapp/src/app/modules/person-list/person-list.component.html @@ -60,6 +60,7 @@ +