@@ -169,16 +169,24 @@ public interface ISearchCommandsAsync
169
169
/// <remarks><seealso href="https://redis.io/commands/ft.info"/></remarks>
170
170
Task < InfoResult > InfoAsync ( RedisValue index ) ;
171
171
172
-
173
172
/// <summary>
174
173
/// Apply FT.SEARCH command to collect performance details.
175
174
/// </summary>
176
175
/// <param name="indexName">The index name, created using FT.CREATE.</param>
177
176
/// <param name="q">The query string.</param>
178
177
/// <param name="limited">Removes details of reader iterator.</param>
179
178
/// <returns></returns>
179
+ [ Obsolete ( "Consider using ProfileOnSearchAsync with Redis CE 8.0 and later" ) ]
180
180
Task < Tuple < SearchResult , Dictionary < string , RedisResult > > > ProfileSearchAsync ( string indexName , Query q , bool limited = false ) ;
181
181
182
+ /// <summary>
183
+ /// Apply FT.SEARCH command to collect performance details.
184
+ /// </summary>
185
+ /// <param name="indexName">The index name, created using FT.CREATE.</param>
186
+ /// <param name="q">The query string.</param>
187
+ /// <param name="limited">Removes details of reader iterator.</param>
188
+ /// <returns></returns>
189
+ Task < Tuple < SearchResult , ProfilingInformation > > ProfileOnSearchAsync ( string indexName , Query q , bool limited = false ) ;
182
190
183
191
/// <summary>
184
192
/// Apply FT.AGGREGATE command to collect performance details.
@@ -187,8 +195,18 @@ public interface ISearchCommandsAsync
187
195
/// <param name="query">The query string.</param>
188
196
/// <param name="limited">Removes details of reader iterator.</param>
189
197
/// <returns></returns>
198
+ [ Obsolete ( "Consider using ProfileOnAggregateAsync with Redis CE 8.0 and later" ) ]
190
199
Task < Tuple < AggregationResult , Dictionary < string , RedisResult > > > ProfileAggregateAsync ( string indexName , AggregationRequest query , bool limited = false ) ;
191
200
201
+ /// <summary>
202
+ /// Apply FT.AGGREGATE command to collect performance details.
203
+ /// </summary>
204
+ /// <param name="indexName">The index name, created using FT.CREATE.</param>
205
+ /// <param name="query">The query string.</param>
206
+ /// <param name="limited">Removes details of reader iterator.</param>
207
+ /// <returns></returns>
208
+ Task < Tuple < AggregationResult , ProfilingInformation > > ProfileOnAggregateAsync ( string indexName , AggregationRequest query , bool limited = false ) ;
209
+
192
210
/// <summary>
193
211
/// Search the index
194
212
/// </summary>
0 commit comments