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

Allow weighting #26

Open
HarelM opened this issue Aug 31, 2024 · 2 comments
Open

Allow weighting #26

HarelM opened this issue Aug 31, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@HarelM
Copy link

HarelM commented Aug 31, 2024

It might already be possible but I haven't found it the docs.
Can I give weight or priority to elements?
Can I filter out stuff?
Nominatim, for example, has a lua script to filter out elements, how can this be achieved here?
I'm looking for a full planet search for my site to get from text to OSM IDs, so I'll be happy to take this for a ride.
Currently, I have some code written in c# that parses OSM file, does some in memory stuff and index it into elastic search, but this is working for a small county and won't scale...

@ellenhp
Copy link
Owner

ellenhp commented Sep 9, 2024

Weighting, e.g. by wikidata importance, would be a great feature to have. Currently it isn't supported, as is filtering at indexing time. For most purposes, Pelias or Photon are going to give better results at the expense of resource consumption. Notably, both of them just throw everything into elasticsearch, so I wouldn't say there are any scaling issues with that part of your C# solution.

@ellenhp ellenhp added the enhancement New feature or request label Sep 9, 2024
@HarelM
Copy link
Author

HarelM commented Sep 9, 2024

The scaling issue is with the in memory processing (meging, deduplication), not with elastic.
Thanks for the detailed answer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants