[fix] engine: core.ac.uk - don't split a string into a tag list (#6689)

This commit is contained in:
Markus Heiser
2026-09-10 14:45:43 +02:00
committed by GitHub
parent 42e1d61296
commit 931fd9787b

View File

@@ -141,12 +141,13 @@ def response(resp: "SXNG_Response") -> EngineResults:
if name:
authors.add(name)
tag = result.get("fieldOfStudy")
res.add(
res.types.Paper(
title=result.get("title"),
url=url,
content=result.get("fullText", "") or "",
tags=result.get("fieldOfStudy", []),
tags=[tag] if tag else [],
publishedDate=published_date,
type=result.get("documentType", "") or "",
authors=authors,