@@ -31,34 +31,6 @@ public static CreateIndexRequestDescriptor WithAlias(this CreateIndexRequestDesc
31
31
return descriptor ;
32
32
}
33
33
34
- /// <summary>
35
- /// Add multiple aliases to the index at creation time.
36
- /// </summary>
37
- /// <param name="descriptor">A descriptor for an index request.</param>
38
- /// <param name="aliasNames">The names of the aliases.</param>
39
- /// <returns>The <see cref="CreateIndexRequestDescriptor"/> to allow fluent chaining of calls to configure the indexing request.</returns>
40
- public static CreateIndexRequestDescriptor WithAliases ( this CreateIndexRequestDescriptor descriptor , params ReadOnlySpan < string > aliasNames )
41
- {
42
- foreach ( var name in aliasNames )
43
- descriptor . Aliases ( a => a . Add ( name , static _ => { } ) ) ;
44
-
45
- return descriptor ;
46
- }
47
-
48
- /// <summary>
49
- /// Add multiple aliases to the index at creation time.
50
- /// </summary>
51
- /// <param name="descriptor">A descriptor for an index request.</param>
52
- /// <param name="aliasNames">The names of the aliases.</param>
53
- /// <returns>The <see cref="CreateIndexRequestDescriptor"/> to allow fluent chaining of calls to configure the indexing request.</returns>
54
- public static CreateIndexRequestDescriptor WithAliases ( this CreateIndexRequestDescriptor descriptor , params string [ ] aliasNames )
55
- {
56
- foreach ( var name in aliasNames )
57
- descriptor . Aliases ( a => a . Add ( name , static _ => { } ) ) ;
58
-
59
- return descriptor ;
60
- }
61
-
62
34
/// <summary>
63
35
/// Adds an alias to the index at creation time.
64
36
/// </summary>
@@ -78,34 +50,4 @@ public static CreateIndexRequestDescriptor<TDocument> WithAlias<TDocument>(this
78
50
descriptor . Aliases ( a => a . Add ( aliasName , static _ => { } ) ) ;
79
51
return descriptor ;
80
52
}
81
-
82
- /// <summary>
83
- /// Add multiple aliases to the index at creation time.
84
- /// </summary>
85
- /// <typeparam name="TDocument">The type representing documents stored in this index.</typeparam>
86
- /// <param name="descriptor">A fluent descriptor for an index request.</param>
87
- /// <param name="aliasNames">The names of the aliases.</param>
88
- /// <returns>The <see cref="CreateIndexRequestDescriptor{TDocument}"/> to allow fluent chaining of calls to configure the indexing request.</returns>
89
- public static CreateIndexRequestDescriptor < TDocument > WithAliases < TDocument > ( this CreateIndexRequestDescriptor < TDocument > descriptor , params ReadOnlySpan < string > aliasNames )
90
- {
91
- foreach ( var name in aliasNames )
92
- descriptor . Aliases ( a => a . Add ( name , static _ => { } ) ) ;
93
-
94
- return descriptor ;
95
- }
96
-
97
- /// <summary>
98
- /// Add multiple aliases to the index at creation time.
99
- /// </summary>
100
- /// <typeparam name="TDocument">The type representing documents stored in this index.</typeparam>
101
- /// <param name="descriptor">A fluent descriptor for an index request.</param>
102
- /// <param name="aliasNames">The names of the aliases.</param>
103
- /// <returns>The <see cref="CreateIndexRequestDescriptor{TDocument}"/> to allow fluent chaining of calls to configure the indexing request.</returns>
104
- public static CreateIndexRequestDescriptor < TDocument > WithAliases < TDocument > ( this CreateIndexRequestDescriptor < TDocument > descriptor , params string [ ] aliasNames )
105
- {
106
- foreach ( var name in aliasNames )
107
- descriptor . Aliases ( a => a . Add ( name , static _ => { } ) ) ;
108
-
109
- return descriptor ;
110
- }
111
53
}
0 commit comments