Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/NRedisStack/Search/SearchCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public InfoResult Info(RedisValue index) =>
[Obsolete("Consider using ProfileOnSearch with Redis CE 8.0 and later")]
public Tuple<SearchResult, Dictionary<string, RedisResult>> ProfileSearch(string indexName, Query q, bool limited = false)
{
setDefaultDialectIfUnset(q);
return _db.Execute(SearchCommandBuilder.ProfileSearch(indexName, q, limited))
.ToProfileSearchResult(q);
}
Expand Down
2 changes: 2 additions & 0 deletions src/NRedisStack/Search/SearchCommandsAsync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public async Task<InfoResult> InfoAsync(RedisValue index) =>
[Obsolete("Consider using ProfileOnSearchAsync with Redis CE 8.0 and later")]
public async Task<Tuple<SearchResult, Dictionary<string, RedisResult>>> ProfileSearchAsync(string indexName, Query q, bool limited = false)
{
setDefaultDialectIfUnset(q);
return (await _db.ExecuteAsync(SearchCommandBuilder.ProfileSearch(indexName, q, limited)))
.ToProfileSearchResult(q);
}
Expand All @@ -179,6 +180,7 @@ public async Task<Tuple<SearchResult, ProfilingInformation>> ProfileOnSearchAsyn
[Obsolete("Consider using ProfileOnSearchAsync with Redis CE 8.0 and later")]
public async Task<Tuple<AggregationResult, Dictionary<string, RedisResult>>> ProfileAggregateAsync(string indexName, AggregationRequest query, bool limited = false)
{
setDefaultDialectIfUnset(query);
return (await _db.ExecuteAsync(SearchCommandBuilder.ProfileAggregate(indexName, query, limited)))
.ToProfileAggregateResult(query);
}
Expand Down
Loading