The nearest neighbor problem is very common in data science. It's useful in recommender situations but also with neural embeddings in general. It's an expensive thing to calculate so it is common to calculate approximate distances as a proxy. In python a very likeable tool for this is annoy.
Feedback? See an issue? Feel free to mention it here.
If you want to be kept up to date, consider getting the newsletter.