I'm doing synonyms but for different reasons (many users in 1 index each with different synonyms) I need to handle synonyms only at query time. What is the best way to do this currently in es ?
Currently I'm thinking a process like:
- analyze query and get tokens from es without searching
- check tokens with other db for synonyms
- rebuild query to es with synonyms for the current tokens included
Does this make sense ? Am I missing something? How would I do step 3 ?