From 488aef560b80460ac2b43d9504866d471384f08a Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Wed, 7 Jan 2026 06:04:17 -0500 Subject: [PATCH] feat(core): add ISearchProcessor interface for search execution abstraction --- .../Interfaces/ISearchProcessor.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 NEW/src/JdeScoping.Core/Interfaces/ISearchProcessor.cs 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); +}