I've a scenario where I want to index contents in ElasticSearch with more information for each word appearing in the context. For example, if the content is -
Hi there, how are you. I miss you.
We want to index each word in above sentence as well context around the word. Example, 'miss' is a feeling, 'you' is a person, etc. We use payloads today to store the context as well as the position.
But processing payloads is not that faster and query performance is not great when the #of documents is huge. Any alternative we could try?