From cc0a3a082611d89cde328e984b1e1bc9331dba86 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 20 Jul 2024 20:40:40 +0200 Subject: [PATCH 01/66] made sure that the change from https://github.com/TUM-Dev/NavigaTUM/commit/28bb3ada4103fc03d8d7ec608fc17f4a27433af3 is included in the snapshot test --- ...search_executor__test__bad_queries-10.snap | 16 +++++++------- ...search_executor__test__bad_queries-11.snap | 20 ++++++++--------- ...search_executor__test__bad_queries-12.snap | 6 ++--- ...search_executor__test__bad_queries-14.snap | 20 ++++++++--------- ...search_executor__test__bad_queries-15.snap | 20 ++++++++--------- ...search_executor__test__bad_queries-16.snap | 20 ++++++++--------- ...search_executor__test__bad_queries-17.snap | 8 +++---- ...search_executor__test__bad_queries-18.snap | 18 +++++++-------- ...search_executor__test__bad_queries-19.snap | 20 ++++++++--------- ..._search_executor__test__bad_queries-2.snap | 16 +++++++------- ...search_executor__test__bad_queries-20.snap | 20 ++++++++--------- ...search_executor__test__bad_queries-21.snap | 4 ++-- ...search_executor__test__bad_queries-22.snap | 10 ++++----- ..._search_executor__test__bad_queries-3.snap | 12 +++++----- ..._search_executor__test__bad_queries-4.snap | 14 ++++++------ ..._search_executor__test__bad_queries-5.snap | 20 ++++++++--------- ..._search_executor__test__bad_queries-6.snap | 18 +++++++-------- ..._search_executor__test__bad_queries-8.snap | 2 +- ...h__search_executor__test__bad_queries.snap | 22 +++++++++---------- ...earch_executor__test__good_queries-10.snap | 12 +++++----- ...earch_executor__test__good_queries-11.snap | 20 ++++++++--------- ...earch_executor__test__good_queries-12.snap | 20 ++++++++--------- ...earch_executor__test__good_queries-13.snap | 18 +++++++-------- ...earch_executor__test__good_queries-14.snap | 20 ++++++++--------- ...earch_executor__test__good_queries-16.snap | 8 +++---- ...earch_executor__test__good_queries-17.snap | 8 +++---- ...earch_executor__test__good_queries-18.snap | 8 +++---- ...earch_executor__test__good_queries-19.snap | 18 +++++++-------- ...search_executor__test__good_queries-2.snap | 12 +++++----- ...earch_executor__test__good_queries-20.snap | 4 ++-- ...earch_executor__test__good_queries-21.snap | 20 ++++++++--------- ...earch_executor__test__good_queries-22.snap | 2 +- ...earch_executor__test__good_queries-23.snap | 20 ++++++++--------- ...earch_executor__test__good_queries-24.snap | 16 +++++++------- ...earch_executor__test__good_queries-25.snap | 16 +++++++------- ...earch_executor__test__good_queries-26.snap | 10 ++++----- ...earch_executor__test__good_queries-27.snap | 20 ++++++++--------- ...earch_executor__test__good_queries-28.snap | 6 ++--- ...earch_executor__test__good_queries-29.snap | 12 +++++----- ...search_executor__test__good_queries-3.snap | 20 ++++++++--------- ...earch_executor__test__good_queries-30.snap | 20 ++++++++--------- ...earch_executor__test__good_queries-31.snap | 14 ++++++------ ...earch_executor__test__good_queries-32.snap | 12 +++++----- ...earch_executor__test__good_queries-33.snap | 18 +++++++-------- ...earch_executor__test__good_queries-34.snap | 12 +++++----- ...earch_executor__test__good_queries-35.snap | 20 ++++++++--------- ...earch_executor__test__good_queries-36.snap | 18 +++++++-------- ...search_executor__test__good_queries-4.snap | 12 +++++----- ...search_executor__test__good_queries-5.snap | 18 +++++++-------- ...search_executor__test__good_queries-6.snap | 16 +++++++------- ...search_executor__test__good_queries-7.snap | 18 +++++++-------- ...search_executor__test__good_queries-8.snap | 14 ++++++------ ...search_executor__test__good_queries-9.snap | 16 +++++++------- ...__search_executor__test__good_queries.snap | 20 ++++++++--------- 54 files changed, 402 insertions(+), 402 deletions(-) diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-10.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-10.snap index 59501ff65..75ae0a0e0 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-10.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-10.snap @@ -8,42 +8,42 @@ info: "'f abuer' should get '5602.EG.001' in 1 results # typo with short word an entries: - id: 2805.EG.005 type: room - name: 2805.EG.005 ( Büro) + name: 2805.EG.005 (Büro) subtext: "Dachau, Karl-Benz-Straße" subtext_bold: 1.F.1@2805 - id: 2805.EG.011 type: room - name: 2805.EG.011 ( Technik/fensterlos) + name: 2805.EG.011 (Technik/fensterlos) subtext: "Dachau, Karl-Benz-Straße" subtext_bold: 2.F.2@2805 - id: 2805.EG.030 type: room - name: 2805.EG.030 ( Flur-Nord) + name: 2805.EG.030 (Flur-Nord) subtext: "Dachau, Karl-Benz-Straße" subtext_bold: F-NORD@2805 - id: 0508.EG.806 type: room - name: "0508.EG.806 ( Gruppenraum \u0019f\u0017. Praktika)" + name: "0508.EG.806 (Gruppenraum \u0019f\u0017. Praktika)" subtext: "stammgelände, Heizkraftwerk (Z8)" subtext_bold: 0806@0508 - id: 2913.01.110 type: room - name: 2913.01.110 ( Seminarraum) + name: 2913.01.110 (Seminarraum) subtext: "stammgelände, Brienner Forum Haus F (AM)" subtext_bold: F.1.10@2913 - id: 2913.01.111 type: room - name: 2913.01.111 ( Seminarraum) + name: 2913.01.111 (Seminarraum) subtext: "stammgelände, Brienner Forum Haus F (AM)" subtext_bold: F.1.11@2913 - id: 2913.01.112 type: room - name: 2913.01.112 ( Seminarraum) + name: 2913.01.112 (Seminarraum) subtext: "stammgelände, Brienner Forum Haus F (AM)" subtext_bold: F.1.12@2913 - id: 5407.EG.651E type: room - name: "5407.EG.651E ( Phys.Messr.\u0019f\u0017.instr.Analytik)" + name: "5407.EG.651E (Phys.Messr.\u0019f\u0017.instr.Analytik)" subtext: "garching, Chemie" subtext_bold: 16515@5407 n_visible: 8 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-11.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-11.snap index 2868f4d90..d74723b09 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-11.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-11.snap @@ -8,52 +8,52 @@ info: "'ssz' should get '0501.EG.144' in 1 results # main room called 'service d entries: - id: 0501.EG.144A type: room - name: "0501.EG.144A ( \u0019SSZ\u0017 Info)" + name: "0501.EG.144A (\u0019SSZ\u0017 Info)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 0144A@0501 - id: 0501.EG.144B type: room - name: "0501.EG.144B ( \u0019SSZ\u0017 Info)" + name: "0501.EG.144B (\u0019SSZ\u0017 Info)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 0144B@0501 - id: 0501.EG.144C type: room - name: "0501.EG.144C ( \u0019SSZ\u0017 Info)" + name: "0501.EG.144C (\u0019SSZ\u0017 Info)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 0144C@0501 - id: 0501.EG.144D type: room - name: "0501.EG.144D ( \u0019SSZ\u0017 Info)" + name: "0501.EG.144D (\u0019SSZ\u0017 Info)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 0144D@0501 - id: 0501.EG.144E type: room - name: "0501.EG.144E ( \u0019SSZ\u0017 Info)" + name: "0501.EG.144E (\u0019SSZ\u0017 Info)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 0144E@0501 - id: 0501.EG.144F type: room - name: "0501.EG.144F ( \u0019SSZ\u0017 Info)" + name: "0501.EG.144F (\u0019SSZ\u0017 Info)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 0144F@0501 - id: 0501.EG.144G type: room - name: "0501.EG.144G ( \u0019SSZ\u0017 Info)" + name: "0501.EG.144G (\u0019SSZ\u0017 Info)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 0144G@0501 - id: 0501.EG.144H type: room - name: "0501.EG.144H ( \u0019SSZ\u0017 Info)" + name: "0501.EG.144H (\u0019SSZ\u0017 Info)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 0144H@0501 - id: 0501.EG.148 type: room - name: "0501.EG.148 ( Teeküche \u0019SSZ\u0017)" + name: "0501.EG.148 (Teeküche \u0019SSZ\u0017)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 0148@0501 - id: 0505.EG.561 type: room - name: "0505.EG.561 ( Sekretariat \u0019SSZ\u0017/HR S+L / Recht)" + name: "0505.EG.561 (Sekretariat \u0019SSZ\u0017/HR S+L / Recht)" subtext: "stammgelände, Wirtschaftswissenschaften (Z5)" subtext_bold: 0561@0505 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-12.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-12.snap index a52a01b4a..d512ce1a1 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-12.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-12.snap @@ -8,17 +8,17 @@ info: "'Immathalle' should get '0501.EG.136' in 1 results" entries: - id: 0501.EG.130C type: room - name: "0501.EG.130C ( Küche \u0019Immatrikulationshalle\u0017)" + name: "0501.EG.130C (Küche \u0019Immatrikulationshalle\u0017)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 0130C@0501 - id: 0501.EG.136 type: room - name: "0501.EG.136 ( \u0019Immatrikulationshalle\u0017)" + name: "0501.EG.136 (\u0019Immatrikulationshalle\u0017)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 0136@0501 - id: 0501.EG.140 type: room - name: "0501.EG.140 ( Durchgangshalle zur \u0019Immathalle\u0017)" + name: "0501.EG.140 (Durchgangshalle zur \u0019Immathalle\u0017)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 0140@0501 n_visible: 3 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-14.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-14.snap index a41846fb4..80242c66a 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-14.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-14.snap @@ -8,52 +8,52 @@ info: "'praktikumsraum mi' should get '5604.EG.038' in 2 results # there are two entries: - id: 5605.01.012 type: room - name: "5605.01.012 ( \u0019Praktikumsraum\u0017)" + name: "5605.01.012 (\u0019Praktikumsraum\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.05.012@5605 - id: 5605.01.013 type: room - name: "5605.01.013 ( \u0019Praktikumsraum\u0017)" + name: "5605.01.013 (\u0019Praktikumsraum\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.05.013@5605 - id: 5605.02.014 type: room - name: "5605.02.014 ( \u0019Praktikumsraum\u0017)" + name: "5605.02.014 (\u0019Praktikumsraum\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 02.05.014@5605 - id: 5605.02.033 type: room - name: "5605.02.033 ( \u0019Praktikumsraum\u0017)" + name: "5605.02.033 (\u0019Praktikumsraum\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 02.05.033@5605 - id: 5605.03.012 type: room - name: "5605.03.012 ( \u0019Praktikumsraum\u0017)" + name: "5605.03.012 (\u0019Praktikumsraum\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 03.05.012@5605 - id: 5605.03.014 type: room - name: "5605.03.014 ( \u0019Praktikumsraum\u0017)" + name: "5605.03.014 (\u0019Praktikumsraum\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 03.05.014@5605 - id: 5605.03.057 type: room - name: "5605.03.057 ( \u0019Praktikumsraum\u0017)" + name: "5605.03.057 (\u0019Praktikumsraum\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 03.05.057@5605 - id: 5607.01.012 type: room - name: "5607.01.012 ( \u0019Praktikumsraum\u0017)" + name: "5607.01.012 (\u0019Praktikumsraum\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.07.012@5607 - id: 5608.01.011 type: room - name: "5608.01.011 ( \u0019Praktikumsraum\u0017)" + name: "5608.01.011 (\u0019Praktikumsraum\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.08.011@5608 - id: 5608.01.020 type: room - name: "5608.01.020 ( \u0019Praktikumsraum\u0017)" + name: "5608.01.020 (\u0019Praktikumsraum\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.08.020@5608 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-15.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-15.snap index 9dee1bbc5..50b731f86 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-15.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-15.snap @@ -8,52 +8,52 @@ info: "'physik labor mi' should get '5604.EG.036' in 3 results # '5604.02.033' i entries: - id: 0104.U1.404 type: room - name: "0104.U1.404 ( \u0019Mi\u0017krostr. Bauele.-\u0019Labor\u0017)" + name: "0104.U1.404 (\u0019Mi\u0017krostr. Bauele.-\u0019Labor\u0017)" subtext: "stammgelände, E-Technik Elektrophysik (N4)" subtext_bold: N-1404@0104 - id: 0104.EG.426 type: room - name: "0104.EG.426 ( \u0019Physiklabor\u0017 \u0019mi\u0017t elektromagnetischer Abschir)" + name: "0104.EG.426 (\u0019Physiklabor\u0017 \u0019mi\u0017t elektromagnetischer Abschir)" subtext: "stammgelände, E-Technik Elektrophysik (N4)" subtext_bold: N0426@0104 - id: 5501.01.108 type: room - name: "5501.01.108 ( \u0019Mi\u0017krotechniklabor)" + name: "5501.01.108 (\u0019Mi\u0017krotechniklabor)" subtext: "garching, Maschinenwesen (MW)" subtext_bold: 1108@5501 - id: 2806.03.302 type: room - name: "2806.03.302 ( \u0019Mi\u0017kroskopie)" + name: "2806.03.302 (\u0019Mi\u0017kroskopie)" subtext: Werkstattgebäude National Museum (Nutzung) subtext_bold: 3.302@2806 - id: 4224.01.136 type: room - name: "4224.01.136 ( \u0019Mi\u0017kroskopie)" + name: "4224.01.136 (\u0019Mi\u0017kroskopie)" subtext: "weihenstephan, ZIEL IV - Biowissenschaften" subtext_bold: 1.36@4224 - id: 4224.01.156 type: room - name: "4224.01.156 ( \u0019Mi\u0017kroskopierraum S1-Genlabor)" + name: "4224.01.156 (\u0019Mi\u0017kroskopierraum S1-Genlabor)" subtext: "weihenstephan, ZIEL IV - Biowissenschaften" subtext_bold: 1.56@4224 - id: 4317.01.121 type: room - name: "4317.01.121 ( \u0019Mi\u0017kroskopierraum)" + name: "4317.01.121 (\u0019Mi\u0017kroskopierraum)" subtext: "weihenstephan, Tierwissenschaften" subtext_bold: 1.21@4317 - id: 4404.EG.003 type: room - name: "4404.EG.003 ( \u0019Mi\u0017kroskopie)" + name: "4404.EG.003 (\u0019Mi\u0017kroskopie)" subtext: "limnologische-station-iffeldorf, Seminargebäude" subtext_bold: 003@4404 - id: 0103.U1.301 type: room - name: "0103.U1.301 ( FIB-\u0019Mi\u0017kroskopierraum)" + name: "0103.U1.301 (FIB-\u0019Mi\u0017kroskopierraum)" subtext: "stammgelände, E-Technik El. Maschinen / Geräte (N3)" subtext_bold: "-1301@0103" - id: 4124.EG.320 type: room - name: "4124.EG.320 ( L1 \u0019Mi\u0017kroorganismen)" + name: "4124.EG.320 (L1 \u0019Mi\u0017kroorganismen)" subtext: "weihenstephan, ZIEL II – Molekulare Biowissenschaften" subtext_bold: E/3.20@4124 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-16.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-16.snap index 582635569..4986f816d 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-16.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-16.snap @@ -8,52 +8,52 @@ info: "'n1403' should get '0104.U1.403' in 2 results # This is 'N-1403@0104', bu entries: - id: 0104.01.403 type: room - name: 0104.01.403 ( Büro) + name: 0104.01.403 (Büro) subtext: "stammgelände, E-Technik Elektrophysik (N4)" subtext_bold: N1403@0104 - id: 0102.01.203 type: room - name: 0102.01.203 ( Hörsaal-eben m.exp.-Bühne) + name: 0102.01.203 (Hörsaal-eben m.exp.-Bühne) subtext: "stammgelände, Hochvolthaus (N2)" subtext_bold: N1203@0102 - id: 0101.Z1.003 type: room - name: 0101.Z1.003 ( Studentenarbeitsraum) + name: 0101.Z1.003 (Studentenarbeitsraum) subtext: "stammgelände, U-Trakt (N1)" subtext_bold: N1003ZG@0101 - id: 0101.Z1.039 type: room - name: 0101.Z1.039 ( Seminarraum) + name: 0101.Z1.039 (Seminarraum) subtext: "stammgelände, U-Trakt (N1)" subtext_bold: N1039ZG@0101 - id: 0104.01.406 type: room - name: 0104.01.406 ( Studentenarb. m. DV) + name: 0104.01.406 (Studentenarb. m. DV) subtext: "stammgelände, E-Technik Elektrophysik (N4)" subtext_bold: N1406@0104 - id: 0108.01.803 type: room - name: 0108.01.803 ( Gruppenraum) + name: 0108.01.803 (Gruppenraum) subtext: "stammgelände, E-Technik Verfügungsgebäude (N8)" subtext_bold: N1803@0108 - id: 0101.Z1.031 type: room - name: 0101.Z1.031 ( Bibliotheksraum einf.) + name: 0101.Z1.031 (Bibliotheksraum einf.) subtext: "stammgelände, U-Trakt (N1)" subtext_bold: N1031ZG@0101 - id: 5112.EG.103N type: room - name: 5112.EG.103N ( Labor) + name: 5112.EG.103N (Labor) subtext: "garching, Walter-Schottky-Institut (WSI)" subtext_bold: N103@5112 - id: 0101.Z1.030 type: room - name: 0101.Z1.030 ( Besprechungsraum) + name: 0101.Z1.030 (Besprechungsraum) subtext: "stammgelände, U-Trakt (N1)" subtext_bold: N1030ZG@0101 - id: 0101.Z1.032 type: room - name: 0101.Z1.032 ( Büro) + name: 0101.Z1.032 (Büro) subtext: "stammgelände, U-Trakt (N1)" subtext_bold: N1032ZG@0101 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-17.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-17.snap index 89b802faa..9154b206b 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-17.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-17.snap @@ -8,7 +8,7 @@ info: "'fachschaft pyhsik' should get '5101.EG.257' in 1 results # typo + it's ' entries: - id: 0104.EG.413 type: room - name: "0104.EG.413 ( Elektroniklabor \u0019Fachschaft\u0017 EI)" + name: "0104.EG.413 (Elektroniklabor \u0019Fachschaft\u0017 EI)" subtext: "stammgelände, E-Technik Elektrophysik (N4)" subtext_bold: N0413@0104 - id: 5101.EG.257 @@ -43,17 +43,17 @@ info: "'fachschaft pyhsik' should get '5101.EG.257' in 1 results # typo + it's ' subtext_bold: 00.06.039@5606 - id: 2333.01.103 type: room - name: "2333.01.103 ( \u0019Fachschaft\u0017 Sport)" + name: "2333.01.103 (\u0019Fachschaft\u0017 Sport)" subtext: "campus-im-olympiapark-sz, CiO/SG Hallen Ost" subtext_bold: 01.2333.103@2333 - id: 9377.01.130 type: room - name: "9377.01.130 ( Projektraum \u0019Fachschaft\u0017)" + name: "9377.01.130 (Projektraum \u0019Fachschaft\u0017)" subtext: "taufkirchen-ottobr., Lise-Meitner-Straße 9-11" subtext_bold: 01.130@9377 - id: 0504.EG.424 type: room - name: "0504.EG.424 ( Arbeitsraum/Studenten/\u0019Fachschaft\u0017)" + name: "0504.EG.424 (Arbeitsraum/Studenten/\u0019Fachschaft\u0017)" subtext: "stammgelände, Landwirtschaftsbau (Z4)" subtext_bold: 0424@0504 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-18.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-18.snap index 8fe553f70..707785a3f 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-18.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-18.snap @@ -16,47 +16,47 @@ info: "'H.0003' should get '2910.EG.003' in 1 results # H.003 is the correct roo entries: - id: 2910.01.101 type: room - name: 2910.01.101 ( Gruppenarbeitsraum) + name: 2910.01.101 (Gruppenarbeitsraum) subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.101@2910 - id: 2910.01.102 type: room - name: 2910.01.102 ( Gruppenarbeitsraum) + name: 2910.01.102 (Gruppenarbeitsraum) subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.102@2910 - id: 2910.02.202 type: room - name: 2910.02.202 ( Seminarraum) + name: 2910.02.202 (Seminarraum) subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.202@2910 - id: 2910.02.204 type: room - name: 2910.02.204 ( Seminarraum) + name: 2910.02.204 (Seminarraum) subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.204@2910 - id: 2910.02.206 type: room - name: 2910.02.206 ( Seminarraum) + name: 2910.02.206 (Seminarraum) subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.206@2910 - id: 2910.EG.001 type: room - name: 2910.EG.001 ( Seminarraum) + name: 2910.EG.001 (Seminarraum) subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.001@2910 - id: 2910.EG.002 type: room - name: 2910.EG.002 ( Seminarraum) + name: 2910.EG.002 (Seminarraum) subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.002@2910 - id: 2910.EG.003 type: room - name: 2910.EG.003 ( Seminarraum) + name: 2910.EG.003 (Seminarraum) subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.003@2910 - id: 5212.01.028 type: room - name: 5212.01.028 ( Gemeinschaftsraum) + name: 5212.01.028 (Gemeinschaftsraum) subtext: "garching, RCM Radiochemie München" subtext_bold: H.1.028@5212 n_visible: 9 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-19.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-19.snap index 5b7d24206..5e1a98812 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-19.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-19.snap @@ -8,54 +8,54 @@ info: "'H.03' should get '2910.EG.003' in 1 results # H.003 is the correct room, entries: - id: 5212.01.030 type: room - name: "5212.01.\u001903\u00170 ( Gemeinschaftsraum)" + name: "5212.01.\u001903\u00170 (Gemeinschaftsraum)" subtext: "garching, RCM Radiochemie München" subtext_bold: H.1.030@5212 - id: 5212.02.030 type: room - name: "5212.02.\u001903\u00170 ( Gemeinschaftsraum)" + name: "5212.02.\u001903\u00170 (Gemeinschaftsraum)" subtext: "garching, RCM Radiochemie München" subtext_bold: H.2.030@5212 - id: 2910.EG.031 type: room - name: "2910.EG.\u001903\u00171 ( WC-Herren)" + name: "2910.EG.\u001903\u00171 (WC-Herren)" subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.031@2910 parsed_id: "\u0019H.03\u00171 RiWa 1 (HfP/GOV)" - id: 2910.EG.032 type: room - name: "2910.EG.\u001903\u00172 ( Beh.-WC)" + name: "2910.EG.\u001903\u00172 (Beh.-WC)" subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.032@2910 parsed_id: "\u0019H.03\u00172 RiWa 1 (HfP/GOV)" - id: 0504.03.430 type: room - name: "0504.\u001903\u0017.430 ( WC-\u0019H\u0017)" + name: "0504.\u001903\u0017.430 (WC-\u0019H\u0017)" subtext: "stammgelände, Landwirtschaftsbau (Z4)" subtext_bold: 3430@0504 - id: 0505.03.522 type: room - name: "0505.\u001903\u0017.522 ( WC-\u0019H\u0017)" + name: "0505.\u001903\u0017.522 (WC-\u0019H\u0017)" subtext: "stammgelände, Wirtschaftswissenschaften (Z5)" subtext_bold: 3522@0505 - id: 0505.03.526A type: room - name: "0505.\u001903\u0017.526A ( WC-\u0019H\u0017)" + name: "0505.\u001903\u0017.526A (WC-\u0019H\u0017)" subtext: "stammgelände, Wirtschaftswissenschaften (Z5)" subtext_bold: 3526@0505 - id: 0501.03.135 type: room - name: "0501.\u001903\u0017.135 ( Vorraum WC-\u0019H\u0017)" + name: "0501.\u001903\u0017.135 (Vorraum WC-\u0019H\u0017)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 3135@0501 - id: 0501.03.135B type: room - name: "0501.\u001903\u0017.135B ( Toilette WC-\u0019H\u0017)" + name: "0501.\u001903\u0017.135B (Toilette WC-\u0019H\u0017)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 3135B@0501 - id: 0501.03.153A type: room - name: "0501.\u001903\u0017.153A ( Vorraum WC-\u0019H\u0017)" + name: "0501.\u001903\u0017.153A (Vorraum WC-\u0019H\u0017)" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 3153A@0501 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-2.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-2.snap index 52fd4678a..73e06139a 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-2.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-2.snap @@ -2,7 +2,7 @@ source: main-api/src/search/search_executor/mod.rs description: target is hallucinated as it currently does not exist expression: actual -info: "tb innenstadt should get tb-arcisstraße in 1 # target is hallucinated as it currently does not exist" +info: "'tb innenstadt' should get 'tb-arcisstraße' in 1 results # target is hallucinated as it currently does not exist" --- - facet: sites_buildings entries: @@ -25,37 +25,37 @@ info: "tb innenstadt should get tb-arcisstraße in 1 # target is hallucinated as subtext_bold: 21010@5401 - id: 4220.01.001 type: room - name: 4220.01.001 ( Einzelarbeitsraum) + name: 4220.01.001 (Einzelarbeitsraum) subtext: "weihenstephan, Teilbibliothek Weihenstephan, Pressestelle Datenverarbeitung" subtext_bold: OG R 01@4220 - id: 4220.01.002 type: room - name: 4220.01.002 ( Einzelarbeitsraum) + name: 4220.01.002 (Einzelarbeitsraum) subtext: "weihenstephan, Teilbibliothek Weihenstephan, Pressestelle Datenverarbeitung" subtext_bold: OG R 02@4220 - id: 4220.01.003 type: room - name: 4220.01.003 ( Einzelarbeitsraum) + name: 4220.01.003 (Einzelarbeitsraum) subtext: "weihenstephan, Teilbibliothek Weihenstephan, Pressestelle Datenverarbeitung" subtext_bold: OG R 03@4220 - id: 4220.01.004 type: room - name: 4220.01.004 ( Einzelarbeitsraum) + name: 4220.01.004 (Einzelarbeitsraum) subtext: "weihenstephan, Teilbibliothek Weihenstephan, Pressestelle Datenverarbeitung" subtext_bold: OG R 04@4220 - id: 4220.01.005 type: room - name: 4220.01.005 ( Einzelarbeitsraum) + name: 4220.01.005 (Einzelarbeitsraum) subtext: "weihenstephan, Teilbibliothek Weihenstephan, Pressestelle Datenverarbeitung" subtext_bold: OG R 05@4220 - id: 4220.01.006 type: room - name: 4220.01.006 ( Einzelarbeitsraum) + name: 4220.01.006 (Einzelarbeitsraum) subtext: "weihenstephan, Teilbibliothek Weihenstephan, Pressestelle Datenverarbeitung" subtext_bold: OG R 06@4220 - id: 4220.01.007 type: room - name: 4220.01.007 ( Einzelarbeitsraum) + name: 4220.01.007 (Einzelarbeitsraum) subtext: "weihenstephan, Teilbibliothek Weihenstephan, Pressestelle Datenverarbeitung" subtext_bold: OG R 07@4220 n_visible: 8 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-20.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-20.snap index 24b8a8c76..ed3c3f5fc 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-20.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-20.snap @@ -8,53 +8,53 @@ info: "'H.3' should get '2910.EG.003' in 1 results # H.003 is the correct room, entries: - id: 5212.01.028 type: room - name: 5212.01.028 ( Gemeinschaftsraum) + name: 5212.01.028 (Gemeinschaftsraum) subtext: "garching, RCM Radiochemie München" subtext_bold: H.1.028@5212 - id: 5212.01.030 type: room - name: 5212.01.030 ( Gemeinschaftsraum) + name: 5212.01.030 (Gemeinschaftsraum) subtext: "garching, RCM Radiochemie München" subtext_bold: H.1.030@5212 - id: 5212.02.028 type: room - name: 5212.02.028 ( Gemeinschaftsraum) + name: 5212.02.028 (Gemeinschaftsraum) subtext: "garching, RCM Radiochemie München" subtext_bold: H.2.028@5212 - id: 5212.02.030 type: room - name: 5212.02.030 ( Gemeinschaftsraum) + name: 5212.02.030 (Gemeinschaftsraum) subtext: "garching, RCM Radiochemie München" subtext_bold: H.2.030@5212 - id: 5212.EG.006 type: room - name: 5212.EG.006 ( Seminar 1) + name: 5212.EG.006 (Seminar 1) subtext: "garching, RCM Radiochemie München" subtext_bold: H.0.006@5212 - id: 4124.U1.001A type: room - name: 4124.U1.001A ( Praktikum (Hinterer Raumteil)) + name: 4124.U1.001A (Praktikum (Hinterer Raumteil)) subtext: "weihenstephan, ZIEL II – Molekulare Biowissenschaften" subtext_bold: P/1.01 H@4124 - id: 5212.EG.007 type: room - name: "5212.EG.007 ( Wischtest, freig.)" + name: "5212.EG.007 (Wischtest, freig.)" subtext: "garching, RCM Radiochemie München" subtext_bold: H.0.007@5212 - id: 5212.EG.603 type: room - name: 5212.EG.603 ( Pers. Dekont./Dusche) + name: 5212.EG.603 (Pers. Dekont./Dusche) subtext: "garching, RCM Radiochemie München" subtext_bold: H.0.603@5212 - id: 2910.03.301 type: room - name: "2910.03.\u00193\u001701 ( Büro)" + name: "2910.03.\u00193\u001701 (Büro)" subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.301@2910 parsed_id: "\u0019H.3\u001701 RiWa 1 (HfP/GOV)" - id: 2910.03.302 type: room - name: "2910.03.\u00193\u001702 ( Büro)" + name: "2910.03.\u00193\u001702 (Büro)" subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.302@2910 parsed_id: "\u0019H.3\u001702 RiWa 1 (HfP/GOV)" diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-21.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-21.snap index 77f2fca61..ce2508261 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-21.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-21.snap @@ -8,13 +8,13 @@ info: "'2119' should get '0101.02.119' in 4 results # The architects name is a N entries: - id: 5101.EG.119 type: room - name: 5101.EG.119 ( Physiklabor (einfach)) + name: 5101.EG.119 (Physiklabor (einfach)) subtext: "garching, Physik I" subtext_bold: 2119@5101 parsed_id: "PH \u00192119\u0017" - id: 5413.01.119 type: room - name: 5413.01.119 ( Kopierer) + name: 5413.01.119 (Kopierer) subtext: "garching, BNMRZ Bayerisches NMR-Zentrum" subtext_bold: 2119@5413 parsed_id: "\u00192119\u0017 BNMRZ B…MR-Zentrum" diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-22.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-22.snap index 22f79c305..f9a746bd9 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-22.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-22.snap @@ -32,27 +32,27 @@ info: "'MI HS3' should get '5606.EG.011' in 1 results # This should match this L entries: - id: 5606.EG.011 type: room - name: "5606.EG.011 ( \u0019MI\u0017 \u0019Hörsaal\u0017 \u00193\u0017)" + name: "5606.EG.011 (\u0019MI\u0017 \u0019Hörsaal\u0017 \u00193\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.06.011@5606 - id: 5602.EG.001 type: room - name: "5602.EG.001 ( \u0019MI\u0017 \u0019HS\u0017 1, Friedrich L. Bauer \u0019Hörsaal\u0017)" + name: "5602.EG.001 (\u0019MI\u0017 \u0019HS\u0017 1, Friedrich L. Bauer \u0019Hörsaal\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.02.001@5602 - id: 5604.EG.011 type: room - name: "5604.EG.011 ( \u0019MI\u0017 \u0019Hörsaal\u0017 2)" + name: "5604.EG.011 (\u0019MI\u0017 \u0019Hörsaal\u0017 2)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.04.011@5604 - id: 5602.EG.002 type: room - name: "5602.EG.002 ( \u0019MI\u0017 \u0019Hörsaal\u0017 Regieraum)" + name: "5602.EG.002 (\u0019MI\u0017 \u0019Hörsaal\u0017 Regieraum)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.02.002@5602 - id: 5602.U1.001 type: room - name: 5602.U1.001 ( Technikraum) + name: 5602.U1.001 (Technikraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: "-1.02.001@5602" n_visible: 5 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-3.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-3.snap index 5cd7785fd..097e50ffd 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-3.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-3.snap @@ -28,32 +28,32 @@ info: "'interims I' should get '5620' in 1 results" entries: - id: 5620.01.101 type: room - name: "5620.01.101 ( Hörsaal 1, \"\u0019Interims\u0017 \u0019I\u0017\")" + name: "5620.01.101 (Hörsaal 1, \"\u0019Interims\u0017 \u0019I\u0017\")" subtext: "garching, Interims I" subtext_bold: 101@5620 - id: 5620.01.102 type: room - name: "5620.01.102 ( Hörsaal 2, \"\u0019Interims\u0017 \u0019I\u0017\")" + name: "5620.01.102 (Hörsaal 2, \"\u0019Interims\u0017 \u0019I\u0017\")" subtext: "garching, Interims I" subtext_bold: 102@5620 - id: 5416.01.003 type: room - name: "5416.01.003 ( Hörsaal 2, \"\u0019Interims\u0017 \u0019I\u0017I\")" + name: "5416.01.003 (Hörsaal 2, \"\u0019Interims\u0017 \u0019I\u0017I\")" subtext: "garching, Interims II" subtext_bold: 003@5416 - id: 5416.01.004 type: room - name: "5416.01.004 ( Hörsaal 1, Jürgen-Manchot-Hörsaal)" + name: "5416.01.004 (Hörsaal 1, Jürgen-Manchot-Hörsaal)" subtext: "garching, Interims II" subtext_bold: 004@5416 - id: 5539.EG.001A type: room - name: "5539.EG.001A ( Hörsaal 1A, \"Zelt\")" + name: "5539.EG.001A (Hörsaal 1A, \"Zelt\")" subtext: "garching, Interims III" subtext_bold: 0.001A@5539 - id: 5539.EG.001B type: room - name: "5539.EG.001B ( Hörsaal 1B, \"Zelt\")" + name: "5539.EG.001B (Hörsaal 1B, \"Zelt\")" subtext: "garching, Interims III" subtext_bold: 0.001B@5539 n_visible: 6 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-4.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-4.snap index c5a8cb64f..d0064e941 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-4.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-4.snap @@ -24,37 +24,37 @@ info: "'Studitum Arcisstr' should get '0201' in 1 results # Note: It is not real entries: - id: 4113.01.105 type: room - name: 4113.01.105 ( Hörsaal 4 (WZWH04)) + name: 4113.01.105 (Hörsaal 4 (WZWH04)) subtext: "weihenstephan, StudiTUM" subtext_bold: O1 5@4113 - id: 0201.01.001 type: room - name: 0201.01.001 ( Stillarbeitsraum) + name: 0201.01.001 (Stillarbeitsraum) subtext: "stammgelände, StudiTUM" subtext_bold: 1.01@0201 - id: 0201.01.002 type: room - name: 0201.01.002 ( Einzelarbeitsraum) + name: 0201.01.002 (Einzelarbeitsraum) subtext: "stammgelände, StudiTUM" subtext_bold: 1.02@0201 - id: 0201.01.003 type: room - name: 0201.01.003 ( Einzelarbeitsraum) + name: 0201.01.003 (Einzelarbeitsraum) subtext: "stammgelände, StudiTUM" subtext_bold: 1.03@0201 - id: 0201.01.007 type: room - name: 0201.01.007 ( Gruppenarbeitsraum) + name: 0201.01.007 (Gruppenarbeitsraum) subtext: "stammgelände, StudiTUM" subtext_bold: 1.07@0201 - id: 0201.01.008 type: room - name: 0201.01.008 ( Einzelarbeitsraum) + name: 0201.01.008 (Einzelarbeitsraum) subtext: "stammgelände, StudiTUM" subtext_bold: 1.08@0201 - id: 0201.02.001 type: room - name: 0201.02.001 ( Stillarbeitsraum) + name: 0201.02.001 (Stillarbeitsraum) subtext: "stammgelände, StudiTUM" subtext_bold: 2.01@0201 n_visible: 7 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-5.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-5.snap index 878505d9c..ea0e96029 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-5.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-5.snap @@ -8,52 +8,52 @@ info: "'Karlsstr. 47' should get '2906' in 1 results # uses 'str.' instead of 's entries: - id: 2906.01.025 type: room - name: 2906.01.025 ( Karlstraße-Seminarraum) + name: 2906.01.025 (Karlstraße-Seminarraum) subtext: Karlstraße 45/47 subtext_bold: 1025@2906 - id: 2906.02.026 type: room - name: 2906.02.026 ( Karlstraße-Seminarraum) + name: 2906.02.026 (Karlstraße-Seminarraum) subtext: Karlstraße 45/47 subtext_bold: 2026@2906 - id: 2906.03.001 type: room - name: 2906.03.001 ( Seminarraum) + name: 2906.03.001 (Seminarraum) subtext: Karlstraße 45/47 subtext_bold: 3001@2906 - id: 2906.05.001 type: room - name: 2906.05.001 ( Unterrichtsraum) + name: 2906.05.001 (Unterrichtsraum) subtext: Karlstraße 45/47 subtext_bold: 5001@2906 - id: 2906.DG.009 type: room - name: 2906.DG.009 ( Seminarraum) + name: 2906.DG.009 (Seminarraum) subtext: Karlstraße 45/47 subtext_bold: 6009@2906 - id: 2906.02.001 type: room - name: 2906.02.001 ( Bibliothek) + name: 2906.02.001 (Bibliothek) subtext: Karlstraße 45/47 subtext_bold: 2001@2906 - id: 2906.01.001 type: room - name: 2906.01.001 ( Büro/EDV-Raum) + name: 2906.01.001 (Büro/EDV-Raum) subtext: Karlstraße 45/47 subtext_bold: 1001@2906 - id: 2906.01.002 type: room - name: 2906.01.002 ( Büro) + name: 2906.01.002 (Büro) subtext: Karlstraße 45/47 subtext_bold: 1002@2906 - id: 2906.01.003 type: room - name: 2906.01.003 ( Büro) + name: 2906.01.003 (Büro) subtext: Karlstraße 45/47 subtext_bold: 1003@2906 - id: 2906.01.004 type: room - name: 2906.01.004 ( Büro) + name: 2906.01.004 (Büro) subtext: Karlstraße 45/47 subtext_bold: 1004@2906 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-6.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-6.snap index fdfecd9cf..9a5e83be2 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-6.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-6.snap @@ -28,47 +28,47 @@ info: "'mi hs 1' should get '5602.EG.001' in 1 results" entries: - id: 5602.EG.001 type: room - name: "5602.EG.001 ( \u0019MI\u0017 \u0019HS\u0017 \u00191\u0017, Friedrich L. Bauer \u0019Hörsaal\u0017)" + name: "5602.EG.001 (\u0019MI\u0017 \u0019HS\u0017 \u00191\u0017, Friedrich L. Bauer \u0019Hörsaal\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.02.001@5602 - id: 5602.EG.002 type: room - name: "5602.EG.002 ( \u0019MI\u0017 \u0019Hörsaal\u0017 Regieraum)" + name: "5602.EG.002 (\u0019MI\u0017 \u0019Hörsaal\u0017 Regieraum)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.02.002@5602 - id: 5602.U1.001 type: room - name: 5602.U1.001 ( Technikraum) + name: 5602.U1.001 (Technikraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: "-1.02.001@5602" - id: 5602.U1.004 type: room - name: 5602.U1.004 ( Treppe im Freien) + name: 5602.U1.004 (Treppe im Freien) subtext: "garching, Mathe/Info (MI)" subtext_bold: "-1.02.004@5602" - id: 5604.EG.011 type: room - name: "5604.EG.011 ( \u0019MI\u0017 \u0019Hörsaal\u0017 2)" + name: "5604.EG.011 (\u0019MI\u0017 \u0019Hörsaal\u0017 2)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.04.011@5604 - id: 5606.EG.011 type: room - name: "5606.EG.011 ( \u0019MI\u0017 \u0019Hörsaal\u0017 3)" + name: "5606.EG.011 (\u0019MI\u0017 \u0019Hörsaal\u0017 3)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.06.011@5606 - id: 5601.EG.001 type: room - name: 5601.EG.001 ( Magistrale) + name: 5601.EG.001 (Magistrale) subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.01.001@5601 - id: 5603.01.011 type: room - name: 5603.01.011 ( Gruppenarbeitsraum) + name: 5603.01.011 (Gruppenarbeitsraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.03.011@5603 - id: 5603.01.031B type: room - name: 5603.01.031B ( Einzelarbeitsraum) + name: 5603.01.031B (Einzelarbeitsraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.03.031B@5603 n_visible: 9 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-8.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-8.snap index 23db60139..e9b7fbdb1 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-8.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries-8.snap @@ -52,7 +52,7 @@ info: "'mw g niemann' should get '5510.EG.001' in 1 results # old name before th subtext_bold: 0350@5503 - id: 5506.EG.608M type: room - name: 5506.EG.608M ( Otto-Lilienthal-Hörsaal) + name: 5506.EG.608M (Otto-Lilienthal-Hörsaal) subtext: "garching, Maschinenwesen (MW)" subtext_bold: 0608M@5506 n_visible: 5 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries.snap index c696c7f09..6d2efab6d 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__bad_queries.snap @@ -2,58 +2,58 @@ source: main-api/src/search/search_executor/mod.rs description: target is hallucinated as it currently does not exist expression: actual -info: "mathe bib should get mi-bib in 1 # target is hallucinated as it currently does not exist" +info: "'mathe bib' should get 'mi-bib' in 1 results # target is hallucinated as it currently does not exist" --- - facet: rooms entries: - id: 5603.01.011 type: room - name: 5603.01.011 ( Gruppenarbeitsraum) + name: 5603.01.011 (Gruppenarbeitsraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.03.011@5603 - id: 5603.01.031B type: room - name: 5603.01.031B ( Einzelarbeitsraum) + name: 5603.01.031B (Einzelarbeitsraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.03.031B@5603 - id: 5603.01.032 type: room - name: 5603.01.032 ( Gruppenarbeitsraum) + name: 5603.01.032 (Gruppenarbeitsraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.03.032@5603 - id: 5603.01.033A type: room - name: 5603.01.033A ( Einzelarbeitsraum) + name: 5603.01.033A (Einzelarbeitsraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.03.033A@5603 - id: 5603.01.033B type: room - name: 5603.01.033B ( Einzelarbeitsraum) + name: 5603.01.033B (Einzelarbeitsraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.03.033B@5603 - id: 5603.01.035A type: room - name: 5603.01.035A ( Einzelarbeitsraum) + name: 5603.01.035A (Einzelarbeitsraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.03.035A@5603 - id: 5603.01.035B type: room - name: 5603.01.035B ( Einzelarbeitsraum) + name: 5603.01.035B (Einzelarbeitsraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.03.035B@5603 - id: 5603.01.036 type: room - name: 5603.01.036 ( Gruppenarbeitsraum) + name: 5603.01.036 (Gruppenarbeitsraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.03.036@5603 - id: 5603.01.037A type: room - name: 5603.01.037A ( Einzelarbeitsraum) + name: 5603.01.037A (Einzelarbeitsraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.03.037A@5603 - id: 5603.01.037B type: room - name: 5603.01.037B ( Einzelarbeitsraum) + name: 5603.01.037B (Einzelarbeitsraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.03.037B@5603 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-10.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-10.snap index e0bd3adf2..881dee1de 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-10.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-10.snap @@ -28,32 +28,32 @@ info: "'ZIEL' should get 'wzw-ziel' in 1 results" entries: - id: 4124.U1.104 type: room - name: 4124.U1.104 ( Seminarraum 23 /Übungsraum (WZWS23)) + name: 4124.U1.104 (Seminarraum 23 /Übungsraum (WZWS23)) subtext: "weihenstephan, ZIEL II – Molekulare Biowissenschaften" subtext_bold: U/1.04@4124 - id: 4126.01.609B type: room - name: 4126.01.609B ( Seminarraum 14 (WZWS14)) + name: 4126.01.609B (Seminarraum 14 (WZWS14)) subtext: "weihenstephan, ZIEL I – Zentralinstitut für Ernährungs- und Lebensmittelforschung, Geschäftsstelle und Akademie" subtext_bold: O.09 a/b@4126 - id: 4126.U1.610B type: room - name: 4126.U1.610B ( Seminarraum (gem. Nutzung 1124302030;11243) + name: 4126.U1.610B (Seminarraum (gem. Nutzung 1124302030;11243) subtext: "weihenstephan, ZIEL I – Zentralinstitut für Ernährungs- und Lebensmittelforschung, Geschäftsstelle und Akademie" subtext_bold: U 10/2@4126 - id: 4224.01.148 type: room - name: 4224.01.148 ( Seminarraum 51 (WZWS51)) + name: 4224.01.148 (Seminarraum 51 (WZWS51)) subtext: "weihenstephan, ZIEL IV - Biowissenschaften" subtext_bold: 1.48@4224 - id: 4224.02.234 type: room - name: 4224.02.234 ( Seminarraum 52 (WZWS52) (gem. Nutzung)) + name: 4224.02.234 (Seminarraum 52 (WZWS52) (gem. Nutzung)) subtext: "weihenstephan, ZIEL IV - Biowissenschaften" subtext_bold: 2.34@4224 - id: 4224.02.298 type: room - name: 4224.02.298 ( Seminarraum 53 (WZWS53)) + name: 4224.02.298 (Seminarraum 53 (WZWS53)) subtext: "weihenstephan, ZIEL IV - Biowissenschaften" subtext_bold: 2.98@4224 n_visible: 6 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-11.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-11.snap index cbaa617c4..21ef1cb03 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-11.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-11.snap @@ -8,52 +8,52 @@ info: "'5604.00.011' should get '5604.EG.011' in 1 results" entries: - id: 5604.EG.011 type: room - name: "\u00195604\u0017.EG.\u0019011\u0017 ( MI Hörsaal 2)" + name: "\u00195604\u0017.EG.\u0019011\u0017 (MI Hörsaal 2)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.04.011@5604 - id: 5604.EG.034 type: room - name: "\u00195604\u0017.EG.034 ( Demonstrationspraktikum)" + name: "\u00195604\u0017.EG.034 (Demonstrationspraktikum)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.04.034@5604 - id: 5604.EG.036 type: room - name: "\u00195604\u0017.EG.036 ( Praktikumsraum-Physik)" + name: "\u00195604\u0017.EG.036 (Praktikumsraum-Physik)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.04.036@5604 - id: 5604.EG.038 type: room - name: "\u00195604\u0017.EG.038 ( Praktikumsraum-Physik)" + name: "\u00195604\u0017.EG.038 (Praktikumsraum-Physik)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.04.038@5604 - id: 5604.EG.015 type: room - name: "\u00195604\u0017.EG.015 ( WC-Herren)" + name: "\u00195604\u0017.EG.015 (WC-Herren)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.04.015@5604 - id: 5604.EG.016A type: room - name: "\u00195604\u0017.EG.016A ( Putzraum)" + name: "\u00195604\u0017.EG.016A (Putzraum)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.04.016A@5604 - id: 5604.EG.019 type: room - name: "\u00195604\u0017.EG.019 ( WC-Damen)" + name: "\u00195604\u0017.EG.019 (WC-Damen)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.04.019@5604 - id: 5604.EG.013 type: room - name: "\u00195604\u0017.EG.013 ( Abstellraum)" + name: "\u00195604\u0017.EG.013 (Abstellraum)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.04.013@5604 - id: 5604.EG.016B type: room - name: "\u00195604\u0017.EG.016B ( Heizung/Brauchwassererwärmung)" + name: "\u00195604\u0017.EG.016B (Heizung/Brauchwassererwärmung)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.04.016B@5604 - id: 5604.EG.018 type: room - name: "\u00195604\u0017.EG.018 ( Heizung/Brauchwassererwärmung)" + name: "\u00195604\u0017.EG.018 (Heizung/Brauchwassererwärmung)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.04.018@5604 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-12.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-12.snap index f19884181..04fcc9f9d 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-12.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-12.snap @@ -8,52 +8,52 @@ info: "'5601.EG.001' should get '5601.EG.001' in 1 results # MI Magistrale" entries: - id: 5601.EG.001 type: room - name: "\u00195601\u0017.\u0019EG\u0017.\u0019001\u0017 ( Magistrale)" + name: "\u00195601\u0017.\u0019EG\u0017.\u0019001\u0017 (Magistrale)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.01.001@5601 - id: 5601.EG.010 type: room - name: "\u00195601\u0017.\u0019EG\u0017.010 ( Pforte)" + name: "\u00195601\u0017.\u0019EG\u0017.010 (Pforte)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.01.010@5601 - id: 5601.EG.002 type: room - name: "\u00195601\u0017.\u0019EG\u0017.002 ( Gang, Weg im Freien)" + name: "\u00195601\u0017.\u0019EG\u0017.002 (Gang, Weg im Freien)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.01.002@5601 - id: 5601.EG.003 type: room - name: "\u00195601\u0017.\u0019EG\u0017.003 ( Windfang)" + name: "\u00195601\u0017.\u0019EG\u0017.003 (Windfang)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.01.003@5601 - id: 5601.EG.004 type: room - name: "\u00195601\u0017.\u0019EG\u0017.004 ( Gang, Weg im Freien)" + name: "\u00195601\u0017.\u0019EG\u0017.004 (Gang, Weg im Freien)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.01.004@5601 - id: 5601.EG.005 type: room - name: "\u00195601\u0017.\u0019EG\u0017.005 ( Windfang)" + name: "\u00195601\u0017.\u0019EG\u0017.005 (Windfang)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.01.005@5601 - id: 5601.EG.008 type: room - name: "\u00195601\u0017.\u0019EG\u0017.008 ( Gang, Weg im Freien)" + name: "\u00195601\u0017.\u0019EG\u0017.008 (Gang, Weg im Freien)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.01.008@5601 - id: 5601.EG.009 type: room - name: "\u00195601\u0017.\u0019EG\u0017.009 ( Windfang)" + name: "\u00195601\u0017.\u0019EG\u0017.009 (Windfang)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.01.009@5601 - id: 5601.EG.011 type: room - name: "\u00195601\u0017.\u0019EG\u0017.011 ( Windfang)" + name: "\u00195601\u0017.\u0019EG\u0017.011 (Windfang)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.01.011@5601 - id: 5601.EG.012 type: room - name: "\u00195601\u0017.\u0019EG\u0017.012 ( Gang, Weg im Freien)" + name: "\u00195601\u0017.\u0019EG\u0017.012 (Gang, Weg im Freien)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.01.012@5601 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-13.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-13.snap index e87e93f6e..97d5c39e3 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-13.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-13.snap @@ -8,7 +8,7 @@ info: "'00.01.001' should get '5601.EG.001' in 1 results # A search for the Arch entries: - id: 5601.EG.001 type: room - name: "5601.EG.\u0019001\u0017 ( Magistrale)" + name: "5601.EG.\u0019001\u0017 (Magistrale)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.01.001@5601 parsed_id: "MI \u001900.01.001\u0017" @@ -19,42 +19,42 @@ info: "'00.01.001' should get '5601.EG.001' in 1 results # A search for the Arch subtext_bold: 0001@5510 - id: 3902.EG.001 type: room - name: "3902.EG.\u0019001\u0017 ( Unterricht 2)" + name: "3902.EG.\u0019001\u0017 (Unterricht 2)" subtext: "zhs-wassersportplatz-starnberg, Seglerheim" subtext_bold: 0001@3902 - id: 5414.EG.001 type: room - name: "5414.EG.\u0019001\u0017 ( ZEI-Seminarraum)" + name: "5414.EG.\u0019001\u0017 (ZEI-Seminarraum)" subtext: "garching, Zentrum für Energie und Information (ZEI)" subtext_bold: 0001@5414 - id: 5433.EG.001 type: room - name: "5433.EG.\u0019001\u0017 ( Seminarraum 1)" + name: "5433.EG.\u0019001\u0017 (Seminarraum 1)" subtext: "garching, Entrepreneurship Research Institute" subtext_bold: 0001@5433 - id: 7910.EG.001 type: room - name: "7910.EG.\u0019001\u0017 ( Messkabine & Messtationen)" + name: "7910.EG.\u0019001\u0017 (Messkabine & Messtationen)" subtext: Oskar-von-Miller-Turm (Meteo-Mast) subtext_bold: 0001@7910 - id: 0205.EG.001 type: room - name: "0205.EG.\u0019001\u0017 ( Büro)" + name: "0205.EG.\u0019001\u0017 (Büro)" subtext: "stammgelände, Arcisstr. 19 (S5)" subtext_bold: 0001@0205 - id: 0401.EG.001 type: room - name: "0401.EG.\u0019001\u0017 ( WC-Damen)" + name: "0401.EG.\u0019001\u0017 (WC-Damen)" subtext: "stammgelände, Richard-Wagner-Str. 18 (SW1)" subtext_bold: 0001@0401 - id: 5116.EG.001 type: room - name: "5116.EG.\u0019001\u0017 ( Trafostation)" + name: "5116.EG.\u0019001\u0017 (Trafostation)" subtext: "garching, Trafostation des ZNN" subtext_bold: 0001@5116 - id: 5125.EG.001 type: room - name: "5125.EG.\u0019001\u0017 ( BMZ)" + name: "5125.EG.\u0019001\u0017 (BMZ)" subtext: "garching, Laboratory for Extreme Photonics (LEX), LMU" subtext_bold: 0001@5125 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-14.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-14.snap index d88bd8a34..8e289b58e 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-14.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-14.snap @@ -8,54 +8,54 @@ info: "'03.08.011' should get '5608.03.011' in 1 results" entries: - id: 5608.03.011 type: room - name: "5608.\u001903\u0017.\u0019011\u0017 ( Seminarraum (M1/M7))" + name: "5608.\u001903\u0017.\u0019011\u0017 (Seminarraum (M1/M7))" subtext: "garching, Mathe/Info (MI)" subtext_bold: 03.08.011@5608 parsed_id: "MI \u001903.08.011\u0017" - id: 5608.03.011A type: room - name: "5608.\u001903\u0017.\u0019011\u0017A ( Balkon)" + name: "5608.\u001903\u0017.\u0019011\u0017A (Balkon)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 03.08.011A@5608 parsed_id: "MI \u001903.08.011\u0017A" - id: 8102.03.108 type: room - name: "8102.\u001903\u0017.108 ( Hörsaal)" + name: "8102.\u001903\u0017.108 (Hörsaal)" subtext: "garching-hochbrück, Business Campus 2" subtext_bold: BC2 3.1.08@8102 - id: 5608.03.033A type: room - name: "5608.\u001903\u0017.033A ( Kopierer)" + name: "5608.\u001903\u0017.033A (Kopierer)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 03.08.033A@5608 - id: 2410.03.308 type: room - name: "2410.\u001903\u0017.308 ( WC-Damen)" + name: "2410.\u001903\u0017.308 (WC-Damen)" subtext: "Heßstraße 134, Munich School of Robotics and Machine Intelligence" subtext_bold: 03.08@2410 - id: 5608.03.015 type: room - name: "5608.\u001903\u0017.015 ( WC-Herren)" + name: "5608.\u001903\u0017.015 (WC-Herren)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 03.08.015@5608 - id: 5608.03.016 type: room - name: "5608.\u001903\u0017.016 ( Beh.-WC / Wickeltisch)" + name: "5608.\u001903\u0017.016 (Beh.-WC / Wickeltisch)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 03.08.016@5608 - id: 5608.03.017A type: room - name: "5608.\u001903\u0017.017A ( Putzraum)" + name: "5608.\u001903\u0017.017A (Putzraum)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 03.08.017A@5608 - id: 5608.03.021 type: room - name: "5608.\u001903\u0017.021 ( Büro)" + name: "5608.\u001903\u0017.021 (Büro)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 03.08.021@5608 - id: 5608.03.022 type: room - name: "5608.\u001903\u0017.022 ( Besprechungsraum)" + name: "5608.\u001903\u0017.022 (Besprechungsraum)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 03.08.022@5608 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-16.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-16.snap index 62540f82c..21c73606f 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-16.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-16.snap @@ -33,7 +33,7 @@ info: "'MW1801' should get '5508.02.801' in 1 results # splitting necessary" subtext_bold: 0350@5503 - id: 5506.EG.608M type: room - name: 5506.EG.608M ( Otto-Lilienthal-Hörsaal) + name: 5506.EG.608M (Otto-Lilienthal-Hörsaal) subtext: "garching, Maschinenwesen (MW)" subtext_bold: 0608M@5506 - id: 5510.EG.001 @@ -43,17 +43,17 @@ info: "'MW1801' should get '5508.02.801' in 1 results # splitting necessary" subtext_bold: 0001@5510 - id: 5539.EG.001A type: room - name: "5539.EG.001A ( Hörsaal 1A, \"Zelt\")" + name: "5539.EG.001A (Hörsaal 1A, \"Zelt\")" subtext: "garching, Interims III" subtext_bold: 0.001A@5539 - id: 5539.EG.001B type: room - name: "5539.EG.001B ( Hörsaal 1B, \"Zelt\")" + name: "5539.EG.001B (Hörsaal 1B, \"Zelt\")" subtext: "garching, Interims III" subtext_bold: 0.001B@5539 - id: 5539.EG.002 type: room - name: "5539.EG.002 ( Hörsaal 2, \"Zelt\")" + name: "5539.EG.002 (Hörsaal 2, \"Zelt\")" subtext: "garching, Interims III" subtext_bold: 0.002@5539 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-17.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-17.snap index 099ab4049..a3ee0c503 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-17.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-17.snap @@ -13,7 +13,7 @@ info: "'MW0001' should get '5510.EG.001' in 1 results # splitting necessary" subtext_bold: 0001@5510 - id: 5519.EG.001 type: room - name: 5519.EG.001 ( Versuchsfläche I) + name: 5519.EG.001 (Versuchsfläche I) subtext: "garching, Maschinenwesen (MW)" subtext_bold: 0001@5519 - id: 5510.02.001 @@ -38,7 +38,7 @@ info: "'MW0001' should get '5510.EG.001' in 1 results # splitting necessary" subtext_bold: 0350@5503 - id: 5506.EG.608M type: room - name: 5506.EG.608M ( Otto-Lilienthal-Hörsaal) + name: 5506.EG.608M (Otto-Lilienthal-Hörsaal) subtext: "garching, Maschinenwesen (MW)" subtext_bold: 0608M@5506 - id: 5508.02.801 @@ -48,12 +48,12 @@ info: "'MW0001' should get '5510.EG.001' in 1 results # splitting necessary" subtext_bold: 1801@5508 - id: 5539.EG.001A type: room - name: "5539.EG.001A ( Hörsaal 1A, \"Zelt\")" + name: "5539.EG.001A (Hörsaal 1A, \"Zelt\")" subtext: "garching, Interims III" subtext_bold: 0.001A@5539 - id: 5539.EG.001B type: room - name: "5539.EG.001B ( Hörsaal 1B, \"Zelt\")" + name: "5539.EG.001B (Hörsaal 1B, \"Zelt\")" subtext: "garching, Interims III" subtext_bold: 0.001B@5539 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-18.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-18.snap index cf6dc4762..b63e6f083 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-18.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-18.snap @@ -28,7 +28,7 @@ info: "'MW2001' should get '5510.02.001' in 1 results # splitting necessary" subtext_bold: 0350@5503 - id: 5506.EG.608M type: room - name: 5506.EG.608M ( Otto-Lilienthal-Hörsaal) + name: 5506.EG.608M (Otto-Lilienthal-Hörsaal) subtext: "garching, Maschinenwesen (MW)" subtext_bold: 0608M@5506 - id: 5508.02.801 @@ -43,17 +43,17 @@ info: "'MW2001' should get '5510.02.001' in 1 results # splitting necessary" subtext_bold: 0001@5510 - id: 5539.EG.001A type: room - name: "5539.EG.001A ( Hörsaal 1A, \"Zelt\")" + name: "5539.EG.001A (Hörsaal 1A, \"Zelt\")" subtext: "garching, Interims III" subtext_bold: 0.001A@5539 - id: 5539.EG.001B type: room - name: "5539.EG.001B ( Hörsaal 1B, \"Zelt\")" + name: "5539.EG.001B (Hörsaal 1B, \"Zelt\")" subtext: "garching, Interims III" subtext_bold: 0.001B@5539 - id: 5539.EG.002 type: room - name: "5539.EG.002 ( Hörsaal 2, \"Zelt\")" + name: "5539.EG.002 (Hörsaal 2, \"Zelt\")" subtext: "garching, Interims III" subtext_bold: 0.002@5539 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-19.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-19.snap index 66ed6ba17..9cdc91984 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-19.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-19.snap @@ -14,48 +14,48 @@ info: "'1801 maschinen' should get '5508.02.801' in 1 results" parsed_id: "MW \u00191801\u0017" - id: 0508.01.801 type: room - name: 0508.01.801 ( Wasch.-/Putzraum) + name: 0508.01.801 (Wasch.-/Putzraum) subtext: "stammgelände, Heizkraftwerk (Z8)" subtext_bold: 1801@0508 parsed_id: "\u00191801\u0017 Heizkraftwerk (Z8)" - id: 0106.U1.801 type: room - name: 0106.U1.801 ( Archiv) + name: 0106.U1.801 (Archiv) subtext: "stammgelände, Materialprüfamt (N6)" subtext_bold: N-1801@0106 - id: 2332.01.217 type: room - name: "2332.01.217 ( (32.\u00191\u0017.\u0019801\u0017) Büro)" + name: "2332.01.217 ((32.\u00191\u0017.\u0019801\u0017) Büro)" subtext: "campus-im-olympiapark-sz, CiO/SG Institute Ost" subtext_bold: 01.2332.217@2332 - id: 5115.01.801 type: room - name: 5115.01.801 ( Treppe Nord) + name: 5115.01.801 (Treppe Nord) subtext: "garching, Zentrum für Nanotechnologie & -materialien (ZNN)" subtext_bold: 1.801@5115 - id: 5301.01.801 type: room - name: 5301.01.801 ( Treppenhaus) + name: 5301.01.801 (Treppenhaus) subtext: "garching, Institute for Advanced Study (IAS)" subtext_bold: 1.801@5301 - id: 5212.01.801 type: room - name: 5212.01.801 ( Treppenhaus West) + name: 5212.01.801 (Treppenhaus West) subtext: "garching, RCM Radiochemie München" subtext_bold: H.1.801@5212 - id: 5212.01.801L type: room - name: 5212.01.801L ( Aufzug) + name: 5212.01.801L (Aufzug) subtext: "garching, RCM Radiochemie München" subtext_bold: L.1.801@5212 - id: 5212.U1.801 type: room - name: 5212.U1.801 ( Treppenhaus West) + name: 5212.U1.801 (Treppenhaus West) subtext: "garching, RCM Radiochemie München" subtext_bold: H.-1.801@5212 - id: 5212.U1.801L type: room - name: 5212.U1.801L ( Aufzug) + name: 5212.U1.801L (Aufzug) subtext: "garching, RCM Radiochemie München" subtext_bold: L.-1.801@5212 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-2.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-2.snap index f2b140d93..596439cbd 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-2.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-2.snap @@ -2,7 +2,7 @@ source: main-api/src/search/search_executor/mod.rs description: "" expression: actual -info: wzw should get wzw +info: "'wzw' should get 'wzw' in 1 results" --- - facet: sites_buildings entries: @@ -32,27 +32,27 @@ info: wzw should get wzw entries: - id: 4101.01.129 type: room - name: "4101.01.129 ( Hörsaal 6 (\u0019WZW\u0017H06))" + name: "4101.01.129 (Hörsaal 6 (\u0019WZW\u0017H06))" subtext: "weihenstephan, Verwaltung / BLQ Brau- und Lebensmittelqualität" subtext_bold: 129@4101 - id: 4102.EG.034 type: room - name: "4102.EG.034 ( Hörsaal 1 (\u0019WZW\u0017H01))" + name: "4102.EG.034 (Hörsaal 1 (\u0019WZW\u0017H01))" subtext: "weihenstephan, Hörsaal- und Dekanatsgebäude" subtext_bold: E-34@4102 - id: 4102.EG.036 type: room - name: "4102.EG.036 ( Hörsaal 2 (\u0019WZW\u0017H02))" + name: "4102.EG.036 (Hörsaal 2 (\u0019WZW\u0017H02))" subtext: "weihenstephan, Hörsaal- und Dekanatsgebäude" subtext_bold: E-35@4102 - id: 4108.EG.105 type: room - name: "4108.EG.105 ( Hörsaal 9 (\u0019WZW\u0017H09))" + name: "4108.EG.105 (Hörsaal 9 (\u0019WZW\u0017H09))" subtext: "weihenstephan, BLQ Lebensmittelsicherheit" subtext_bold: 105@4108 - id: 4108.EG.106 type: room - name: "4108.EG.106 ( Hörsaal 8 (\u0019WZW\u0017H08))" + name: "4108.EG.106 (Hörsaal 8 (\u0019WZW\u0017H08))" subtext: "weihenstephan, BLQ Lebensmittelsicherheit" subtext_bold: 106@4108 n_visible: 5 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-20.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-20.snap index 796b1a7aa..60dea444c 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-20.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-20.snap @@ -13,12 +13,12 @@ info: "'Raum 0337 mw' should get '5503.EG.337' in 1 results" subtext_bold: 0337@5503 - id: 0503.EG.337 type: room - name: 0503.EG.337 ( Büro) + name: 0503.EG.337 (Büro) subtext: "stammgelände, Thierschbau (Z3)" subtext_bold: 0337@0503 - id: 2334.EG.128 type: room - name: "2334.EG.128 ( (34.\u00190\u0017.\u0019337\u0017) Büro)" + name: "2334.EG.128 ((34.\u00190\u0017.\u0019337\u0017) Büro)" subtext: "campus-im-olympiapark-sz, CiO/SG Institute West, Bibliothek" subtext_bold: 00.2334.128@2334 - id: 0509.EG.980 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-21.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-21.snap index eb1df1990..425d45760 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-21.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-21.snap @@ -8,52 +8,52 @@ info: "'pyhsik hs 2' should get '5101.EG.502' in 1 results" entries: - id: 5101.EG.502 type: room - name: "5101.EG.502 ( \u0019Physik\u0017 \u0019Hörsaal\u0017 \u00192\u0017)" + name: "5101.EG.502 (\u0019Physik\u0017 \u0019Hörsaal\u0017 \u00192\u0017)" subtext: "garching, Physik I" subtext_bold: 2502@5101 - id: 5101.EG.503 type: room - name: "5101.EG.503 ( \u0019Physik\u0017 \u0019Hörsaal\u0017 3)" + name: "5101.EG.503 (\u0019Physik\u0017 \u0019Hörsaal\u0017 3)" subtext: "garching, Physik I" subtext_bold: 2503@5101 - id: 5101.EG.501 type: room - name: "5101.EG.501 ( Rudolf-Mößbauer-\u0019Hörsaal\u0017)" + name: "5101.EG.501 (Rudolf-Mößbauer-\u0019Hörsaal\u0017)" subtext: "garching, Physik I" subtext_bold: 2501@5101 - id: 0102.U1.216D type: room - name: "0102.U1.\u00192\u001716D ( Versuchsraum \u0019HS\u0017/NS)" + name: "0102.U1.\u00192\u001716D (Versuchsraum \u0019HS\u0017/NS)" subtext: "stammgelände, Hochvolthaus (N2)" subtext_bold: N-1216D@0102 - id: 0102.U1.216E type: room - name: "0102.U1.\u00192\u001716E ( Versuchsraum \u0019HS\u0017/NS)" + name: "0102.U1.\u00192\u001716E (Versuchsraum \u0019HS\u0017/NS)" subtext: "stammgelände, Hochvolthaus (N2)" subtext_bold: N-1216E@0102 - id: 0102.U1.216F type: room - name: "0102.U1.\u00192\u001716F ( Versuchsraum \u0019HS\u0017/NS)" + name: "0102.U1.\u00192\u001716F (Versuchsraum \u0019HS\u0017/NS)" subtext: "stammgelände, Hochvolthaus (N2)" subtext_bold: N-1216F@0102 - id: 0102.U1.216G type: room - name: "0102.U1.\u00192\u001716G ( Versuchsraum \u0019HS\u0017/NS)" + name: "0102.U1.\u00192\u001716G (Versuchsraum \u0019HS\u0017/NS)" subtext: "stammgelände, Hochvolthaus (N2)" subtext_bold: N-1216G@0102 - id: 5101.EG.501A type: room - name: "5101.EG.501A ( Projektorraum \u0019HS\u0017 PH 1)" + name: "5101.EG.501A (Projektorraum \u0019HS\u0017 PH 1)" subtext: "garching, Physik I" subtext_bold: 2501A@5101 - id: 0502.01.202 type: room - name: "0502.01.\u00192\u001702 ( Vorbereitung Carl von Linde-\u0019Hörsaal\u0017)" + name: "0502.01.\u00192\u001702 (Vorbereitung Carl von Linde-\u0019Hörsaal\u0017)" subtext: "stammgelände, Zentralgebäude 2 (Z2)" subtext_bold: 1202@0502 - id: 5123.EG.019 type: room - name: "5123.EG.019 ( LMU \u0019Hörsaal\u0017 im \u0019Physik\u0017 Werkstattgebäude)" + name: "5123.EG.019 (LMU \u0019Hörsaal\u0017 im \u0019Physik\u0017 Werkstattgebäude)" subtext: "garching, LMU Physik Werkstattgebäude" subtext_bold: 019@5123 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-22.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-22.snap index 76dafe538..1fae75a64 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-22.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-22.snap @@ -8,7 +8,7 @@ info: "'mössbauer' should get '5101.EG.501' in 1 results" entries: - id: 5101.EG.501 type: room - name: "5101.EG.501 ( Rudolf-\u0019Mößbauer\u0017-Hörsaal)" + name: "5101.EG.501 (Rudolf-\u0019Mößbauer\u0017-Hörsaal)" subtext: "garching, Physik I" subtext_bold: 2501@5101 n_visible: 1 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-23.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-23.snap index eb9817ee1..bb87e5c5e 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-23.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-23.snap @@ -8,52 +8,52 @@ info: "'342 Physik' should get '5101.EG.342' in 1 results" entries: - id: 5101.EG.342 type: room - name: "5101.EG.\u0019342\u0017 ( \u0019Physik\u0017labor)" + name: "5101.EG.\u0019342\u0017 (\u0019Physik\u0017labor)" subtext: "garching, Physik I" subtext_bold: 2342@5101 - id: 5101.01.342 type: room - name: "5101.01.\u0019342\u0017 ( Sitzungs-, Konferenzraum)" + name: "5101.01.\u0019342\u0017 (Sitzungs-, Konferenzraum)" subtext: "garching, Physik I" subtext_bold: 3342@5101 - id: 4213.01.342 type: room - name: "4213.01.\u0019342\u0017 ( Labor (gem. Nutzung 1124302010;1110064600))" + name: "4213.01.\u0019342\u0017 (Labor (gem. Nutzung 1124302010;1110064600))" subtext: "weihenstephan, Lebensmitteltechnikum" subtext_bold: O42@4213 - id: 4213.EG.342 type: room - name: "4213.EG.\u0019342\u0017 ( Labor)" + name: "4213.EG.\u0019342\u0017 (Labor)" subtext: "weihenstephan, Lebensmitteltechnikum" subtext_bold: E42@4213 - id: 4317.03.342 type: room - name: "4317.03.\u0019342\u0017 ( Labor)" + name: "4317.03.\u0019342\u0017 (Labor)" subtext: "weihenstephan, Tierwissenschaften" subtext_bold: 3.42@4317 - id: 2910.03.342 type: room - name: "2910.03.\u0019342\u0017 ( Teeküche)" + name: "2910.03.\u0019342\u0017 (Teeküche)" subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.342@2910 - id: 0503.01.342 type: room - name: "0503.01.\u0019342\u0017 ( Büro)" + name: "0503.01.\u0019342\u0017 (Büro)" subtext: "stammgelände, Thierschbau (Z3)" subtext_bold: 1342@0503 - id: 0503.03.342 type: room - name: "0503.03.\u0019342\u0017 ( Büro)" + name: "0503.03.\u0019342\u0017 (Büro)" subtext: "stammgelände, Thierschbau (Z3)" subtext_bold: 3342@0503 - id: 0503.EG.342 type: room - name: "0503.EG.\u0019342\u0017 ( Sekretariat 2)" + name: "0503.EG.\u0019342\u0017 (Sekretariat 2)" subtext: "stammgelände, Thierschbau (Z3)" subtext_bold: 0342@0503 - id: 2334.01.342 type: room - name: "2334.01.\u0019342\u0017 ( (34.1.406) WC-Herren)" + name: "2334.01.\u0019342\u0017 ((34.1.406) WC-Herren)" subtext: "campus-im-olympiapark-sz, CiO/SG Institute West, Bibliothek" subtext_bold: 01.2334.342@2334 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-24.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-24.snap index 1eac03f9e..83f24374a 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-24.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-24.snap @@ -8,49 +8,49 @@ info: "'2503' should get '5101.EG.503' in 1 results # lecture hall, should be pr entries: - id: 5101.EG.503 type: room - name: 5101.EG.503 ( Physik Hörsaal 3) + name: 5101.EG.503 (Physik Hörsaal 3) subtext: "garching, Physik I" subtext_bold: 2503@5101 parsed_id: "PH \u00192503\u0017" - id: 0505.02.503 type: room - name: 0505.02.503 ( Büro) + name: 0505.02.503 (Büro) subtext: "stammgelände, Wirtschaftswissenschaften (Z5)" subtext_bold: 2503@0505 parsed_id: "\u00192503\u0017 Wirtsch…aften (Z5)" - id: 5505.02.503A type: room - name: 5505.02.503A ( Büro) + name: 5505.02.503A (Büro) subtext: "garching, Maschinenwesen (MW)" subtext_bold: 2503A@5505 parsed_id: "MW \u00192503\u0017A" - id: 5505.02.503M type: room - name: 5505.02.503M ( WC-Vorraum Herren) + name: 5505.02.503M (WC-Vorraum Herren) subtext: "garching, Maschinenwesen (MW)" subtext_bold: 2503M@5505 parsed_id: "MW \u00192503\u0017M" - id: 5505.02.503N type: room - name: 5505.02.503N ( WC-Vorraum Damen) + name: 5505.02.503N (WC-Vorraum Damen) subtext: "garching, Maschinenwesen (MW)" subtext_bold: 2503N@5505 parsed_id: "MW \u00192503\u0017N" - id: 5505.02.503P type: room - name: 5505.02.503P ( WC-Herren) + name: 5505.02.503P (WC-Herren) subtext: "garching, Maschinenwesen (MW)" subtext_bold: 2503P@5505 parsed_id: "MW \u00192503\u0017P" - id: 5505.02.503Q type: room - name: 5505.02.503Q ( WC-Damen) + name: 5505.02.503Q (WC-Damen) subtext: "garching, Maschinenwesen (MW)" subtext_bold: 2503Q@5505 parsed_id: "MW \u00192503\u0017Q" - id: 5115.02.503 type: room - name: 5115.02.503 ( Elt.) + name: 5115.02.503 (Elt.) subtext: "garching, Zentrum für Nanotechnologie & -materialien (ZNN)" subtext_bold: 2.503@5115 n_visible: 8 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-25.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-25.snap index 93fae35b7..b94371c12 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-25.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-25.snap @@ -8,47 +8,47 @@ info: "'1116' should get '5111.01.116' in 1 results # seminar room, should be pr entries: - id: 5111.01.116 type: room - name: 5111.01.116 ( Seminarraum) + name: 5111.01.116 (Seminarraum) subtext: "garching, Siedlungswasserwirtschaft" subtext_bold: 1116@5111 parsed_id: "\u00191116\u0017 Siedlungswasserwirtschaft" - id: 0401.01.116 type: room - name: 0401.01.116 ( Büro) + name: 0401.01.116 (Büro) subtext: "stammgelände, Richard-Wagner-Str. 18 (SW1)" subtext_bold: 1116@0401 parsed_id: "\u00191116\u0017 Richard…. 18 (SW1)" - id: 5111.U1.116 type: room - name: 5111.U1.116 ( Glas u. brennbare Stoffe) + name: 5111.U1.116 (Glas u. brennbare Stoffe) subtext: "garching, Siedlungswasserwirtschaft" subtext_bold: "-1116@5111" - id: 5401.EG.116A type: room - name: 5401.EG.116A ( Heizraum) + name: 5401.EG.116A (Heizraum) subtext: "garching, Chemie" subtext_bold: 11160@5401 parsed_id: "CH \u00191116\u00170" - id: 5401.EG.116B type: room - name: 5401.EG.116B ( Flur) + name: 5401.EG.116B (Flur) subtext: "garching, Chemie" subtext_bold: 11165@5401 parsed_id: "CH \u00191116\u00175" - id: 5401.EG.116C type: room - name: 5401.EG.116C ( Flur) + name: 5401.EG.116C (Flur) subtext: "garching, Chemie" subtext_bold: 11166@5401 parsed_id: "CH \u00191116\u00176" - id: 2332.EG.224 type: room - name: "2332.EG.224 ( (32.\u00191\u0017.\u0019116\u0017) Sekretariat)" + name: "2332.EG.224 ((32.\u00191\u0017.\u0019116\u0017) Sekretariat)" subtext: "campus-im-olympiapark-sz, CiO/SG Institute Ost" subtext_bold: 00.2332.224@2332 - id: 5701.01.016 type: room - name: 5701.01.016 ( Oberassistent) + name: 5701.01.016 (Oberassistent) subtext: "garching, MIBE" subtext_bold: 1.116@5701 n_visible: 8 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-26.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-26.snap index 3382fa20f..a3950e445 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-26.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-26.snap @@ -8,28 +8,28 @@ info: "'C.3202' should get '5140.01.202' in 1 results" entries: - id: 5140.01.202 type: room - name: 5140.01.202 ( Tutorraum) + name: 5140.01.202 (Tutorraum) subtext: "garching, Physik I Container" subtext_bold: C.3202@5140 parsed_id: "\u0019C.3202\u0017 Physik I Container" - id: 1551.01.051 type: room - name: "1551.01.051 ( Hörsaal \u0019C\u0017)" + name: "1551.01.051 (Hörsaal \u0019C\u0017)" subtext: "mri, A1-Hörsäle, Mensa (Bau 551)" subtext_bold: 51.1.51@1551 - id: 1551.EG.051 type: room - name: "1551.EG.051 ( Hörsaal \u0019C\u0017)" + name: "1551.EG.051 (Hörsaal \u0019C\u0017)" subtext: "mri, A1-Hörsäle, Mensa (Bau 551)" subtext_bold: 51.0.51@1551 - id: 1910.EG.050C type: room - name: 1910.EG.050C ( Hörsaal) + name: 1910.EG.050C (Hörsaal) subtext: "campus-heilbronn, Bildungscampus C, Weipertstr. 8-10" subtext_bold: C.0.50@1910 - id: 5140.01.201 type: room - name: 5140.01.201 ( Tutorraum) + name: 5140.01.201 (Tutorraum) subtext: "garching, Physik I Container" subtext_bold: C.3201@5140 n_visible: 5 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-27.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-27.snap index 4c4098664..ac1e40cbb 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-27.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-27.snap @@ -8,57 +8,57 @@ info: "'1010 znn' should get '5115.01.010' in 1 results # Not sure about target entries: - id: 5115.01.010 type: room - name: 5115.01.010 ( Elt. Transport) + name: 5115.01.010 (Elt. Transport) subtext: "garching, Zentrum für Nanotechnologie & -materialien (ZNN)" subtext_bold: 1.010@5115 - id: 5510.01.010 type: room - name: 5510.01.010 ( Seminarraum) + name: 5510.01.010 (Seminarraum) subtext: "garching, Maschinenwesen (MW)" subtext_bold: 1010@5510 parsed_id: "MW \u00191010\u0017" - id: 0510.01.010 type: room - name: 0510.01.010 ( Küche) + name: 0510.01.010 (Küche) subtext: "stammgelände, Verwaltungsbau (Z10)" subtext_bold: 1010@0510 parsed_id: "\u00191010\u0017 Verwaltungsbau (Z10)" - id: 2906.01.010 type: room - name: 2906.01.010 ( Büro) + name: 2906.01.010 (Büro) subtext: Karlstraße 45/47 subtext_bold: 1010@2906 parsed_id: "\u00191010\u0017 Karlstraße 45/47" - id: 5433.01.010 type: room - name: 5433.01.010 ( Büro) + name: 5433.01.010 (Büro) subtext: "garching, Entrepreneurship Research Institute" subtext_bold: 1010@5433 parsed_id: "\u00191010\u0017 Entrepr… Institute" - id: 0202.U1.010 type: room - name: 0202.U1.010 ( Lager) + name: 0202.U1.010 (Lager) subtext: "stammgelände, Gabelsbergerstr. 39 (S2)" subtext_bold: "-1010@0202" - id: 0401.U1.010 type: room - name: 0401.U1.010 ( Archiv) + name: 0401.U1.010 (Archiv) subtext: "stammgelände, Richard-Wagner-Str. 18 (SW1)" subtext_bold: "-1010@0401" - id: 2906.U1.010 type: room - name: 2906.U1.010 ( Trafostation) + name: 2906.U1.010 (Trafostation) subtext: Karlstraße 45/47 subtext_bold: "-1010@2906" - id: 5413.EG.010 type: room - name: 5413.EG.010 ( Hausanschluss) + name: 5413.EG.010 (Hausanschluss) subtext: "garching, BNMRZ Bayerisches NMR-Zentrum" subtext_bold: 1010@5413 parsed_id: "\u00191010\u0017 BNMRZ B…MR-Zentrum" - id: 5414.01.010 type: room - name: 5414.01.010 ( Lager) + name: 5414.01.010 (Lager) subtext: "garching, Zentrum für Energie und Information (ZEI)" subtext_bold: 1010@5414 parsed_id: "\u00191010\u0017 Zentrum…tion (ZEI)" diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-28.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-28.snap index 90ba14929..5366e8d33 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-28.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-28.snap @@ -8,18 +8,18 @@ info: "'0092@5433' should get '5433.EG.092' in 1 results" entries: - id: 5433.EG.092 type: room - name: "\u00195433\u0017.EG.092 ( Flur/Eingang)" + name: "\u00195433\u0017.EG.092 (Flur/Eingang)" subtext: "garching, Entrepreneurship Research Institute" subtext_bold: 0092@5433 parsed_id: "\u00190092@5433\u0017" - id: 5622.EG.092 type: room - name: 5622.EG.092 ( Sportflächen Garching) + name: 5622.EG.092 (Sportflächen Garching) subtext: "garching, Sportanlage Garching / Dusch Container" subtext_bold: 0092@5622 - id: 5532.EG.092 type: room - name: 5532.EG.092 ( ELT.-Schacht) + name: 5532.EG.092 (ELT.-Schacht) subtext: "garching, StudiTUM" subtext_bold: 0.092@5532 n_visible: 3 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-29.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-29.snap index 8e2108e66..6ff551524 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-29.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-29.snap @@ -13,7 +13,7 @@ info: "'0026m@5510' should get '5510.EG.026M' in 1 results" subtext_bold: MW 0026M@5510 - id: 5510.EG.006M type: room - name: "\u00195510\u0017.EG.\u0019006M\u0017 ( WC-Herren)" + name: "\u00195510\u0017.EG.\u0019006M\u0017 (WC-Herren)" subtext: "garching, Maschinenwesen (MW)" subtext_bold: 0006M@5510 - id: 5510.EG.026A @@ -28,7 +28,7 @@ info: "'0026m@5510' should get '5510.EG.026M' in 1 results" subtext_bold: 0026C@5510 - id: 5510.EG.026B type: room - name: "\u00195510\u0017.EG.026B ( Studienbüro)" + name: "\u00195510\u0017.EG.026B (Studienbüro)" subtext: "garching, Maschinenwesen (MW)" subtext_bold: 0026B@5510 - id: 5510.EG.026N @@ -38,22 +38,22 @@ info: "'0026m@5510' should get '5510.EG.026M' in 1 results" subtext_bold: MW 0026N@5510 - id: 5510.EG.029M type: room - name: "\u00195510\u0017.EG.029M ( Werkstatt)" + name: "\u00195510\u0017.EG.029M (Werkstatt)" subtext: "garching, Maschinenwesen (MW)" subtext_bold: 0029M@5510 - id: 5510.EG.028M type: room - name: "\u00195510\u0017.EG.028M ( Flur)" + name: "\u00195510\u0017.EG.028M (Flur)" subtext: "garching, Maschinenwesen (MW)" subtext_bold: 0028M@5510 - id: 5531.EG.026 type: room - name: 5531.EG.026 ( Beh.-WC / Personal) + name: 5531.EG.026 (Beh.-WC / Personal) subtext: "garching, Ingeborg Ortner-Kinderhaus" subtext_bold: 0026@5531 - id: 5501.EG.126M type: room - name: 5501.EG.126M ( Elektroverteiler) + name: 5501.EG.126M (Elektroverteiler) subtext: "garching, Maschinenwesen (MW)" subtext_bold: 0126M@5501 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-3.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-3.snap index 8492aec15..e6449c080 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-3.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-3.snap @@ -2,7 +2,7 @@ source: main-api/src/search/search_executor/mod.rs description: "" expression: actual -info: 5301 should get 5301 +info: "'5301' should get '5301' in 1 results" --- - facet: sites_buildings entries: @@ -16,47 +16,47 @@ info: 5301 should get 5301 entries: - id: 5301.EG.001 type: room - name: "\u00195301\u0017.EG.001 ( Auditorium)" + name: "\u00195301\u0017.EG.001 (Auditorium)" subtext: "garching, Institute for Advanced Study (IAS)" subtext_bold: 0.001@5301 - id: 5301.02.022 type: room - name: "\u00195301\u0017.02.022 ( Zeitschriften/Lesesaal)" + name: "\u00195301\u0017.02.022 (Zeitschriften/Lesesaal)" subtext: "garching, Institute for Advanced Study (IAS)" subtext_bold: 2.022@5301 - id: 5301.01.033 type: room - name: "\u00195301\u0017.01.033 ( Drucker)" + name: "\u00195301\u0017.01.033 (Drucker)" subtext: "garching, Institute for Advanced Study (IAS)" subtext_bold: 1.033@5301 - id: 5301.02.033 type: room - name: "\u00195301\u0017.02.033 ( Drucker)" + name: "\u00195301\u0017.02.033 (Drucker)" subtext: "garching, Institute for Advanced Study (IAS)" subtext_bold: 2.033@5301 - id: 5301.03.033 type: room - name: "\u00195301\u0017.03.033 ( Drucker)" + name: "\u00195301\u0017.03.033 (Drucker)" subtext: "garching, Institute for Advanced Study (IAS)" subtext_bold: 3.033@5301 - id: 5301.01.001 type: room - name: "\u00195301\u0017.01.001 ( Großraumbüro)" + name: "\u00195301\u0017.01.001 (Großraumbüro)" subtext: "garching, Institute for Advanced Study (IAS)" subtext_bold: 1.001@5301 - id: 5301.01.004 type: room - name: "\u00195301\u0017.01.004 ( Büro)" + name: "\u00195301\u0017.01.004 (Büro)" subtext: "garching, Institute for Advanced Study (IAS)" subtext_bold: 1.004@5301 - id: 5301.01.005 type: room - name: "\u00195301\u0017.01.005 ( Büro)" + name: "\u00195301\u0017.01.005 (Büro)" subtext: "garching, Institute for Advanced Study (IAS)" subtext_bold: 1.005@5301 - id: 5301.01.006 type: room - name: "\u00195301\u0017.01.006 ( Büro)" + name: "\u00195301\u0017.01.006 (Büro)" subtext: "garching, Institute for Advanced Study (IAS)" subtext_bold: 1.006@5301 n_visible: 9 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-30.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-30.snap index c5d9a2d07..4f368042d 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-30.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-30.snap @@ -8,52 +8,52 @@ info: "'019 lmu' should get '5123.EG.019' in 1 results" entries: - id: 5123.EG.019 type: room - name: "5123.EG.\u0019019\u0017 ( \u0019LMU\u0017 Hörsaal im Physik Werkstattgebäude)" + name: "5123.EG.\u0019019\u0017 (\u0019LMU\u0017 Hörsaal im Physik Werkstattgebäude)" subtext: "garching, LMU Physik Werkstattgebäude" subtext_bold: 019@5123 - id: 5109.EG.019 type: room - name: "5109.EG.\u0019019\u0017 ( Kernphysiklabor)" + name: "5109.EG.\u0019019\u0017 (Kernphysiklabor)" subtext: "garching, LMU Physik, Munich Center for Advanced Photonics (MAP)" subtext_bold: 019@5109 - id: 5120.EG.019 type: room - name: "5120.EG.\u0019019\u0017 ( Elektrolabor)" + name: "5120.EG.\u0019019\u0017 (Elektrolabor)" subtext: "garching, Beschleuniger" subtext_bold: 019@5120 - id: 5109.01.019 type: room - name: "5109.01.\u0019019\u0017 ( Büro)" + name: "5109.01.\u0019019\u0017 (Büro)" subtext: "garching, LMU Physik, Munich Center for Advanced Photonics (MAP)" subtext_bold: 019@5109 - id: 5109.03.019 type: room - name: "5109.03.\u0019019\u0017 ( Büro)" + name: "5109.03.\u0019019\u0017 (Büro)" subtext: "garching, LMU Physik, Munich Center for Advanced Photonics (MAP)" subtext_bold: 019@5109 - id: 5123.U1.019 type: room - name: "5123.U1.\u0019019\u0017 ( Abwasseraufbereitung/-beseitigung)" + name: "5123.U1.\u0019019\u0017 (Abwasseraufbereitung/-beseitigung)" subtext: "garching, LMU Physik Werkstattgebäude" subtext_bold: 019@5123 - id: 8111.EG.019 type: room - name: "8111.EG.\u0019019\u0017 ( Praktikumsraum)" + name: "8111.EG.\u0019019\u0017 (Praktikumsraum)" subtext: "garching-hochbrück, Schleißheimerstr. 90a" subtext_bold: 0.019@8111 - id: 1548.01.019 type: room - name: "1548.01.\u0019019\u0017 ( Seminarraum)" + name: "1548.01.\u0019019\u0017 (Seminarraum)" subtext: "mri, Schneckenburgerstr. 8, GSF-Container (\"Schneckenbunker\"), Virologie (Bau 548)" subtext_bold: 48.1.19@1548 - id: 1713.U2.019 type: room - name: "1713.U2.\u0019019\u0017 ( Intensiv)" + name: "1713.U2.\u0019019\u0017 (Intensiv)" subtext: "mri, Nigerstr. 3, Bau 713, TUM MeDiCAL, Studiendekanat im Lern- und Trainingszentrum (LUTZ)" subtext_bold: 713.02.19@1713 - id: 4220.01.019 type: room - name: "4220.01.\u0019019\u0017 ( Gruppenarbeitsraum)" + name: "4220.01.\u0019019\u0017 (Gruppenarbeitsraum)" subtext: "weihenstephan, Teilbibliothek Weihenstephan, Pressestelle Datenverarbeitung" subtext_bold: OG R 19@4220 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-31.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-31.snap index daee51473..269ec5a41 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-31.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-31.snap @@ -18,37 +18,37 @@ info: "'audimax' should get '0509.EG.980' in 1 results" subtext_bold: Audimax@8120 - id: 0509.02.986 type: room - name: "0509.02.986 ( \u0019Audimax\u0017 Galerie)" + name: "0509.02.986 (\u0019Audimax\u0017 Galerie)" subtext: "stammgelände, Wienandsbau (Z9)" subtext_bold: 1986@0509 - id: 0509.01.921 type: room - name: 0509.01.921 ( Studentenarb. m. DV (HKW)) + name: 0509.01.921 (Studentenarb. m. DV (HKW)) subtext: "stammgelände, Wienandsbau (Z9)" subtext_bold: Z921@0509 - id: 0509.01.922 type: room - name: 0509.01.922 ( Studentenarb. m. DV (HKW)) + name: 0509.01.922 (Studentenarb. m. DV (HKW)) subtext: "stammgelände, Wienandsbau (Z9)" subtext_bold: Z922@0509 - id: 0509.01.923 type: room - name: 0509.01.923 ( Studentenarb. m. DV (HKW)) + name: 0509.01.923 (Studentenarb. m. DV (HKW)) subtext: "stammgelände, Wienandsbau (Z9)" subtext_bold: Z923@0509 - id: 0509.01.995 type: room - name: 0509.01.995 ( Seminarraum m. Vorbereitung) + name: 0509.01.995 (Seminarraum m. Vorbereitung) subtext: "stammgelände, Wienandsbau (Z9)" subtext_bold: Z995@0509 - id: 0509.02.903 type: room - name: 0509.02.903 ( Übung-DV) + name: 0509.02.903 (Übung-DV) subtext: "stammgelände, Wienandsbau (Z9)" subtext_bold: 1903@0509 - id: 0509.02.919 type: room - name: 0509.02.919 ( Studentenarb. m. DV) + name: 0509.02.919 (Studentenarb. m. DV) subtext: "stammgelände, Wienandsbau (Z9)" subtext_bold: 1919@0509 n_visible: 9 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-32.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-32.snap index 29c3731b8..ae2f345a8 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-32.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-32.snap @@ -8,35 +8,35 @@ info: "'1229 seminarraum' should get '0502.01.229' in 1 results" entries: - id: 0502.01.229 type: room - name: "0502.01.229 ( \u0019Seminarraum\u0017)" + name: "0502.01.229 (\u0019Seminarraum\u0017)" subtext: "stammgelände, Zentralgebäude 2 (Z2)" subtext_bold: 1229@0502 parsed_id: "\u00191229\u0017 Zentralgebäude 2 (Z2)" - id: 5101.U1.229 type: room - name: 5101.U1.229 ( Büro) + name: 5101.U1.229 (Büro) subtext: "garching, Physik I" subtext_bold: 1229@5101 parsed_id: "PH \u00191229\u0017" - id: 5502.01.229 type: room - name: 5502.01.229 ( Büro) + name: 5502.01.229 (Büro) subtext: "garching, Maschinenwesen (MW)" subtext_bold: 1229@5502 parsed_id: "MW \u00191229\u0017" - id: 0502.U1.229 type: room - name: 0502.U1.229 ( Werkstatt) + name: 0502.U1.229 (Werkstatt) subtext: "stammgelände, Zentralgebäude 2 (Z2)" subtext_bold: "-1229@0502" - id: 0102.U1.229 type: room - name: 0102.U1.229 ( Stromversorgung) + name: 0102.U1.229 (Stromversorgung) subtext: "stammgelände, Hochvolthaus (N2)" subtext_bold: N-1229@0102 - id: 2334.01.224 type: room - name: "2334.01.224 ( (34.\u00191\u0017.\u0019229\u0017) Büro)" + name: "2334.01.224 ((34.\u00191\u0017.\u0019229\u0017) Büro)" subtext: "campus-im-olympiapark-sz, CiO/SG Institute West, Bibliothek" subtext_bold: 01.2334.224@2334 n_visible: 6 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-33.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-33.snap index e0618f7e9..cbf0f850c 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-33.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-33.snap @@ -8,48 +8,48 @@ info: "'H.003' should get '2910.EG.003' in 1 results # H.003 is the correct room entries: - id: 2910.EG.003 type: room - name: "2910.EG.\u0019003\u0017 ( Seminarraum)" + name: "2910.EG.\u0019003\u0017 (Seminarraum)" subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.003@2910 parsed_id: "\u0019H.003\u0017 RiWa 1 (HfP/GOV)" - id: 5212.EG.003 type: room - name: "5212.EG.\u0019003\u0017 ( Post/Annahme)" + name: "5212.EG.\u0019003\u0017 (Post/Annahme)" subtext: "garching, RCM Radiochemie München" subtext_bold: H.0.003@5212 - id: 5212.U1.003 type: room - name: "5212.U1.\u0019003\u0017 ( Kälte)" + name: "5212.U1.\u0019003\u0017 (Kälte)" subtext: "garching, RCM Radiochemie München" subtext_bold: H.-1.003@5212 - id: 2910.01.101 type: room - name: 2910.01.101 ( Gruppenarbeitsraum) + name: 2910.01.101 (Gruppenarbeitsraum) subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.101@2910 - id: 2910.01.102 type: room - name: 2910.01.102 ( Gruppenarbeitsraum) + name: 2910.01.102 (Gruppenarbeitsraum) subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.102@2910 - id: 2910.02.202 type: room - name: 2910.02.202 ( Seminarraum) + name: 2910.02.202 (Seminarraum) subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.202@2910 - id: 2910.02.204 type: room - name: 2910.02.204 ( Seminarraum) + name: 2910.02.204 (Seminarraum) subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.204@2910 - id: 2910.02.206 type: room - name: 2910.02.206 ( Seminarraum) + name: 2910.02.206 (Seminarraum) subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.206@2910 - id: 2910.EG.001 type: room - name: 2910.EG.001 ( Seminarraum) + name: 2910.EG.001 (Seminarraum) subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.001@2910 n_visible: 9 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-34.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-34.snap index 4fd549480..1a7eb369a 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-34.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-34.snap @@ -8,32 +8,32 @@ info: "'MI HS 3' should get '5606.EG.011' in 1 results" entries: - id: 5606.EG.011 type: room - name: "5606.EG.011 ( \u0019MI\u0017 \u0019Hörsaal\u0017 \u00193\u0017)" + name: "5606.EG.011 (\u0019MI\u0017 \u0019Hörsaal\u0017 \u00193\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.06.011@5606 - id: 5602.EG.001 type: room - name: "5602.EG.001 ( \u0019MI\u0017 \u0019HS\u0017 1, Friedrich L. Bauer \u0019Hörsaal\u0017)" + name: "5602.EG.001 (\u0019MI\u0017 \u0019HS\u0017 1, Friedrich L. Bauer \u0019Hörsaal\u0017)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.02.001@5602 - id: 5604.EG.011 type: room - name: "5604.EG.011 ( \u0019MI\u0017 \u0019Hörsaal\u0017 2)" + name: "5604.EG.011 (\u0019MI\u0017 \u0019Hörsaal\u0017 2)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.04.011@5604 - id: 5602.EG.002 type: room - name: "5602.EG.002 ( \u0019MI\u0017 \u0019Hörsaal\u0017 Regieraum)" + name: "5602.EG.002 (\u0019MI\u0017 \u0019Hörsaal\u0017 Regieraum)" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.02.002@5602 - id: 5602.U1.001 type: room - name: 5602.U1.001 ( Technikraum) + name: 5602.U1.001 (Technikraum) subtext: "garching, Mathe/Info (MI)" subtext_bold: "-1.02.001@5602" - id: 5602.U1.004 type: room - name: 5602.U1.004 ( Treppe im Freien) + name: 5602.U1.004 (Treppe im Freien) subtext: "garching, Mathe/Info (MI)" subtext_bold: "-1.02.004@5602" n_visible: 6 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-35.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-35.snap index fb237827b..561c7a997 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-35.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-35.snap @@ -8,52 +8,52 @@ info: "'N1406' should get '0104.01.406' in 1 results # Architects names should b entries: - id: 0104.01.406 type: room - name: 0104.01.406 ( Studentenarb. m. DV) + name: 0104.01.406 (Studentenarb. m. DV) subtext: "stammgelände, E-Technik Elektrophysik (N4)" subtext_bold: N1406@0104 - id: 0101.Z1.062B type: room - name: "0101.Z1.062B ( N1 ZG, Studentische Arbeitsplätze)" + name: "0101.Z1.062B (N1 ZG, Studentische Arbeitsplätze)" subtext: "stammgelände, U-Trakt (N1)" subtext_bold: N1062BZG@0101 - id: 0104.02.406 type: room - name: 0104.02.406 ( Studentencomputerraum 1) + name: 0104.02.406 (Studentencomputerraum 1) subtext: "stammgelände, E-Technik Elektrophysik (N4)" subtext_bold: N2406@0104 - id: 0104.01.416 type: room - name: 0104.01.416 ( Kopierer) + name: 0104.01.416 (Kopierer) subtext: "stammgelände, E-Technik Elektrophysik (N4)" subtext_bold: N1416@0104 - id: 0104.U1.406 type: room - name: 0104.U1.406 ( Physikal. Versuchslabor) + name: 0104.U1.406 (Physikal. Versuchslabor) subtext: "stammgelände, E-Technik Elektrophysik (N4)" subtext_bold: N-1406@0104 - id: 5112.EG.106N type: room - name: 5112.EG.106N ( Labor) + name: 5112.EG.106N (Labor) subtext: "garching, Walter-Schottky-Institut (WSI)" subtext_bold: N106@5112 - id: 0101.Z1.006 type: room - name: 0101.Z1.006 ( Sozialraum) + name: 0101.Z1.006 (Sozialraum) subtext: "stammgelände, U-Trakt (N1)" subtext_bold: N1006ZG@0101 - id: 0101.Z1.046 type: room - name: 0101.Z1.046 ( WC-Herren) + name: 0101.Z1.046 (WC-Herren) subtext: "stammgelände, U-Trakt (N1)" subtext_bold: N1046ZG@0101 - id: 0101.Z1.046A type: room - name: 0101.Z1.046A ( WC-Vorraum Herren) + name: 0101.Z1.046A (WC-Vorraum Herren) subtext: "stammgelände, U-Trakt (N1)" subtext_bold: N1046AZG@0101 - id: 0103.01.306 type: room - name: 0103.01.306 ( Büro) + name: 0103.01.306 (Büro) subtext: "stammgelände, E-Technik El. Maschinen / Geräte (N3)" subtext_bold: N1306@0103 n_visible: 10 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-36.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-36.snap index 875dad632..87296851e 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-36.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-36.snap @@ -8,48 +8,48 @@ info: "'N-1406' should get '0104.U1.406' in 1 results # Architects names should entries: - id: 0104.U1.406 type: room - name: 0104.U1.406 ( Physikal. Versuchslabor) + name: 0104.U1.406 (Physikal. Versuchslabor) subtext: "stammgelände, E-Technik Elektrophysik (N4)" subtext_bold: N-1406@0104 parsed_id: "\u0019N-1406\u0017 E-Techn…hysik (N4)" - id: 0104.01.406 type: room - name: 0104.01.406 ( Studentenarb. m. DV) + name: 0104.01.406 (Studentenarb. m. DV) subtext: "stammgelände, E-Technik Elektrophysik (N4)" subtext_bold: N1406@0104 - id: 0103.U1.311 type: room - name: 0103.U1.311 ( Praktikum/Umbau) + name: 0103.U1.311 (Praktikum/Umbau) subtext: "stammgelände, E-Technik El. Maschinen / Geräte (N3)" subtext_bold: N-1311@0103 - id: 0108.U1.806A type: room - name: 0108.U1.806A ( Experimenteller Raum) + name: 0108.U1.806A (Experimenteller Raum) subtext: "stammgelände, E-Technik Verfügungsgebäude (N8)" subtext_bold: N-1806A@0108 - id: 0108.U1.806B type: room - name: 0108.U1.806B ( Experimenteller Raum) + name: 0108.U1.806B (Experimenteller Raum) subtext: "stammgelände, E-Technik Verfügungsgebäude (N8)" subtext_bold: N-1806B@0108 - id: 0108.U1.825 type: room - name: 0108.U1.825 ( Experimenteller Raum) + name: 0108.U1.825 (Experimenteller Raum) subtext: "stammgelände, E-Technik Verfügungsgebäude (N8)" subtext_bold: N-1825@0108 - id: 0108.U1.825A type: room - name: 0108.U1.825A ( Experimenteller Raum) + name: 0108.U1.825A (Experimenteller Raum) subtext: "stammgelände, E-Technik Verfügungsgebäude (N8)" subtext_bold: N-1825A@0108 - id: 9201.EG.005 type: room - name: 9201.EG.005 ( Seminarraum 2) + name: 9201.EG.005 (Seminarraum 2) subtext: TUM FZ Friedrich N. Schwarz Berchtesgaden subtext_bold: EG-05@9201 - id: 9201.EG.006 type: room - name: 9201.EG.006 ( Seminarraum 1) + name: 9201.EG.006 (Seminarraum 1) subtext: TUM FZ Friedrich N. Schwarz Berchtesgaden subtext_bold: EG-06@9201 n_visible: 9 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-4.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-4.snap index b0c51ba57..26013a244 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-4.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-4.snap @@ -28,32 +28,32 @@ info: "'interims' should get 'garching-interims' in 1 results" entries: - id: 5416.01.003 type: room - name: "5416.01.003 ( Hörsaal 2, \"\u0019Interims\u0017 II\")" + name: "5416.01.003 (Hörsaal 2, \"\u0019Interims\u0017 II\")" subtext: "garching, Interims II" subtext_bold: 003@5416 - id: 5620.01.101 type: room - name: "5620.01.101 ( Hörsaal 1, \"\u0019Interims\u0017 I\")" + name: "5620.01.101 (Hörsaal 1, \"\u0019Interims\u0017 I\")" subtext: "garching, Interims I" subtext_bold: 101@5620 - id: 5620.01.102 type: room - name: "5620.01.102 ( Hörsaal 2, \"\u0019Interims\u0017 I\")" + name: "5620.01.102 (Hörsaal 2, \"\u0019Interims\u0017 I\")" subtext: "garching, Interims I" subtext_bold: 102@5620 - id: 5416.01.004 type: room - name: "5416.01.004 ( Hörsaal 1, Jürgen-Manchot-Hörsaal)" + name: "5416.01.004 (Hörsaal 1, Jürgen-Manchot-Hörsaal)" subtext: "garching, Interims II" subtext_bold: 004@5416 - id: 5539.EG.001A type: room - name: "5539.EG.001A ( Hörsaal 1A, \"Zelt\")" + name: "5539.EG.001A (Hörsaal 1A, \"Zelt\")" subtext: "garching, Interims III" subtext_bold: 0.001A@5539 - id: 5539.EG.001B type: room - name: "5539.EG.001B ( Hörsaal 1B, \"Zelt\")" + name: "5539.EG.001B (Hörsaal 1B, \"Zelt\")" subtext: "garching, Interims III" subtext_bold: 0.001B@5539 n_visible: 6 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-5.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-5.snap index 3bbf0310e..2e26fab8e 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-5.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-5.snap @@ -16,47 +16,47 @@ info: "'Interims 2' should get '5416' in 1 results" entries: - id: 5416.01.003 type: room - name: "5416.01.003 ( Hörsaal \u00192\u0017, \"\u0019Interims\u0017 \u0019II\u0017\")" + name: "5416.01.003 (Hörsaal \u00192\u0017, \"\u0019Interims\u0017 \u0019II\u0017\")" subtext: "garching, Interims II" subtext_bold: 003@5416 - id: 5416.01.004 type: room - name: "5416.01.004 ( Hörsaal 1, Jürgen-Manchot-Hörsaal)" + name: "5416.01.004 (Hörsaal 1, Jürgen-Manchot-Hörsaal)" subtext: "garching, Interims II" subtext_bold: 004@5416 - id: 5620.01.102 type: room - name: "5620.01.102 ( Hörsaal \u00192\u0017, \"\u0019Interims\u0017 I\")" + name: "5620.01.102 (Hörsaal \u00192\u0017, \"\u0019Interims\u0017 I\")" subtext: "garching, Interims I" subtext_bold: 102@5620 - id: 5539.EG.002 type: room - name: "5539.EG.002 ( Hörsaal \u00192\u0017, \"Zelt\")" + name: "5539.EG.002 (Hörsaal \u00192\u0017, \"Zelt\")" subtext: "garching, Interims III" subtext_bold: 0.002@5539 - id: 5416.EG.010 type: room - name: 5416.EG.010 ( IT/Audio) + name: 5416.EG.010 (IT/Audio) subtext: "garching, Interims II" subtext_bold: 010@5416 - id: 5416.EG.005 type: room - name: 5416.EG.005 ( WC-Vorraum Damen u. Herren) + name: 5416.EG.005 (WC-Vorraum Damen u. Herren) subtext: "garching, Interims II" subtext_bold: 005@5416 - id: 5416.EG.006 type: room - name: 5416.EG.006 ( WC-Herren) + name: 5416.EG.006 (WC-Herren) subtext: "garching, Interims II" subtext_bold: 006@5416 - id: 5416.EG.007 type: room - name: 5416.EG.007 ( WC-Beh.) + name: 5416.EG.007 (WC-Beh.) subtext: "garching, Interims II" subtext_bold: 007@5416 - id: 5416.EG.008 type: room - name: 5416.EG.008 ( Putzraum) + name: 5416.EG.008 (Putzraum) subtext: "garching, Interims II" subtext_bold: 008@5416 n_visible: 9 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-6.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-6.snap index ab09e1888..2b087c8dc 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-6.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-6.snap @@ -20,42 +20,42 @@ info: "'Mensa Garching' should get '5304' in 1 results # Should give the 'new' m entries: - id: 5302.01.022 type: room - name: 5302.01.022 ( Seminarraum 2) + name: 5302.01.022 (Seminarraum 2) subtext: "garching, (Alte) Mensa Garching" subtext_bold: 01.022.I@5302 - id: 5302.01.023 type: room - name: 5302.01.023 ( Seminarraum 1) + name: 5302.01.023 (Seminarraum 1) subtext: "garching, (Alte) Mensa Garching" subtext_bold: 01.023.I@5302 - id: 5302.01.038 type: room - name: 5302.01.038 ( Bibliothek) + name: 5302.01.038 (Bibliothek) subtext: "garching, (Alte) Mensa Garching" subtext_bold: 01.037.J@5302 - id: 5302.01.016 type: room - name: 5302.01.016 ( Kopierer) + name: 5302.01.016 (Kopierer) subtext: "garching, (Alte) Mensa Garching" subtext_bold: 01.016.H@5302 - id: 5302.01.030 type: room - name: 5302.01.030 ( Kopierer) + name: 5302.01.030 (Kopierer) subtext: "garching, (Alte) Mensa Garching" subtext_bold: 01.030.I@5302 - id: 5302.01.043 type: room - name: 5302.01.043 ( Kopierer) + name: 5302.01.043 (Kopierer) subtext: "garching, (Alte) Mensa Garching" subtext_bold: 01.043.K@5302 - id: 5302.01.054 type: room - name: 5302.01.054 ( Kopierer) + name: 5302.01.054 (Kopierer) subtext: "garching, (Alte) Mensa Garching" subtext_bold: 01.054.L@5302 - id: 5302.EG.016A type: room - name: 5302.EG.016A ( Prüfhalle Staubzone) + name: 5302.EG.016A (Prüfhalle Staubzone) subtext: "garching, (Alte) Mensa Garching" subtext_bold: 00.016.A@5302 n_visible: 8 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-7.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-7.snap index f750b77c2..ab5a19c1d 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-7.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-7.snap @@ -16,47 +16,47 @@ info: "'neue Mensa' should get '5304' in 1 results" entries: - id: 5304.01.101 type: room - name: 5304.01.101 ( Speisesaal) + name: 5304.01.101 (Speisesaal) subtext: "garching, (Neue) Mensa Garching" subtext_bold: 1.101@5304 - id: 5304.01.102 type: room - name: 5304.01.102 ( Vor-/Verteilerbereich) + name: 5304.01.102 (Vor-/Verteilerbereich) subtext: "garching, (Neue) Mensa Garching" subtext_bold: 1.102@5304 - id: 5304.01.103 type: room - name: 5304.01.103 ( Free Flow) + name: 5304.01.103 (Free Flow) subtext: "garching, (Neue) Mensa Garching" subtext_bold: 1.103@5304 - id: 5304.01.104 type: room - name: 5304.01.104 ( Produktionsküche) + name: 5304.01.104 (Produktionsküche) subtext: "garching, (Neue) Mensa Garching" subtext_bold: 1.104@5304 - id: 5304.01.201 type: room - name: 5304.01.201 ( Geschirrspüle) + name: 5304.01.201 (Geschirrspüle) subtext: "garching, (Neue) Mensa Garching" subtext_bold: 1.201@5304 - id: 5304.01.203 type: room - name: 5304.01.203 ( Küchenchef) + name: 5304.01.203 (Küchenchef) subtext: "garching, (Neue) Mensa Garching" subtext_bold: 1.203@5304 - id: 5304.01.301 type: room - name: 5304.01.301 ( Geschirrspüle) + name: 5304.01.301 (Geschirrspüle) subtext: "garching, (Neue) Mensa Garching" subtext_bold: 1.301@5304 - id: 5304.01.302 type: room - name: 5304.01.302 ( Schwarzgeschirrspüle) + name: 5304.01.302 (Schwarzgeschirrspüle) subtext: "garching, (Neue) Mensa Garching" subtext_bold: 1.302@5304 - id: 5304.01.307 type: room - name: 5304.01.307 ( Putzraum) + name: 5304.01.307 (Putzraum) subtext: "garching, (Neue) Mensa Garching" subtext_bold: 1.307@5304 n_visible: 9 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-8.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-8.snap index e13e2a99d..919e77c37 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-8.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-8.snap @@ -24,37 +24,37 @@ info: "'Physik Container' should get '5140' in 1 results" entries: - id: 5140.01.201 type: room - name: 5140.01.201 ( Tutorraum) + name: 5140.01.201 (Tutorraum) subtext: "garching, Physik I Container" subtext_bold: C.3201@5140 - id: 5140.01.202 type: room - name: 5140.01.202 ( Tutorraum) + name: 5140.01.202 (Tutorraum) subtext: "garching, Physik I Container" subtext_bold: C.3202@5140 - id: 5140.01.203 type: room - name: 5140.01.203 ( Tutorraum) + name: 5140.01.203 (Tutorraum) subtext: "garching, Physik I Container" subtext_bold: C.3203@5140 - id: 5140.01.204 type: room - name: 5140.01.204 ( CIP-Raum) + name: 5140.01.204 (CIP-Raum) subtext: "garching, Physik I Container" subtext_bold: C.3204@5140 - id: 5140.01.205 type: room - name: 5140.01.205 ( CIP-Raum) + name: 5140.01.205 (CIP-Raum) subtext: "garching, Physik I Container" subtext_bold: C.3205@5140 - id: 5140.01.206 type: room - name: 5140.01.206 ( CIP-Raum) + name: 5140.01.206 (CIP-Raum) subtext: "garching, Physik I Container" subtext_bold: C.3206@5140 - id: 5140.01.207 type: room - name: 5140.01.207 ( CIP-Raum) + name: 5140.01.207 (CIP-Raum) subtext: "garching, Physik I Container" subtext_bold: C.3207@5140 n_visible: 7 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-9.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-9.snap index 6beb11e6d..4aad8d57e 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-9.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries-9.snap @@ -20,42 +20,42 @@ info: "'znn' should get '5115' in 1 results" entries: - id: 5115.EG.001 type: room - name: 5115.EG.001 ( Seminarraum) + name: 5115.EG.001 (Seminarraum) subtext: "garching, Zentrum für Nanotechnologie & -materialien (ZNN)" subtext_bold: 0.001@5115 - id: 5115.01.008 type: room - name: 5115.01.008 ( Kopierraum) + name: 5115.01.008 (Kopierraum) subtext: "garching, Zentrum für Nanotechnologie & -materialien (ZNN)" subtext_bold: 1.008@5115 - id: 5115.01.011 type: room - name: 5115.01.011 ( Chemie Labor) + name: 5115.01.011 (Chemie Labor) subtext: "garching, Zentrum für Nanotechnologie & -materialien (ZNN)" subtext_bold: 1.011@5115 - id: 5115.01.011A type: room - name: 5115.01.011A ( Chemie Labor) + name: 5115.01.011A (Chemie Labor) subtext: "garching, Zentrum für Nanotechnologie & -materialien (ZNN)" subtext_bold: 1.011A@5115 - id: 5115.01.019 type: room - name: 5115.01.019 ( Spektroskopie) + name: 5115.01.019 (Spektroskopie) subtext: "garching, Zentrum für Nanotechnologie & -materialien (ZNN)" subtext_bold: 1.019@5115 - id: 5115.01.020 type: room - name: 5115.01.020 ( Spektroskopie) + name: 5115.01.020 (Spektroskopie) subtext: "garching, Zentrum für Nanotechnologie & -materialien (ZNN)" subtext_bold: 1.020@5115 - id: 5115.01.021 type: room - name: 5115.01.021 ( Spektroskopie) + name: 5115.01.021 (Spektroskopie) subtext: "garching, Zentrum für Nanotechnologie & -materialien (ZNN)" subtext_bold: 1.021@5115 - id: 5115.01.022 type: room - name: 5115.01.022 ( Technik) + name: 5115.01.022 (Technik) subtext: "garching, Zentrum für Nanotechnologie & -materialien (ZNN)" subtext_bold: 1.022@5115 n_visible: 8 diff --git a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries.snap b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries.snap index f2a2303ae..47de02b1d 100644 --- a/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries.snap +++ b/server/main-api/src/search/search_executor/snapshots/navigatum_main_api__search__search_executor__test__good_queries.snap @@ -2,7 +2,7 @@ source: main-api/src/search/search_executor/mod.rs description: "" expression: actual -info: hochbrück should get garching-hochbrueck +info: "'hochbrück' should get 'garching-hochbrueck' in 1 results" --- - facet: sites_buildings entries: @@ -16,47 +16,47 @@ info: hochbrück should get garching-hochbrueck entries: - id: 8101.02.136 type: room - name: "8101.02.136 ( \u0019Hochbrück\u0017-Bibliothek)" + name: "8101.02.136 (\u0019Hochbrück\u0017-Bibliothek)" subtext: "garching-hochbrück, Business Campus 1" subtext_bold: 2.01.36@8101 - id: 8101.02.235 type: room - name: "8101.02.235 ( \u0019Hochbrück\u0017-Kommunikationsraum)" + name: "8101.02.235 (\u0019Hochbrück\u0017-Kommunikationsraum)" subtext: "garching-hochbrück, Business Campus 1" subtext_bold: 2.02.35@8101 - id: 8102.03.111 type: room - name: "8102.03.111 ( \u0019Hochbrück\u0017-Kommunikation 1)" + name: "8102.03.111 (\u0019Hochbrück\u0017-Kommunikation 1)" subtext: "garching-hochbrück, Business Campus 2" subtext_bold: 3.1.11@8102 - id: 8102.03.216 type: room - name: "8102.03.216 ( \u0019Hochbrück\u0017-Konferenz)" + name: "8102.03.216 (\u0019Hochbrück\u0017-Konferenz)" subtext: "garching-hochbrück, Business Campus 2" subtext_bold: 3.2.16@8102 - id: 8102.03.233 type: room - name: "8102.03.233 ( \u0019Hochbrück\u0017-Kommunikation 2)" + name: "8102.03.233 (\u0019Hochbrück\u0017-Kommunikation 2)" subtext: "garching-hochbrück, Business Campus 2" subtext_bold: 3.2.33@8102 - id: 8102.03.302 type: room - name: "8102.03.302 ( \u0019Hochbrück\u0017-Kommunikation 3)" + name: "8102.03.302 (\u0019Hochbrück\u0017-Kommunikation 3)" subtext: "garching-hochbrück, Business Campus 2" subtext_bold: 3.3.02@8102 - id: 8102.03.428 type: room - name: "8102.03.428 ( \u0019Hochbrück\u0017-Konferenz)" + name: "8102.03.428 (\u0019Hochbrück\u0017-Konferenz)" subtext: "garching-hochbrück, Business Campus 2" subtext_bold: 3.4.28@8102 - id: 8102.03.433 type: room - name: "8102.03.433 ( \u0019Hochbrück\u0017-Kommunikation 4)" + name: "8102.03.433 (\u0019Hochbrück\u0017-Kommunikation 4)" subtext: "garching-hochbrück, Business Campus 2" subtext_bold: 3.4.33@8102 - id: 8102.03.502 type: room - name: "8102.03.502 ( \u0019Hochbrück\u0017-Kommunikation 5)" + name: "8102.03.502 (\u0019Hochbrück\u0017-Kommunikation 5)" subtext: "garching-hochbrück, Business Campus 2" subtext_bold: 3.5.02@8102 n_visible: 9 From d638499daf451e5d541c2158b3b4e503a36310ed Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 20 Jul 2024 20:46:23 +0200 Subject: [PATCH 02/66] Fixed the linting PR nominating me and me thus getting 2 notifications instead of one --- .github/workflows/linting.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 6ce862a69..83fe1564e 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -44,7 +44,5 @@ jobs: PR comes from [this Workflow Run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) [ 1 ]: https://github.com/peter-evans/create-pull-request - assignees: CommanderStorm - reviewers: CommanderStorm branch: chore/formatting-fixes delete-branch: true From 19343029651dd07bcacbd583d6ffea5e653d4861 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 20 Jul 2024 21:03:12 +0200 Subject: [PATCH 03/66] removed the prefix from the feedback --- server/main-api/src/feedback/post_feedback.rs | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/server/main-api/src/feedback/post_feedback.rs b/server/main-api/src/feedback/post_feedback.rs index 17711874d..352375c7c 100644 --- a/server/main-api/src/feedback/post_feedback.rs +++ b/server/main-api/src/feedback/post_feedback.rs @@ -32,26 +32,17 @@ pub async fn send_feedback( .content_type("text/plain") .body("Using this endpoint without accepting the privacy policy is not allowed"); }; - let (title_category, labels) = parse_request(&req_data); + let labels = parse_labels(&req_data); github::open_issue( - &format!("[{title_category}] {subject}", subject = req_data.subject), + &format!("{subject}", subject = req_data.subject), &req_data.body, labels, ) .await } -fn parse_request(req_data: &Json) -> (&str, Vec) { - let title_category = match req_data.category.as_str() { - "general" => "General", - "bug" => "Bug", - "feature" => "Feature", - "search" => "Search", - "entry" => "Entry", - _ => "Form", - }; - +fn parse_labels(req_data: &Json) -> Vec { let mut labels = vec!["webform".to_string()]; if req_data.deletion_requested { labels.push("delete-after-processing".to_string()); @@ -62,5 +53,5 @@ fn parse_request(req_data: &Json) -> (&str, Vec) { } _ => {} }; - (title_category, labels) + labels } From 6799118a1e0f99434e9605e8e15d18b63b5a6a30 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 20 Jul 2024 21:19:37 +0200 Subject: [PATCH 04/66] fixed a linting bug that sneaked in --- server/main-api/src/feedback/post_feedback.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/main-api/src/feedback/post_feedback.rs b/server/main-api/src/feedback/post_feedback.rs index 352375c7c..58b3cc4e4 100644 --- a/server/main-api/src/feedback/post_feedback.rs +++ b/server/main-api/src/feedback/post_feedback.rs @@ -32,12 +32,11 @@ pub async fn send_feedback( .content_type("text/plain") .body("Using this endpoint without accepting the privacy policy is not allowed"); }; - let labels = parse_labels(&req_data); github::open_issue( - &format!("{subject}", subject = req_data.subject), + &req_data.subject, &req_data.body, - labels, + parse_labels(&req_data), ) .await } From f02edb300250f24bca479a7d94e5991d1e5cfe0f Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 20 Jul 2024 21:21:55 +0200 Subject: [PATCH 05/66] fixed the pnpm version for the pnpm setup of the data update --- .github/workflows/update-data.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-data.yml b/.github/workflows/update-data.yml index e442a9fb0..74b027aaa 100644 --- a/.github/workflows/update-data.yml +++ b/.github/workflows/update-data.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v3 with: - version: 9.1.3 + version: 9.5.0 package_json_file: webclient/package.json run_install: | - cwd: webclient From de9e1dbd6df57cab120c9761179105b05bed2a97 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Jul 2024 21:28:32 +0200 Subject: [PATCH 06/66] chore(formatting): Fixed formatting mistakes (#1337) fixed formatting mistakes have sneaked into prod Co-authored-by: CommanderStorm <26258709+CommanderStorm@users.noreply.github.com> --- server/main-api/src/feedback/post_feedback.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/server/main-api/src/feedback/post_feedback.rs b/server/main-api/src/feedback/post_feedback.rs index 58b3cc4e4..9eab82d01 100644 --- a/server/main-api/src/feedback/post_feedback.rs +++ b/server/main-api/src/feedback/post_feedback.rs @@ -33,12 +33,7 @@ pub async fn send_feedback( .body("Using this endpoint without accepting the privacy policy is not allowed"); }; - github::open_issue( - &req_data.subject, - &req_data.body, - parse_labels(&req_data), - ) - .await + github::open_issue(&req_data.subject, &req_data.body, parse_labels(&req_data)).await } fn parse_labels(req_data: &Json) -> Vec { From e6cabe54f2853c6e6615df72a469dd6ad564914c Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 20 Jul 2024 23:18:44 +0200 Subject: [PATCH 07/66] dropped the mytum data scraper as it is no longer expected to be updated (#1338) --- .github/workflows/update-data.yml | 6 - data/external/scrapers/roomfinder.py | 284 --------------------------- 2 files changed, 290 deletions(-) delete mode 100644 data/external/scrapers/roomfinder.py diff --git a/.github/workflows/update-data.yml b/.github/workflows/update-data.yml index 74b027aaa..de3261346 100644 --- a/.github/workflows/update-data.yml +++ b/.github/workflows/update-data.yml @@ -42,12 +42,6 @@ jobs: CONNECTUM_OAUTH_CLIENT_ID: ${{ secrets.CONECTUM_OAUTH_CLIENT_ID }} CONNECTUM_OAUTH_CLIENT_SECRET: ${{ secrets.CONECTUM_OAUTH_CLIENT_SECRET }} working-directory: data/external - - name: Download mytum data - continue-on-error: true # a PR deleting all data will be created if this fails => fail obvious - run: PYTHONPATH=$PYTHONPATH:.. python3 scrapers/roomfinder.py - env: - TQDM_MININTERVAL: 100 - working-directory: data/external - continue-on-error: true # a PR deleting all data will be created if this fails => fail obvious run: ls -lah data/external/results - continue-on-error: true # a PR deleting all data will be created if this fails => fail obvious diff --git a/data/external/scrapers/roomfinder.py b/data/external/scrapers/roomfinder.py deleted file mode 100644 index 69e179c0e..000000000 --- a/data/external/scrapers/roomfinder.py +++ /dev/null @@ -1,284 +0,0 @@ -import itertools -import json -import logging -import os -import string -import urllib.parse -import xmlrpc.client # nosec: B411 -import zipfile -from collections.abc import Iterator -from pathlib import Path -from typing import Literal, TypedDict - -import requests -import utm -from defusedxml import ElementTree as ET -from tqdm import tqdm - -from external.scraping_utils import _download_file, CACHE_PATH, maybe_sleep -from utils import convert_to_webp, setup_logging - -ROOMFINDER_API_URL = "http://roomfinder.ze.tum.de:8192" - - -def _sanitise_building(building: dict): - for _map in building["maps"]: - _map[1] = f"rf{_map[1]}" - if default_map := building["default_map"]: - default_map[1] = f"rf{default_map[1]}" - building["b_room_count"] = building.pop("b_roomCount") - # the Building "Sonstige" does not have a valid lat/lon => we chose the main campus of TUM as a default - zone_number = int(building.pop("utm_zone")) - easting = building.pop("utm_easting") - northing = building.pop("utm_northing") - if building["b_id"] == "0000": - building["lat"], building["lon"] = 48.14903, 11.56735 - else: - building["lat"], building["lon"] = _utm_to_latlon(easting, northing, zone_number) - # TODO: Remove if MyTUM does fix this.. TUM changed names in denazification initative - building["b_name"] = building["b_name"].replace("Bestelmeyer Nord", "Zentralgebäude 7") - building["b_name"] = building["b_name"].replace("Bestelmeyer Süd", "Zentralgebäude 2") - - -def scrape_buildings() -> None: - """Retrieve the (extended, i.e. with coordinates) buildings data from the Roomfinder API""" - logging.info("Scraping the buildings of the mytum roomfinder") - - with xmlrpc.client.ServerProxy(ROOMFINDER_API_URL) as proxy: - buildings: list[dict] = proxy.getBuildings() - for building in tqdm(buildings, desc="Retrieving", unit="building"): - # Make sure b_id is numeric. There is an incorrect entry with the value - # 'CiO/SGInstitute West, Bibliot' which causes a crash - try: - int(building["b_id"]) - except ValueError: - continue - extended_data = proxy.getBuildingData(building["b_id"]) - building.update(**extended_data) - building["maps"] = proxy.getBuildingMaps(building["b_id"]) - building["default_map"] = proxy.getBuildingDefaultMap(building["b_id"]) or None - _sanitise_building(building) - maybe_sleep(0.01) - - buildings = sorted(buildings, key=lambda m: m["b_id"]) - with open(CACHE_PATH / "buildings_roomfinder.json", "w", encoding="utf-8") as file: - json.dump(buildings, file, indent=2, sort_keys=True) - - -def _utm_to_latlon(easting: float, northing: float, zone_number: int, zone_letter: str = "U") -> tuple[float, float]: - # UTM zone is either 32 or 33, corresponding to zones "32U" and "33U" - # TODO: Map image boundaries also included "33T". It could maybe be possible to guess - # whether it is "U" or "T" based on the northing (which is always the distance - # to the equator). - utm.check_valid_zone(zone_number, zone_letter) - if zone_number not in {32, 33}: - raise RuntimeError(f"Unexpected UTM zone '{zone_number}'") - return utm.to_latlon(easting, northing, zone_number, zone_letter) - - -class SearchResult(TypedDict): - r_id: str - - -def _sanitise_room(room: dict) -> dict: - for _map in room["maps"]: - _map[1] = f"rf{_map[1]}" - if default_map := room["default_map"]: - default_map[1] = f"rf{default_map[1]}" - room["lat"], room["lon"] = _utm_to_latlon( - zone_number=int(room.pop("utm_zone")), - easting=room.pop("utm_easting"), - northing=room.pop("utm_northing"), - ) - # TODO: Remove if MyTUM does fix this.. TUM changed names in denazification initative - room["b_name"] = room["b_name"].replace("Bestelmeyer Nord", "Zentralgebäude 7") - room["b_name"] = room["b_name"].replace("Bestelmeyer Süd", "Zentralgebäude 2") - room["r_alias"] = room["r_alias"].replace("Gustav-Niemann-", "") - room["r_alias"] = room["r_alias"].replace("EINGANGSHALLE FOYER BESTELMEYER", "") - for _map in room["maps"]: - _map[2] = _map[2].replace("Bestelmeyer Nord", "Zentralgebäude 7") - _map[2] = _map[2].replace("Bestelmeyer Süd", "Zentralgebäude 2") - - return room - - -def scrape_rooms() -> None: - """ - Retrieve the (extended, i.e. with coordinates) rooms data from the Roomfinder API. - - This may retrieve the Roomfinder buildings. - """ - with xmlrpc.client.ServerProxy(ROOMFINDER_API_URL) as proxy: - room_ids = _get_all_rooms_for_all_buildings(proxy) - logging.info("Scraping the rooms of the mytum roomfinder") - rooms = [] - for room_id in tqdm(room_ids, desc=f"Retrieving {len(room_ids)} rooms"): - room = proxy.getRoomData(room_id) - room["metas"] = proxy.getRoomMetas(room_id) - room["maps"] = proxy.getRoomMaps(room_id) - room["default_map"] = proxy.getDefaultMap(room_id) - rooms.append(_sanitise_room(room)) - maybe_sleep(0.01) - - rooms = sorted(rooms, key=lambda r: (r["b_id"], r["r_id"])) - with open(CACHE_PATH / "rooms_roomfinder.json", "w", encoding="utf-8") as file: - json.dump(rooms, file, indent=2, sort_keys=True) - - -def _get_all_rooms_for_all_buildings(proxy: xmlrpc.client.ServerProxy) -> list: - """ - Get all rooms in a building - - The API does not provide such a function directly, so we have to use search for this. - Since search returns a max of 50 results we need to guess to collect all rooms. - """ - logging.info("Searching for rooms in each building") - with open(CACHE_PATH / "buildings_roomfinder.json", encoding="utf-8") as file: - buildings = json.load(file) - unreported_warnings = [] - rooms_list = [] - for building in tqdm(buildings, desc="Guessing queries for building", unit="building"): - if (b_room_count := building.get("b_room_count")) > 0: - search_results: list[SearchResult] = proxy.searchRoom("", {"r_building": building["b_id"]}) - b_rooms = {room["r_id"] for room in search_results} - - if len(b_rooms) < b_room_count: - # Collect guess queries that are executed until - # all buildings are found or the query list is exhausted - for guessed_query in _guess_queries(b_rooms, b_room_count): - search_results = proxy.searchRoom(guessed_query, {"r_building": building["b_id"]}) - b_rooms |= {r["r_id"] for r in search_results} - - if len(b_rooms) < b_room_count: - unreported_warnings.append( - f"Could not guess all queries for building {building['b_id']}, " - f"because {len(b_rooms)=} < {building['b_room_count']=}", - ) - rooms_list.extend(list(b_rooms)) - # reporting these issues here, to not fuck with tqdm - for unreported_warning in unreported_warnings: - logging.warning(unreported_warning) - return rooms_list - - -def _guess_queries(rooms: set[str], n_rooms: int) -> Iterator[str]: - """ - Iterate through all single/double character strings consisting of digit/ascii_lowercase to find successful queries - - Ordering because of number of entries: - - single before double - - digits before ascii_lowercase - """ - for superset in [string.digits, string.ascii_lowercase]: - for string_lenght in [1, 2]: - for guess in itertools.product(superset, repeat=string_lenght): - if len(rooms) >= n_rooms: - return - maybe_sleep(0.01) - yield "".join(guess) - - -def scrape_maps() -> None: - """ - Retrieve the maps including the data about them from Roomfinder. - - Map files will be stored in 'cache/maps/roomfinder'. - """ - # The only way to get the map boundaries seems to be to download the kml with overlaid map. - # For this api we need a room or building for each map available. - with open(CACHE_PATH / "rooms_roomfinder.json", encoding="utf-8") as file: - rooms = json.load(file) - with open(CACHE_PATH / "buildings_roomfinder.json", encoding="utf-8") as file: - buildings = json.load(file) - - logging.info("Scraping the rooms-maps of the mytum roomfinder") - used_maps = {} - for building_entity in rooms + buildings: - for _map in building_entity.get("maps", []): - # _map[1] is the map id - if _map[1] not in used_maps: - if "r_id" in building_entity: - used_maps[_map[1]] = ("room", building_entity["r_id"], _map) - else: - used_maps[_map[1]] = ("building", building_entity["b_id"], _map) - maps = _download_maps(used_maps) - - # Not all maps are used somewhere. - # TODO: Download the rest - - maps = sorted(maps, key=lambda m: m["id"]) - with open(CACHE_PATH / "maps_roomfinder.json", "w", encoding="utf-8") as file: - json.dump(maps, file, indent=2, sort_keys=True) - - -def _download_maps(used_maps): - maps = [] - for e_type, e_id, _map in used_maps.values(): - # Download as file - url = f"{ROOMFINDER_API_URL}/getMapImage?m_id={_map[1].removeprefix('rf')}" - filepath = CACHE_PATH / "maps" / "roomfinder" / f"{_map[1]}.gif" - _download_file(url, filepath) - convert_to_webp(filepath) - - # TODO: Remove if MyTUM does fix this.. TUM changed names in denazification initative - _map[2] = _map[2].replace("Bestelmeyer Nord", "Zentralgebäude 7") - _map[2] = _map[2].replace("Bestelmeyer Süd", "Zentralgebäude 2") - map_data = { - "scale": _map[0], - "id": _map[1], - "desc": _map[2], - "width": _map[3], - "height": _map[4], - } - maps.append(map_data) - - # Download as kmz to get the map boundary coordinates. - # The world map (id rf9) does not support kmz download - if _map[1] == "rf9": - continue - - f_path = _download_map(_map[1], e_id, e_type) - - with zipfile.ZipFile(f_path, "r") as zip_f, zip_f.open("RoomFinder.kml") as file: - root = ET.fromstring(file.read()) - # [0] gives , - # [3] gives , - # [3] gives - latlonbox = root[0][3][3] - map_data["latlonbox"] = { - "north": latlonbox[0].text, - "east": latlonbox[1].text, - "west": latlonbox[2].text, - "south": latlonbox[3].text, - "rotation": latlonbox[4].text, - } - f_path.unlink() - return maps - - -def _download_map(_map_id: str, e_id: str, e_type: Literal["room", "building"]) -> Path | None: - filepath = CACHE_PATH / "maps" / "roomfinder" / "kmz" / f"{_map_id}.kmz" - if e_type == "room": - base_url = "https://portal.mytum.de/campus/roomfinder/getRoomPlacemark" - url = f"{base_url}?roomid={urllib.parse.quote_plus(e_id)}&mapid={_map_id.removeprefix('rf')}" - try: - return _download_file(url, filepath) - except requests.exceptions.RequestException: - return None - if e_type == "building": - base_url = "https://portal.mytum.de/campus/roomfinder/getBuildingPlacemark" - url = f"{base_url}?b_id={e_id}&mapid={_map_id.removeprefix('rf')}" - try: - return _download_file(url, filepath) - except requests.exceptions.RequestException: - return None - raise RuntimeError(f"Unknown entity type: {e_type}") - - -if __name__ == "__main__": - setup_logging(level=logging.INFO) - os.makedirs(CACHE_PATH / "maps" / "roomfinder", exist_ok=True) - os.makedirs(CACHE_PATH / "maps" / "roomfinder" / "kmz", exist_ok=True) - scrape_buildings() - scrape_rooms() - scrape_maps() From 06f38396343207c0647a976bda29b563825428ee Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Jul 2024 21:33:58 +0000 Subject: [PATCH 08/66] [data-update] Synced the data with upstream datasources (#1340) Synced the data with upstream Co-authored-by: CommanderStorm <26258709+CommanderStorm@users.noreply.github.com> Co-authored-by: Frank Elsinga --- data/external/results/rooms_nat.json | 6 +++--- data/external/results/rooms_tumonline.json | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/data/external/results/rooms_nat.json b/data/external/results/rooms_nat.json index 5875af853..f878fb1ea 100644 --- a/data/external/results/rooms_nat.json +++ b/data/external/results/rooms_nat.json @@ -4091,7 +4091,7 @@ "teaching": true }, "5101.EG.501": { - "area": 292.96, + "area": 335.39, "building_code": "5101", "campus_id": "2", "coordinates": { @@ -4174,7 +4174,7 @@ "teaching": true }, "5101.EG.502": { - "area": 179.35, + "area": 178.65, "building_code": "5101", "campus_id": "2", "coordinates": { @@ -4257,7 +4257,7 @@ "teaching": true }, "5101.EG.503": { - "area": 94.06, + "area": 95.51, "building_code": "5101", "campus_id": "2", "coordinates": { diff --git a/data/external/results/rooms_tumonline.json b/data/external/results/rooms_tumonline.json index 156ee61d8..e213251f9 100644 --- a/data/external/results/rooms_tumonline.json +++ b/data/external/results/rooms_tumonline.json @@ -23018,20 +23018,20 @@ "street": "Theresienstr. 90", "zip_code": 80333 }, - "alt_name": "N Z2311, Flur", - "arch_name": "N Z2311@0103", + "alt_name": "N Z1311, Aufzug", + "arch_name": "N Z1311@0103", "area_id": 27, "building_id": 563, "floor_level": "1.ZG", "floor_type": "Keine Angabe", - "main_operator_id": 19691, + "main_operator_id": 26064, "seats": { "sitting": null, "standing": null, "wheelchair": null }, - "tumonline_id": 59162, - "usage_id": 222 + "tumonline_id": 59155, + "usage_id": 4 }, "0104.01.401": { "address": { From 4d29cce66d95cfd591f2cebb8606d5d8a0f7167e Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 20 Jul 2024 23:44:53 +0200 Subject: [PATCH 09/66] made the token modal'S formatting nicer --- webclient/components/TokenBasedModal.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webclient/components/TokenBasedModal.vue b/webclient/components/TokenBasedModal.vue index 7f8cdc526..9f80d1f31 100644 --- a/webclient/components/TokenBasedModal.vue +++ b/webclient/components/TokenBasedModal.vue @@ -156,7 +156,7 @@ function sendForm() { - +

