var content = new ContentService().GetRootContent();
to:
var content = ApplicationContext.Current.Services.ContentService;
But again... Since i cant make it build correctly i didnt exacly fix it. If anyone knows how to make it build correctly, the problem should be easy to fix.
If somebody faced this issue too -
1) i've changed:
var content = new ContentService().GetRootContent();
to:
var content = UmbracoContext.Current.Application.Services.ContentService.GetRootContent();
2) After that fix nuget packages (if they corrupted);
3) and in project you have folder BuildPackage.FullTextSearch, inside that u have .bat file - run it, and in "Governor.Umbraco.FullTextSearch/bin/Release/" folder u will get new dll file, which u can change in bin folder.
May it's wrong way, but it works for me now :)
That code is depreciated yes. though it still works for me on 7.5, not sure why not for you. Anyway, there is an updated project here. You can check it out and compile a new Governor.Umbraco.FullTextSearch.dll if needed.
Re-index has error
When I click re-index on umbraco 7.3.1 (clean install) it throws an error:
According to this the parameterless constructor has been removed.
https://our.umbraco.org/forum/developers/api-questions/71765-testing-73-contentservice-c-new-contentservice
I've tried downloading the source code from CodePlex and fix it - but i cant make it build the project correctly. The problem lays in this class...
https://fulltextsearch.codeplex.com/SourceControl/latest#Governor.Umbraco.FullTextSearch/Admin/AdminActions.cs
...and should be as simple as chaning:
var content = new ContentService().GetRootContent();
to:
var content = ApplicationContext.Current.Services.ContentService;
But again... Since i cant make it build correctly i didnt exacly fix it. If anyone knows how to make it build correctly, the problem should be easy to fix.
If somebody faced this issue too - 1) i've changed: var content = new ContentService().GetRootContent();
to: var content = UmbracoContext.Current.Application.Services.ContentService.GetRootContent();
2) After that fix nuget packages (if they corrupted); 3) and in project you have folder BuildPackage.FullTextSearch, inside that u have .bat file - run it, and in "Governor.Umbraco.FullTextSearch/bin/Release/" folder u will get new dll file, which u can change in bin folder. May it's wrong way, but it works for me now :)
That code is depreciated yes. though it still works for me on 7.5, not sure why not for you. Anyway, there is an updated project here. You can check it out and compile a new
Governor.Umbraco.FullTextSearch.dll
if needed.https://github.com/pynej/umbraco-fulltextsearch
is working on a reply...