You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If memory serves me right i think i remember observing the map call no longer automatically creates the index on Elasticsearch's side like it does when you first post a document. I don't know exactly which version changed this behavior.
I just put a if (!indexexists) { createindex() } in between.
If i issue the tweet mapping call from the Elasticsearch docs
I have a custom mapping and I'm trying to force deletion and recreation of the index, I have the following code (using the latest NEST from NuGet)
TypeMapping mapping = new ActivityLogIndexMap().Map();
client.DeleteMapping();
client.Map(mapping);
client.Refresh();
Unfortunately this does not create the mapping in Elastic Search :-/
The text was updated successfully, but these errors were encountered: