Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BGDIDIC-685: delete search index #615

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions conf/edi.conf.part
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,6 @@ source src_ch_bfs_generalisierte_grenzen_agglomerationen_g1 : def_searchable_fea
}


source src_ch_bfs_generalisierte_grenzen_agglomerationen_g2 : def_searchable_features
{
sql_db = edi_${DBSTAGING}
sql_query = \
SELECT bgdi_id::bigint as id \
, gmd_name as label \
, 'feature' as origin \
, remove_accents(concat_ws(' ',gmd_name,gmd_nr::text,aname,acode::text)) as detail \
, 'ch.bfs.generalisierte-grenzen_agglomerationen_g2' as layer \
, quadindex(the_geom) as geom_quadindex \
, st_y(st_transform(st_centroid(the_geom),4326)) as lat \
, st_x(st_transform(st_centroid(the_geom),4326)) as lon \
, box2d(st_transform(the_geom, 21781)) as geom_st_box2d \
, box2d(st_transform(the_geom, 2056)) as geom_st_box2d_lv95 \
, bgdi_id::text as feature_id \
from bfs.gen_grenzen_agglo_g2
}


source src_ch_bfs_landschaftswandel : def_searchable_features
{
sql_db = edi_${DBSTAGING}
Expand Down Expand Up @@ -168,12 +149,6 @@ index ch_bfs_generalisierte_grenzen_agglomerationen_g1
expand_keywords = 1
}

index ch_bfs_generalisierte_grenzen_agglomerationen_g2 : ch_bfs_generalisierte_grenzen_agglomerationen_g1
{
source = src_ch_bfs_generalisierte_grenzen_agglomerationen_g2
path = /var/lib/sphinxsearch/data/index/ch_bfs_generalisierte_grenzen_agglomerationen_g2
}

index ch_bfs_landschaftswandel : ch_bfs_generalisierte_grenzen_agglomerationen_g1
{
source = src_ch_bfs_landschaftswandel
Expand Down
Loading