@@ -169,16 +169,24 @@ public interface ISearchCommandsAsync
169169 /// <remarks><seealso href="https://redis.io/commands/ft.info"/></remarks>
170170 Task < InfoResult > InfoAsync ( RedisValue index ) ;
171171
172-
173172 /// <summary>
174173 /// Apply FT.SEARCH command to collect performance details.
175174 /// </summary>
176175 /// <param name="indexName">The index name, created using FT.CREATE.</param>
177176 /// <param name="q">The query string.</param>
178177 /// <param name="limited">Removes details of reader iterator.</param>
179178 /// <returns></returns>
179+ [ Obsolete ( "Consider using ProfileOnSearchAsync with Redis CE 8.0 and later" ) ]
180180 Task < Tuple < SearchResult , Dictionary < string , RedisResult > > > ProfileSearchAsync ( string indexName , Query q , bool limited = false ) ;
181181
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 ) ;
182190
183191 /// <summary>
184192 /// Apply FT.AGGREGATE command to collect performance details.
@@ -187,8 +195,18 @@ public interface ISearchCommandsAsync
187195 /// <param name="query">The query string.</param>
188196 /// <param name="limited">Removes details of reader iterator.</param>
189197 /// <returns></returns>
198+ [ Obsolete ( "Consider using ProfileOnAggregateAsync with Redis CE 8.0 and later" ) ]
190199 Task < Tuple < AggregationResult , Dictionary < string , RedisResult > > > ProfileAggregateAsync ( string indexName , AggregationRequest query , bool limited = false ) ;
191200
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+
192210 /// <summary>
193211 /// Search the index
194212 /// </summary>
0 commit comments