Spaces:
Sleeping
Sleeping
Upload search_service.py
Browse files
metadata_search/search_service.py
CHANGED
|
@@ -218,6 +218,8 @@ def hybrid_search(query: str, *, top_k: int = DEFAULT_TOP_K, semantic: bool | No
|
|
| 218 |
"title": enriched["title"],
|
| 219 |
"authors": enriched["authors"],
|
| 220 |
"authors_display": format_authors(enriched["authors"]),
|
|
|
|
|
|
|
| 221 |
"abstract": display_abstract,
|
| 222 |
"full_abstract": abstract,
|
| 223 |
"keywords": enriched["keywords"],
|
|
|
|
| 218 |
"title": enriched["title"],
|
| 219 |
"authors": enriched["authors"],
|
| 220 |
"authors_display": format_authors(enriched["authors"]),
|
| 221 |
+
"journal": (row.get("SO") or "").strip(),
|
| 222 |
+
"publication_type": (row.get("DT") or "").strip(),
|
| 223 |
"abstract": display_abstract,
|
| 224 |
"full_abstract": abstract,
|
| 225 |
"keywords": enriched["keywords"],
|