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-2841: remove white space #624

Merged
merged 3 commits into from
Jun 27, 2024

Conversation

faselm
Copy link
Contributor

@faselm faselm commented Jun 27, 2024

Maybe the service need a rebuild if only the bod config "searchable" changed? Anyway I take the opportunity to remove a blank space to do so if needed..

@github-actions github-actions bot added this to the 2024-07-03 milestone Jun 27, 2024
@faselm faselm requested review from rebert and ltclm June 27, 2024 11:49
@ltclm
Copy link
Contributor

ltclm commented Jun 27, 2024

the searchable part of the bod is only a client configuration for the mapviewer. Are you using sys-map.dev.bgdi.ch for testing now or mf-geoadmin3.dev.bgdi.ch?
Since we have the new viewer on-line now we should only use sys-map.dev.bgdi.ch.

@faselm
Copy link
Contributor Author

faselm commented Jun 27, 2024

mf-geoadmin3.dev.bgdi.ch, I will try with the other

@faselm
Copy link
Contributor Author

faselm commented Jun 27, 2024

Still no luck for this layer..

@ltclm
Copy link
Contributor

ltclm commented Jun 27, 2024

the error says:

https://sys-api3.dev.bgdi.ch/rest/services/ech/SearchServer?sr=2056&searchText=sion+coumaye&lang=en&type=featuresearch&features=ch.swisstopo.geologie-tektonische_karte&timeEnabled=false

{
"error": {
"code": 404,
"message": "unknown local index 'ch_swisstopo_geologie_tektonische_karte' in search request"
},
"success": false
}

you have to create a distributed index see example here:

index ch_bfe_sachplan_uebertragungsleitungen_kraft

the fid is unique over both tables right?

@faselm faselm force-pushed the feat-BGDIDIC-2841-tektonische_karte branch from 0e00866 to 28cd96b Compare June 27, 2024 12:28
@faselm
Copy link
Contributor Author

faselm commented Jun 27, 2024

Yes, fid is unique across all tables

@faselm
Copy link
Contributor Author

faselm commented Jun 27, 2024

OK, I added it

Copy link
Contributor

@ltclm ltclm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks lets try this.

@faselm faselm merged commit 1fbd7fe into develop-2024-07-03 Jun 27, 2024
5 checks passed
@faselm faselm deleted the feat-BGDIDIC-2841-tektonische_karte branch June 27, 2024 12:46
@faselm faselm restored the feat-BGDIDIC-2841-tektonische_karte branch June 27, 2024 12:55
@faselm
Copy link
Contributor Author

faselm commented Jun 27, 2024

Empty array now, I will try with some names

@faselm
Copy link
Contributor Author

faselm commented Jun 27, 2024

It works, thanks!

@faselm faselm deleted the feat-BGDIDIC-2841-tektonische_karte branch June 27, 2024 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants