From 31de0c2076e9740ad13bc05fd07faa637861f344 Mon Sep 17 00:00:00 2001 From: Theodlz Date: Tue, 12 Mar 2024 16:23:34 -0700 Subject: [PATCH 1/2] fix config for winter indexes --- config.defaults.yaml | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/config.defaults.yaml b/config.defaults.yaml index d0dc520d..ac490ecd 100644 --- a/config.defaults.yaml +++ b/config.defaults.yaml @@ -226,10 +226,10 @@ kowalski: - ["coordinates.radec_geojson", "2dsphere"] - ["candid", -1] unique: false - - name: radec_objectId + - name: radec_objectid fields: - ["coordinates.radec_geojson", "2dsphere"] - - ["objectId", -1] + - ["objectid", -1] unique: false - name: jd_radec_candid fields: @@ -237,15 +237,15 @@ kowalski: - ["coordinates.radec_geojson", "2dsphere"] - ["candid", -1] unique: false - - name: jd_radec_objectId + - name: jd_radec_objectid fields: - ["candidate.jd", 1] - ["coordinates.radec_geojson", "2dsphere"] - - ["objectId", -1] + - ["objectid", -1] unique: false - - name: objectId + - name: objectid fields: - - ["objectId", -1] + - ["objectid", -1] unique: false - name: candid fields: @@ -257,21 +257,6 @@ kowalski: - ["candidate.drb", -1] - ["candid", -1] unique: false - - name: jd_drb_ndethist_dmag2mass_isstar_distnearbrstar - fields: - - ["candidate.jd", -1] - - ["candidate.drb", -1] - - ["candidate.ndethist", 1] - - ["candidate.dmag2mass", -1] - - ["candidate.isstar", -1] - - ["candidate.distnearbrstar", 1] - unique: false - - name: jd_scorr_dmag2mass - fields: - - ["candidate.jd", -1] - - ["candidate.scorr", -1] - - ["candidate.dmag2mass", -1] - unique: false TURBO_alerts: - name: radec_candid From b299c85657c4d8a7cb35fb8dd7d67ebd9fb597ee Mon Sep 17 00:00:00 2001 From: Theodlz Date: Tue, 12 Mar 2024 16:25:19 -0700 Subject: [PATCH 2/2] remove index that uses missing drb --- config.defaults.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/config.defaults.yaml b/config.defaults.yaml index ac490ecd..ccc96f91 100644 --- a/config.defaults.yaml +++ b/config.defaults.yaml @@ -251,12 +251,6 @@ kowalski: fields: - ["candid", -1] unique: true - - name: jd_drb_candid - fields: - - ["candidate.jd", -1] - - ["candidate.drb", -1] - - ["candid", -1] - unique: false TURBO_alerts: - name: radec_candid