public IProviderSearchContext GetSearchContext(IIgnitionSearchIndex searchIndex)
 {
     return(ContentSearchManager.GetIndex(searchIndex.IndexName).CreateSearchContext());
 }
 public SearchManager(IIgnitionSearchIndex index, ISearchOptionsFactory searchOptionsFactory)
 {
     _index = index;
     _searchOptionsFactory = searchOptionsFactory;
 }