diff --git a/Dfe.Data.Common.Infrastructure.CognitiveSearch/SearchByKeyword/DefaultSearchByKeywordService.cs b/Dfe.Data.Common.Infrastructure.CognitiveSearch/SearchByKeyword/DefaultSearchByKeywordService.cs index dcd923c..9270832 100644 --- a/Dfe.Data.Common.Infrastructure.CognitiveSearch/SearchByKeyword/DefaultSearchByKeywordService.cs +++ b/Dfe.Data.Common.Infrastructure.CognitiveSearch/SearchByKeyword/DefaultSearchByKeywordService.cs @@ -54,6 +54,15 @@ public DefaultSearchByKeywordService( /// /// The response containing search results from an index. /// + /// + /// Thrown when the param or the param are null or empty + /// + /// + /// Thrown when the param is null + /// + /// + /// Thrown when a failure is returned by the Azure Search Service + /// public Task>> SearchAsync( string searchKeyword, string searchIndex, SearchOptions searchOptions) where TSearchResult : class