Question

I'm trying to upgrade from Nest .10 to .12, but don't see what call I need to substitute for client.CreateIndexRaw("myIndexName", myJsonSettings).

Was it helpful?

Solution

You can now use

client.Raw.IndicesCreatePost("myIndexName", myJsonSettings, nv=>nv);

myJsonSettings can be a string or anonymous c# object. The last argument is optional but allows you to pass any querystring value you might need.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top