2013-03-28 18:00:58 -04:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
|
using System.Collections.Generic;
|
2013-04-26 15:20:53 -04:00
|
|
|
|
using System.Threading.Tasks;
|
2013-03-28 18:00:58 -04:00
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Interface ILibrarySearchEngine
|
|
|
|
|
|
/// </summary>
|
2014-01-03 23:53:49 -05:00
|
|
|
|
public interface ISearchEngine
|
2013-03-28 18:00:58 -04:00
|
|
|
|
{
|
2013-04-26 15:20:53 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the search hints.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="inputItems">The input items.</param>
|
|
|
|
|
|
/// <param name="searchTerm">The search term.</param>
|
2013-04-27 09:05:33 -04:00
|
|
|
|
/// <returns>Task{IEnumerable{SearchHintInfo}}.</returns>
|
|
|
|
|
|
Task<IEnumerable<SearchHintInfo>> GetSearchHints(IEnumerable<BaseItem> inputItems, string searchTerm);
|
2013-03-28 18:00:58 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|