File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/Nest/Document/Single/Index Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public partial interface IElasticClient
1111 /// <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html">
1212 /// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html</a>
1313 /// </summary>
14- /// <typeparam name="TDocument">The document type used to infer the default index, type and id</typeparam>
14+ /// <typeparam name="TDocument">The document type used to infer the default index and id</typeparam>
1515 /// <param name="document">
1616 /// The document to be indexed. Id will be inferred from (in order):
1717 /// <para>1. Id property set up on <see cref="ConnectionSettings" /> for <typeparamref name="TDocument" /></para>
@@ -21,12 +21,11 @@ public partial interface IElasticClient
2121 /// </para>
2222 /// <para>3. A property named Id on <typeparamref name="TDocument" /></para>
2323 /// </param>
24- /// <param name="selector">Optionally further describe the index operation i.e override type, index, id</param>
2524 IndexResponse IndexDocument < TDocument > ( TDocument document ) where TDocument : class ;
2625
2726 /// <inheritdoc cref="IElasticClient.IndexDocument{TDocument}" />
28- Task < IndexResponse > IndexDocumentAsync < T > ( T document , CancellationToken ct = default )
29- where T : class ;
27+ Task < IndexResponse > IndexDocumentAsync < TDocument > ( TDocument document , CancellationToken ct = default )
28+ where TDocument : class ;
3029 }
3130
3231 public partial class ElasticClient
You can’t perform that action at this time.
0 commit comments