I have an index containing the type with blog posts.
I want to have another type within this index with two fields:
user id and the user's search query
After every blog posts type insert I want to execute a search
that will find all users' ids whose search queries match the inserted
Currently I'm doing this within my RDBMS with a bunch of joins.
I'm converting full text searches to Elastic and do not understand
- store these users' queris
- how to execute such a query
I guess this is a common pattern. I just don't feel Elastic enough not to
ask for help here.