Skip to content

Commit

Permalink
fix failing e2e tests on feature search
Browse files Browse the repository at this point in the history
Due to the migration of ch.swisstopo.lubis-luftbilder_farbe to stac the sphinx search index did not contain the old ebkey anymore. 

this fix will add the old ebkey to the index as legacy measure.
  • Loading branch information
ltclm authored Feb 1, 2024
1 parent 6ad1a2e commit 22ace52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/lubis.conf.part
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ source src_ch_swisstopo_lubis_luftbilder_farbe : def_searchable_features_with_ye
SELECT row_number() OVER(ORDER BY ebkey asc) as id \
, concat(flugdatum, ' ', bildnummer, ' (', concat_ws(', ', ort, ebkey), ')' ) as label \
, 'feature' as origin \
, remove_accents(concat_ws(' ', ebkey, ort)) as detail \
, remove_accents(concat_ws(' ', ebkey, ort, ebkey_old)) as detail \
, 'ch.swisstopo.lubis-luftbilder_farbe' as layer \
, bgdi_quadindex as geom_quadindex \
, st_y(st_transform(st_centroid(the_geom),4326)) as lat \
Expand Down

0 comments on commit 22ace52

Please sign in to comment.