Skip to content

Commit 7b43d0c

Browse files
authored
Apply suggestions from code review
Remove Console.WriteLines
1 parent 2bc7910 commit 7b43d0c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/api/Elastic.Documentation.Api.Core/Search/SearchUsecase.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ public class SearchUsecase(ISearchGateway searchGateway)
1010
{
1111
public async Task<SearchResponse> Search(SearchRequest request, Cancel ctx = default)
1212
{
13-
Console.WriteLine($"SearchUsecase: Received search request - Query: '{request.Query}', Page: {request.PageNumber}, Size: {request.PageSize}");
1413

1514
// var validationResult = validator.Validate(request);
1615
// if (!validationResult.IsValid)
@@ -23,7 +22,6 @@ public async Task<SearchResponse> Search(SearchRequest request, Cancel ctx = def
2322
ctx
2423
);
2524

26-
Console.WriteLine($"SearchUsecase: Gateway returned {totalHits} total hits, {results.Count} results");
2725

2826
return new SearchResponse
2927
{

0 commit comments

Comments
 (0)