17 lines
519 B
C#
17 lines
519 B
C#
namespace VideoGameQuotes.Api.Search {
|
|
/// <summary>
|
|
/// Exposes an interface to build and update a search index
|
|
/// </summary>
|
|
public interface ISearchIndexBuilder<T> {
|
|
/// <summary>
|
|
/// (Re)builds the search index
|
|
/// </summary>
|
|
void BuildIndex();
|
|
|
|
/// <summary>
|
|
/// Updates the index for the specified <paramref name="indexableObject"/>
|
|
/// </summary>
|
|
/// <param name="indexableObject">The object that needs its index updated</param>
|
|
void UpdateIndex(T indexableObject);
|
|
}
|
|
} |