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

Search instead of Recommendation for MVP #60

Open
halbekanne opened this issue Dec 7, 2024 · 0 comments
Open

Search instead of Recommendation for MVP #60

halbekanne opened this issue Dec 7, 2024 · 0 comments

Comments

@halbekanne
Copy link
Contributor

We first want to have a good search before we attempt creating a sophisticated recommendation engine.

What we want:

  • Search for dancers in a x km radius

Idea 1 for implementation:

  • We have the coordinates for each PLZ in the database and the PLZ of each dancer in. their profile(?)
  • For the search we calculate a square of x km around the PLZ of the user
  • first we want to do this when the search is requested (no precalculations for now)
  • We have ca. 10.000 test user so we can look at how performant this would be for more users

Optimized Idea 2 for implementation:

  • We have a set of prefedined distances (10, 25, 50 km)
  • For each of them, and for each of the PLZ, we pre-caclulate the list of other PLZ that fall into the set range
  • When the search is performed, it will be very performant, because we only need to look up the array of PLZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant