Hello, i am trying to get the termvectors of an index but every example i find is for an older version of Elasticsearch so they don't work.
I tried to get the termvectors like this:
TermVectorsResponse resp = client.prepareTermVectors().setIndex("twitter")
But the response is org.elasticsearch.action.termvectors.TermVectorsResponse@54acff7d
Could you plesase provide me an example ?