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

Use categories as a scoring function #105

Closed
hkrishna opened this issue Apr 16, 2015 · 0 comments · Fixed by #106
Closed

Use categories as a scoring function #105

hkrishna opened this issue Apr 16, 2015 · 0 comments · Fixed by #106
Assignees
Labels

Comments

@hkrishna
Copy link
Contributor

Each point has a field called category that contains some valuable information, it would be nice to use this information in the scoring algorithm.

We could have a file weighted_categories.yml where we can define what weight each tag value corresponds to.

   airport: 12
   railway: 10
   restaurant: 8
   tourism: 11
   poi:landmark: 10
   ...

This should be a query time boosting easily do-able by just adding a script and using it in the API sorting logic.

Related to pelias/openstreetmap#33 and pelias/pelias#50

@hkrishna hkrishna self-assigned this Apr 16, 2015
@hkrishna hkrishna removed their assignment Apr 16, 2015
@sevko sevko closed this as completed Apr 30, 2015
@sevko sevko removed the in progress label Apr 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants