From ad28fb6d9eb5c65bdefc57af8be0289b35985a6d Mon Sep 17 00:00:00 2001 From: Matthew Templeton Date: Fri, 13 Oct 2023 15:02:16 -0400 Subject: [PATCH] update solr_adapter to add GEO/earth science collection modified: aip/classic/solr_adapter.py --- aip/classic/solr_adapter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aip/classic/solr_adapter.py b/aip/classic/solr_adapter.py index db02437..cd7838c 100644 --- a/aip/classic/solr_adapter.py +++ b/aip/classic/solr_adapter.py @@ -274,6 +274,7 @@ def _database(ADS_record): 'PHY': u'physics', 'AST': u'astronomy', 'GEN': u'general', + 'GEO': u'earth science', } result = [translation[i['content'].upper()] for i in ADS_record['metadata']['properties'].get('databases', [])] result = list(set(result))