Updates to latest examine and replaces IExamineIndexCollectionAccessor since we now have IExamineManager

This commit is contained in:
Shannon
2018-03-29 16:42:11 +11:00
parent 5010cbbf30
commit 10dec4115d
21 changed files with 145 additions and 108 deletions

View File

@@ -221,7 +221,7 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
public override bool HasContent(bool preview) { throw new NotImplementedException(); }
private static ExamineManager GetExamineManagerSafe()
private static IExamineManager GetExamineManagerSafe()
{
try
{
@@ -243,8 +243,8 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
try
{
//by default use the InternalSearcher
return eMgr.GetIndexSearcher(Constants.Examine.InternalIndexer);
//by default use the internal index
return eMgr.GetSearcher(Constants.Examine.InternalIndexer);
}
catch (FileNotFoundException)
{