Get Tokens Positions in a single Search Query ElasticSearch v7.3

I have been stuck on this issue for like 3 days. I have found Questions about this issue but there are no solutions about this. Since the questions were asked about 2 years ago, I think that for now there might be a solution available. So here is the question:

I am trying to get the positions of the Tokens in a single Search Query.

I know till now that if I want then I have to use two different Queries, one for _termvectors and the other one for _search . But I don't want to make two separate queries just to get the positions of the token.

Is there a way to do the same in just one call?

Thanks in Advance for the Help!!!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.