How to get termPositions in es?

It's known that in lucene one can get a termPositions object using like this:
TermPositions tp = reader.termPositions(new Term("filedName", "queryTerm"));
Then he can fetch the position of the specific term in every matched document.
I am wondering is there any similar function provided by elasticsearch as well?
Thank you.