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

**URL:** https://discuss.elastic.co/t/get-tokens-positions-in-a-single-search-query-elasticsearch-v7-3/203410
**Category:** Elasticsearch
**Created:** [October 14, 2019, 8:40am UTC](https://discuss.elastic.co/t/get-tokens-positions-in-a-single-search-query-elasticsearch-v7-3/203410 "2019-10-14T08:40:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![alphaglare](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alphaglare/32/46306_2.png) [@alphaglare](https://discuss.elastic.co/u/alphaglare)
#### Post date: [October 14, 2019, 8:40am UTC](https://discuss.elastic.co/t/get-tokens-positions-in-a-single-search-query-elasticsearch-v7-3/203410/1 "2019-10-14T08:40:00Z")

</div>

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!!!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 11, 2019, 8:40am UTC](https://discuss.elastic.co/t/get-tokens-positions-in-a-single-search-query-elasticsearch-v7-3/203410/2 "2019-11-11T08:40:04Z")

</div>

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