Skip to content

Commit

Permalink
Update SearchService.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
killij committed Jan 23, 2024
1 parent 4f1998a commit a831c96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Childrens-Social-Care-CPD/Services/SearchService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public Task<SearchResourcesResult> SearchResourcesAsync(KeywordSearchQuery query
QueryType = SearchQueryType.Simple,
SearchMode = SearchMode.Any,
IncludeTotalCount = true,
SearchFields = { "Title", "Body" },
HighlightFields = { "Body" },
Facets = { "Tags,count:100" },
Filter = string.IsNullOrEmpty(filter) ? null : filter,
Expand Down

0 comments on commit a831c96

Please sign in to comment.