From 757cfcae8e91a5b7f1c78032398a6287055120b8 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 26 Apr 2013 15:20:53 -0400 Subject: Added search hint service --- MediaBrowser.Controller/Library/ILibrarySearchEngine.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'MediaBrowser.Controller/Library') diff --git a/MediaBrowser.Controller/Library/ILibrarySearchEngine.cs b/MediaBrowser.Controller/Library/ILibrarySearchEngine.cs index 0aff451d9c..315e752082 100644 --- a/MediaBrowser.Controller/Library/ILibrarySearchEngine.cs +++ b/MediaBrowser.Controller/Library/ILibrarySearchEngine.cs @@ -1,5 +1,6 @@ using MediaBrowser.Controller.Entities; using System.Collections.Generic; +using System.Threading.Tasks; namespace MediaBrowser.Controller.Library { @@ -16,5 +17,13 @@ namespace MediaBrowser.Controller.Library /// IEnumerable{BaseItem}. /// searchTerm IEnumerable Search(IEnumerable items, string searchTerm); + + /// + /// Gets the search hints. + /// + /// The input items. + /// The search term. + /// Task{IEnumerable{BaseItem}}. + Task> GetSearchHints(IEnumerable inputItems, string searchTerm); } } -- cgit v1.2.3