482483484485486487488489490
return convert(res.get()); } public StreamingOperation<IndexEntry> fetchIndex(IndexSpec indexSpec) { IndexRequest req = convert(indexSpec); IndexResponseV2 response = client.index(req); return new IndexSource(response); }