SwapAlias() function not working?

Hi,

I am implementing the SwapAlias() function at this GitHub page: https://github.com/elastic/elasticsearch-net-example/blob/2.x-codecomplete/src/NuSearch.Indexer/Program.cs

This SwapAlias() function was part of a tutorial at https://github.com/elastic/elasticsearch-net-example/tree/2.x

When I finally do GET /_cat/aliases?v I don't see any aliases listed. Why is this so?

Thanks!

Hi @Edwardo_Hanna

There was a small bug in GetAlias() that was fixed in NEST 2.4.4 ; be sure to upgrade the version of NEST 2.x that you are using to 2.4.4.

The rest of the SwapAlias() implementation looks correct. Can you share how you are using it?