@@ -4,27 +4,44 @@ namespace Nest
44{
55 public partial interface IElasticClient
66 {
7- /// <summary>
8- /// Helper method that allows you to reindex from one index into another using SCAN and SCROLL.
9- /// </summary>
10- /// <returns>An IObservable you can subscribe to to listen to the progress of the reindexation process</returns>
11- IObservable < IReindexResponse < T > > Reindex < T > ( IndexName from , IndexName to , Func < ReindexDescriptor < T > , IReindexRequest > selector = null )
7+ /// <summary>
8+ /// Helper method that allows you to reindex from one index into another using SCAN and SCROLL.
9+ /// </summary>
10+ /// <param name="from">the index that documents should be reindexed from</param>
11+ /// <param name="to">the index that documents should be reindexed to</param>
12+ /// <param name="selector">the descriptor to describe the reindex operation</param>
13+ /// <returns>An IObservable<IReindexResponse<T>$gt; you can subscribe to to listen to the progress of the reindex process</returns>
14+ IObservable < IReindexResponse < T > > Reindex < T > ( IndexName from , IndexName to , Func < ReindexDescriptor < T > , IReindexRequest > selector = null )
1215 where T : class ;
1316
14- /// <inheritdoc/>
15- IObservable < IReindexResponse < T > > Reindex < T > ( IReindexRequest reindexRequest ) where T : class ;
17+ /// <summary>
18+ /// Helper method that allows you to reindex from one index into another using SCAN and SCROLL.
19+ /// </summary>
20+ /// <param name="request">a request object to describe the reindex operation</param>
21+ /// <returns>An IObservable<IReindexResponse<T>$gt; you can subscribe to to listen to the progress of the reindex process</returns>
22+ IObservable < IReindexResponse < T > > Reindex < T > ( IReindexRequest request ) where T : class ;
1623 }
1724
1825 public partial class ElasticClient
1926 {
20- /// <inheritdoc/>
21- public IObservable < IReindexResponse < T > > Reindex < T > ( IndexName from , IndexName to , Func < ReindexDescriptor < T > , IReindexRequest > selector = null )
27+ /// <summary>
28+ /// Helper method that allows you to reindex from one index into another using SCAN and SCROLL.
29+ /// </summary>
30+ /// <param name="from">the index that documents should be reindexed from</param>
31+ /// <param name="to">the index that documents should be reindexed to</param>
32+ /// <param name="selector">the descriptor to describe the reindex operation</param>
33+ /// <returns>An IObservable<IReindexResponse<T>$gt; you can subscribe to to listen to the progress of the reindex process</returns>
34+ public IObservable < IReindexResponse < T > > Reindex < T > ( IndexName from , IndexName to , Func < ReindexDescriptor < T > , IReindexRequest > selector = null )
2235 where T : class =>
2336 this . Reindex < T > ( selector . InvokeOrDefault ( new ReindexDescriptor < T > ( from , to ) ) ) ;
2437
25- /// <inheritdoc/>
26- public IObservable < IReindexResponse < T > > Reindex < T > ( IReindexRequest reindexRequest )
38+ /// <summary>
39+ /// Helper method that allows you to reindex from one index into another using SCAN and SCROLL.
40+ /// </summary>
41+ /// <param name="request">a request object to describe the reindex operation</param>
42+ /// <returns>An IObservable<IReindexResponse<T>$gt; you can subscribe to to listen to the progress of the reindex process</returns>
43+ public IObservable < IReindexResponse < T > > Reindex < T > ( IReindexRequest request )
2744 where T : class =>
28- new ReindexObservable < T > ( this , ConnectionSettings , reindexRequest ) ;
45+ new ReindexObservable < T > ( this , ConnectionSettings , request ) ;
2946 }
3047}
0 commit comments