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

Layers and sources ignored results in ignored sources only #1653

Open
arnesetzer opened this issue May 26, 2023 · 0 comments
Open

Layers and sources ignored results in ignored sources only #1653

arnesetzer opened this issue May 26, 2023 · 0 comments
Labels

Comments

@arnesetzer
Copy link

Describe the bug
If you start a request and ignore some sources (eg: sources=-gn) and some layers (eg. layers=-macrocounty%2C-empire%2C-continent%2C-country%2C-region%2C-ocean%2C-venue) the negated layers are ignored every time.

Steps to Reproduce
Create a query where some layers and sources are ignored. (eg. https://pelias.github.io/compare/#/v1/search?sources=-gn&layers=-macrocounty%2C-empire%2C-continent%2C-country%2C-region%2C-ocean%2C-venue&text=M%C3%BCnchen+Hbf&debug=1).
As you can see in the results that venues are not ignored. If the query just ignores some layers (eg. https://pelias.github.io/compare/#/v1/search?layers=-macrocounty%2C-empire%2C-continent%2C-country%2C-region%2C-ocean%2C-venue&text=M%C3%BCnchen+Hbf&debug=1) everything looks good.

Expected behavior
That the two parameters are combinded an return a result which suits the parameters. Or throws an error/warning that this combination isn't allowed.

Environment (please complete the following information):

  • OS: Debian/Ubuntu
  • Docker Version: 24.0.1
  • Docker compose version: 1.29.2/2.18.1 (with support for docker compose v2 docker#316)
    Since this error occurs on the offical geocode instance I don't think that it is OS dependent.

References

Didn't found any. Sorry, if I created a duplicate 🙈

@arnesetzer arnesetzer added the bug label May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant