starfriend commited on
Commit
0fe0607
·
verified ·
1 Parent(s): 3d1c448

Upload search_service.py

Browse files
Files changed (1) hide show
  1. metadata_search/search_service.py +2 -0
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"],