Sorry to pile on here, but getting topic similarity search going efficiently is a very very extremely hard computer science problem. It is the reason complex recommendation systems exist with deep learning neural nets.
Trying to jimmy in something here that is not super duper AI
, that performs well and produces good results is not going to be easy to say the least.