diff --git a/NEW/src/JdeScoping.Core/Interfaces/ISearchProcessor.cs b/NEW/src/JdeScoping.Core/Interfaces/ISearchProcessor.cs new file mode 100644 index 0000000..57da872 --- /dev/null +++ b/NEW/src/JdeScoping.Core/Interfaces/ISearchProcessor.cs @@ -0,0 +1,17 @@ +using JdeScoping.Core.Models.SearchResults; + +namespace JdeScoping.Core.Interfaces; + +/// +/// Interface for search query execution. +/// +public interface ISearchProcessor +{ + /// + /// Executes search and materializes all results into SearchModel. + /// + /// The search model containing search ID. + /// Cancellation token. + /// The SearchModel populated with results. + Task ExecuteSearchToModelAsync(SearchModel model, CancellationToken ct = default); +}