public void AliasesWithDashesAreNotStripped()
		{
			//unique indexaname already contains dasshes but lets be sure about this
			//if the implementation ever changes
			var index = ElasticsearchConfiguration.NewUniqueIndexName() + "-dashes";
			var x = this.Client.CreateIndex(index);
			x.Acknowledged.Should().BeTrue();
			var alias = ElasticsearchConfiguration.NewUniqueIndexName() + "-dashed-alias";
			var aliasResult = this.Client.Alias(a => a.Add(aa => aa.Index(index).Alias(alias)));
			aliasResult.IsValid.Should().BeTrue();
			aliasResult.Acknowledged.Should().BeTrue();

			var getIndicesResult = Client.GetIndicesPointingToAlias(alias);
			getIndicesResult.Should().NotBeEmpty();

			var indexReturned = getIndicesResult.First();
			indexReturned.Should().Be(index).And.Contain("-dashes");


			var getAliasesResult = this.Client.GetAliasesPointingToIndex(index);
			getAliasesResult.Should().NotBeEmpty().And.HaveCount(1);

			var aliasReturned = getAliasesResult.First().Name;
			aliasReturned.Should().Be(alias).And.Contain("-dashed-alias");


			var elasticsearchClient = new ElasticsearchClient(ElasticsearchConfiguration.Settings());
			var dynamicResult = elasticsearchClient.IndicesGetAlias(index);
			IDictionary<string, object> aliases = dynamicResult.Response[index].aliases;
			aliases.Count.Should().Be(1);
			var aliasDynamic = aliases.Keys.First();
			aliasDynamic.Should().Be(alias);

		}
        public void IndexWithDashesAreNotStripped2()
        {
            var index = ElasticsearchConfiguration.NewUniqueIndexName() + "-dashes";
            var x = this._client.CreateIndex(index);
            x.Acknowledged.Should().BeTrue();
            var alias = ElasticsearchConfiguration.NewUniqueIndexName() + "-dashes-alias";
            var aliasResult = this._client.Alias(a => a.Add(aa => aa.Index(index).Alias(alias)));
            aliasResult.IsValid.Should().BeTrue();
            aliasResult.Acknowledged.Should().BeTrue();

            var elasticsearchClient = new ElasticsearchClient(ElasticsearchConfiguration.Settings());
            var dynamicResult = elasticsearchClient.IndicesGetAlias(alias);
            dynamicResult.Response.ContainsKey(index).Should().BeTrue();
        }