You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reindex now allows the target type to be different (#2480)
* Reindex now allows the target type to be different
User has to supply an explicit map between TSource and TTarget, the old
overloads where TSource == TTarget still exists.
The simplified helpers for reindex contained a bug, out integration
tests only reindexed 2 documents but if you had more the backpressure
sanity checks would through, these now run with sane defaults.
* fix exception messages and ConsistentFluentParamNames tests
* Simplify exception messages
/// Simplified form for reindex which will cover 80% of its usecases. Allows you to index all documents of type T from <paramref name="fromIndex" /> to <paramref name="toIndex" />
19
-
/// optionally limitting the documents found in <paramref name="fromIndex" /> by using <paramref name="selector"/>.
55
+
/// optionally limiting the documents found in <paramref name="fromIndex" /> by using <paramref name="selector"/>.
20
56
/// </summary>
21
57
/// <param name="fromIndex">The source index, from which all types will be returned</param>
22
58
/// <param name="toIndex">The target index, if it does not exist already will be created using the same settings of <paramref name="fromIndex"/></param>
23
-
/// <param name="selector">an optional query limitting the documents found in <paramref name="fromIndex"/></param>
24
-
IObservable<IBulkAllResponse>Reindex<T>(
59
+
/// <param name="selector">an optional query limiting the documents found in <paramref name="fromIndex"/></param>
/// Helper method that allows you to reindex from one index into another using ScrollAll and BulkAll.
71
+
/// Simplified form for reindex which will cover 80% of its use cases. Allows you to index all documents of type T from <paramref name="fromIndex" /> to <paramref name="toIndex" />
72
+
/// optionally limiting the documents found in <paramref name="fromIndex" /> by using <paramref name="selector"/>.
33
73
/// </summary>
34
-
/// <param name="request">a request object to describe the reindex operation</param>
35
-
/// <returns>An IObservable<IReindexResponse<T>$gt; you can subscribe to to listen to the progress of the reindex process</returns>
36
-
IObservable<IBulkAllResponse>Reindex<T>(
37
-
IReindexRequest<T>request,
74
+
/// <param name="fromIndex">The source index, from which all types will be returned</param>
75
+
/// <param name="toIndex">The target index, if it does not exist already will be created using the same settings of <paramref name="fromIndex"/></param>
76
+
/// <param name="selector">an optional query limiting the documents found in <paramref name="fromIndex"/></param>
0 commit comments