From b2bdf28e9aa8541e02ce5f15d89f0e8748e29129 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 20 Jul 2024 23:51:53 +0200 Subject: [PATCH 10/66] made the `test_db_setup` test less flaky --- server/main-api/src/setup/tests.rs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/server/main-api/src/setup/tests.rs b/server/main-api/src/setup/tests.rs index 1869f1683..88bc0b83d 100644 --- a/server/main-api/src/setup/tests.rs +++ b/server/main-api/src/setup/tests.rs @@ -69,13 +69,14 @@ impl MeiliSearchTestContainer { #[tracing_test::traced_test] async fn test_db_setup() { let pg = PostgresTestContainer::new().await; - let res = crate::setup::database::load_data(&pg.pool).await; - match res { - Ok(()) => (), // sometimes connecting to the db fails... retrying this is realistic - Err(e) => { - error!("failed to load db because {e:?}. Retrying once"); - tokio::time::sleep(Duration::from_secs(2)).await; - crate::setup::database::load_data(&pg.pool).await.unwrap() + for i in 0..20 { + let res = crate::setup::database::load_data(&pg.pool).await; + if let Err(e) = res { + error!("failed to load db because {e:?}. Retrying for 20s"); + tokio::time::sleep(Duration::from_secs(1)).await; + } else { + info!("successfully initalised the db in try {i}"); + break } } } From 406a805d709607fc3ba6cf6b54b3a7403b52534f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 21 Jul 2024 00:04:32 +0200 Subject: [PATCH 11/66] chore(formatting): Fixed formatting mistakes (#1341) fixed formatting mistakes have sneaked into prod Co-authored-by: CommanderStorm <26258709+CommanderStorm@users.noreply.github.com> --- server/main-api/src/setup/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main-api/src/setup/tests.rs b/server/main-api/src/setup/tests.rs index 88bc0b83d..44b4a9e98 100644 --- a/server/main-api/src/setup/tests.rs +++ b/server/main-api/src/setup/tests.rs @@ -76,7 +76,7 @@ async fn test_db_setup() { tokio::time::sleep(Duration::from_secs(1)).await; } else { info!("successfully initalised the db in try {i}"); - break + break; } } } From f471117ec5a02c12e33f713b798da066c3ad1bbd Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sun, 21 Jul 2024 00:16:17 +0200 Subject: [PATCH 12/66] fixed a missing import --- server/main-api/src/setup/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main-api/src/setup/tests.rs b/server/main-api/src/setup/tests.rs index 44b4a9e98..4dd4c5370 100644 --- a/server/main-api/src/setup/tests.rs +++ b/server/main-api/src/setup/tests.rs @@ -4,7 +4,7 @@ use sqlx::{Pool, Postgres}; use std::time::Duration; use testcontainers_modules::testcontainers::{ContainerAsync, ImageExt}; use testcontainers_modules::{meilisearch, postgres, testcontainers::runners::AsyncRunner}; -use tracing::error; +use tracing::{error, info}; pub struct PostgresTestContainer { _container: ContainerAsync, From 8aa2e7b616070eb72b4df4cbc3f149d5948cb435 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sun, 21 Jul 2024 01:03:55 +0200 Subject: [PATCH 13/66] experimented with query driven state --- webclient/components/DetailsRoomfinderMap.vue | 2 +- webclient/pages/[view]/[id].vue | 28 +++++++++++-------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/webclient/components/DetailsRoomfinderMap.vue b/webclient/components/DetailsRoomfinderMap.vue index a0d3e3cb8..0dd87a87e 100644 --- a/webclient/components/DetailsRoomfinderMap.vue +++ b/webclient/components/DetailsRoomfinderMap.vue @@ -86,7 +86,7 @@ de: modal: header: Lageplan en: - img_alt: Hand-drawn roomfinder map image + img_alt: Hand-drawn location map optimised for printing open_detailed_modal: Ein größeres Popup der Karte anzeigen modal: header: Site Plan diff --git a/webclient/pages/[view]/[id].vue b/webclient/pages/[view]/[id].vue index e92e49d6c..8ba802cba 100644 --- a/webclient/pages/[view]/[id].vue +++ b/webclient/pages/[view]/[id].vue @@ -37,8 +37,12 @@ const slideshowOpen = ref(false); const clipboardSource = computed(() => `https://nav.tum.de${route.fullPath}`); const { copy, copied, isSupported: clipboardIsSupported } = useClipboard({ source: clipboardSource }); -const selectedMap = ref<"interactive" | "roomfinder">("interactive"); - +const selectedMap = computed<"interactive" | "plans">(() => { + const map = route.query.map; + if (!map) return "interactive"; + if (Array.isArray(map)) return map[0] === "plans" ? "plans" : "interactive"; + return map === "plans" ? "plans" : "interactive"; +}); watchEffect(() => { if (route.params.id === "root") { router.replace({ path: "/" }); @@ -61,7 +65,7 @@ watch([data], () => { if (!data.value) return; // --- Additional data --- slideshowOpen.value = false; - selectedMap.value = data.value.maps.default; + route.query.map = data.value.maps.default; // --- Images --- shownImage.value = data.value.imgs?.length ? data.value.imgs[0] : undefined; tryToLoadMap(); @@ -92,7 +96,7 @@ useSeoMeta({ // --- Loading components --- function tryToLoadMap() { /** - * Try to load the entry map (interactive or roomfinder). It requires the map container + * Try to load the entry map (interactive or plans). It requires the map container * element to be loaded in DOM. * @return {boolean} Whether the loading was successful */ @@ -108,7 +112,7 @@ function tryToLoadMap() { // following variables are bound to ref objects const feedbackButton = ref | null>(null); const interactiveMap = ref | null>(null); -const roomfinderMap = ref | null>(null); +const plansMap = ref | null>(null); onMounted(() => { nextTick(() => { // Even though 'mounted' is called there is no guarantee apparently, @@ -216,11 +220,11 @@ onMounted(() => { - + @@ -233,7 +237,7 @@ onMounted(() => { as="template" @click=" () => { - selectedMap = 'roomfinder'; + route.query.map = 'plans'; interactiveMap?.loadInteractiveMap(true); } " @@ -254,7 +258,7 @@ onMounted(() => { v-slot="{ selected }" as="template" :disabled="!data.maps.roomfinder?.available" - @click="selectedMap = 'roomfinder'" + @click="route.query.map = 'plans'" > @@ -301,7 +305,7 @@ de: details_for: Details für map: interactive: Interaktive Karte - roomfinder: Lagepläne + plans: Lagepläne no_floor_overlay: Für den angezeigten Raum gibt es leider keine Indoor Karte. header: calendar: Kalender öffnen @@ -313,7 +317,7 @@ en: details_for: Details for map: interactive: Interactive Map - roomfinder: Site Plans + plans: Site Plans no_floor_overlay: There is unfortunately no indoor map for the displayed room. header: calendar: Open calendar From dcd591efe205689496abb5e8a3fca226c2b36f8d Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sun, 21 Jul 2024 01:37:55 +0200 Subject: [PATCH 14/66] minor restyling suggested by external tooling --- webclient/components/AppFooter.vue | 7 ++++++- webclient/components/AppSearchBar.vue | 4 +++- webclient/components/BreadcrumbList.vue | 2 +- webclient/components/CalendarFull.vue | 5 ++++- webclient/components/DetailsImageSlideshowModal.vue | 8 ++++++-- webclient/components/DetailsInfoSection.vue | 8 ++++++-- webclient/components/DetailsRoomOverviewSection.vue | 5 ++++- webclient/components/DetailsRoomfinderMap.vue | 5 ++++- webclient/components/SearchSectionList.vue | 5 +++-- webclient/components/TinyModal.vue | 8 +++++++- webclient/pages/[...slug].vue | 1 + webclient/pages/[view]/[id].vue | 7 ++++++- webclient/pages/search.vue | 9 ++++++++- 13 files changed, 59 insertions(+), 15 deletions(-) diff --git a/webclient/components/AppFooter.vue b/webclient/components/AppFooter.vue index c2fd879bd..d506f9060 100644 --- a/webclient/components/AppFooter.vue +++ b/webclient/components/AppFooter.vue @@ -44,7 +44,12 @@ const navigation = computed(() => [ @click=" () => { feedback.open = true; - feedback.data = { category: 'general', subject: '', body: '', deletion_requested: false }; + feedback.data = { + category: 'general', + subject: '', + body: '', + deletion_requested: false, + }; } " > diff --git a/webclient/components/AppSearchBar.vue b/webclient/components/AppSearchBar.vue index 3ea35b2b7..a4ef03a9f 100644 --- a/webclient/components/AppSearchBar.vue +++ b/webclient/components/AppSearchBar.vue @@ -5,7 +5,9 @@ import SearchResultItem from "~/components/SearchResultItem.vue"; type SearchResponse = components["schemas"]["SearchResponse"]; -const searchBarFocused = defineModel("searchBarFocused", { required: true }); +const searchBarFocused = defineModel("searchBarFocused", { + required: true, +}); const { t, locale } = useI18n({ useScope: "local" }); const keep_focus = ref(false); const router = useRouter(); diff --git a/webclient/components/BreadcrumbList.vue b/webclient/components/BreadcrumbList.vue index c2b650d4d..cb2031523 100644 --- a/webclient/components/BreadcrumbList.vue +++ b/webclient/components/BreadcrumbList.vue @@ -1,4 +1,4 @@ - diff --git a/webclient/components/CalendarFull.vue b/webclient/components/CalendarFull.vue index 0b5ab9090..240fe7b72 100644 --- a/webclient/components/CalendarFull.vue +++ b/webclient/components/CalendarFull.vue @@ -81,7 +81,10 @@ function extractInfos(data: CalendarResponse): void { earliest_last_sync.value = Object.values(data) .map((d) => new Date(d.location.last_calendar_scrape_at)) .reduce((d1, d2) => (d1 < d2 ? d1 : d2)) - .toLocaleString(locale.value, { timeStyle: "short", dateStyle: "short" }); + .toLocaleString(locale.value, { + timeStyle: "short", + dateStyle: "short", + }); const tempLocationMap = new Map(); for (const [key, v] of Object.entries(data)) { tempLocationMap.set(key, v.location); diff --git a/webclient/components/DetailsImageSlideshowModal.vue b/webclient/components/DetailsImageSlideshowModal.vue index c3ac2538f..ced11b743 100644 --- a/webclient/components/DetailsImageSlideshowModal.vue +++ b/webclient/components/DetailsImageSlideshowModal.vue @@ -9,7 +9,9 @@ const { t } = useI18n({ useScope: "local" }); const runtimeConfig = useRuntimeConfig(); const shownImage = defineModel("shown_image"); -const slideshowOpen = defineModel("slideshow_open", { required: true }); +const slideshowOpen = defineModel("slideshow_open", { + required: true, +}); type OnSlideData = { currentSlideIndex: number; @@ -83,7 +85,9 @@ const subtitles = computed(() => { 'col-span-5 md:col-span-3': i % 3 === 1, }" > -
{{ sub.title }}
+
+ {{ sub.title }} +
{{ sub.text }} diff --git a/webclient/components/DetailsInfoSection.vue b/webclient/components/DetailsInfoSection.vue index 59467b8de..116f243df 100644 --- a/webclient/components/DetailsInfoSection.vue +++ b/webclient/components/DetailsInfoSection.vue @@ -7,7 +7,9 @@ type ImageInfo = components["schemas"]["ImageInfo"]; defineProps<{ data: DetailsResponse }>(); const shownImage = defineModel("shown_image"); -const slideshowOpen = defineModel("slideshow_open", { required: true }); +const slideshowOpen = defineModel("slideshow_open", { + required: true, +}); const { t } = useI18n({ useScope: "local" }); const runtimeConfig = useRuntimeConfig(); @@ -15,7 +17,9 @@ const runtimeConfig = useRuntimeConfig(); diff --git a/webclient/app/components/ShareButton.vue b/webclient/app/components/ShareButton.vue index fb94d008e..8bbcaa2ef 100644 --- a/webclient/app/components/ShareButton.vue +++ b/webclient/app/components/ShareButton.vue @@ -35,36 +35,38 @@ const shareOptions = () => > - -
-
-

{{ t("open_in") }}

- Google Maps - - OpenStreetMap - - - {{ t("other_app") }} - + + +
+
+

{{ t("open_in") }}

+ Google Maps + + OpenStreetMap + + + {{ t("other_app") }} + +
+
+

{{ t("share") }}

+ + + {{ t("share_link") }} + + + + + {{ copied ? t("copied") : t("copy_link") }} + +
-
-

{{ t("share") }}

- - - {{ t("share_link") }} - - - - - {{ copied ? t("copied") : t("copy_link") }} - -
-
- + + diff --git a/webclient/app/components/TinyModal.vue b/webclient/app/components/TinyModal.vue index 59fc9dd7d..23d79861d 100644 --- a/webclient/app/components/TinyModal.vue +++ b/webclient/app/components/TinyModal.vue @@ -42,10 +42,12 @@ const modalOpen = ref(false); - -

{{ props.content.body }}

-

{{ props.content.footer }}

-
+ + +

{{ props.content.body }}

+

{{ props.content.footer }}

+
+
diff --git a/webclient/app/components/TokenBasedModal.vue b/webclient/app/components/TokenBasedModal.vue index 9f80d1f31..17a228aed 100644 --- a/webclient/app/components/TokenBasedModal.vue +++ b/webclient/app/components/TokenBasedModal.vue @@ -101,7 +101,7 @@ function sendForm() { From 4ae31ebb7da4a99502f5a7b03f819e24e9fab880 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sun, 21 Jul 2024 05:04:37 +0200 Subject: [PATCH 20/66] made sure that the map is selectable via the url parameter --- .../app/components/DetailsInteractiveMap.vue | 33 +++++-- .../app/components/DetailsRoomfinderMap.vue | 6 +- webclient/app/pages/[view]/[id].vue | 86 +++++-------------- webclient/package.json | 1 + webclient/pnpm-lock.yaml | 17 ++++ 5 files changed, 68 insertions(+), 75 deletions(-) diff --git a/webclient/app/components/DetailsInteractiveMap.vue b/webclient/app/components/DetailsInteractiveMap.vue index acea9d2f7..1be3c2b70 100644 --- a/webclient/app/components/DetailsInteractiveMap.vue +++ b/webclient/app/components/DetailsInteractiveMap.vue @@ -6,7 +6,6 @@ import { webglSupport } from "~/composables/webglSupport"; import type { components } from "~/api_types"; const props = defineProps<{ data: DetailsResponse }>(); -defineExpose({ loadInteractiveMap }); const map = ref(undefined); const marker = ref(undefined); const floorControl = ref(new FloorControl()); @@ -17,7 +16,7 @@ const initialLoaded = ref(false); type DetailsResponse = components["schemas"]["DetailsResponse"]; -function loadInteractiveMap(fromUi = false) { +function loadInteractiveMap() { if (!webglSupport) return; const doMapUpdate = function () { @@ -57,12 +56,6 @@ function loadInteractiveMap(fromUi = false) { // The map element should be visible when initializing if (!document.querySelector("#interactive-map .maplibregl-canvas")) nextTick(doMapUpdate); else doMapUpdate(); - - // To have an animation when the roomfinder is opened some time later, - // the cursor is set to 'zero' while the interactive map is displayed. - if (fromUi) { - window.scrollTo({ top: 0, behavior: "auto" }); - } } function createMarker(hueRotation = 0) { @@ -245,6 +238,30 @@ function setOverlayImage(imgUrl: string | null, coords: Coordinates | undefined) } } } + +// --- Loading components --- +onMounted(() => { + nextTick(() => { + // Even though 'mounted' is called there is no guarantee apparently, + // that we can reference the map by ID in the DOM yet. For this reason we + // try to poll now (Not the best solution probably) + let timeoutInMs = 25; + + function pollMap() { + const canLoadMap = document.getElementById("interactive-map") !== null; + if (canLoadMap) { + loadInteractiveMap(); + window.scrollTo({ top: 0, behavior: "auto" }); + } else { + console.info(`'mounted' called, but page is not mounted yet. Retrying map-load in ${timeoutInMs}ms`); + setTimeout(pollMap, timeoutInMs); + timeoutInMs *= 1.5; + } + } + + pollMap(); + }); +});