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")
.setType("tweet").setId("1").get();
System.out.println(resp)
But the response is org.elasticsearch.action.termvectors.TermVectorsResponse@54acff7d
Could you plesase provide me an example ?
Thank you