Hello - using NEST v6.4.2 I need to fire off a client.Get across all indices. I cannot figure out how to use the Get API specifically to do this. My code looks as follows
var client = //initialize a ElasticClient here
// throws error as "" is an invalid index name
var doc = client.Get<dynamic>(new GetRequest("", "_all", id));
For the index name I have also tried using Indices.All
, Indices.AllIndices
, "*"
etc and nothing works.
Is it possible to use the Get /new GetRequest API to search across all indicies?
Thanks in advance