this.client = client;
}
public Fields[] fetch(MultiTermVectorsRequest request) throws IOException {
List<Fields> likeFields = new ArrayList<>();
MultiTermVectorsResponse responses = client.multiTermVectors(request).actionGet();
for (MultiTermVectorsItemResponse response : responses) {
if (response.isFailed()) {
continue;
}
TermVectorResponse getResponse = response.getResponse();