More in this section
Forums / Developing with Sitefinity / What happened to SearchManager?

What happened to SearchManager?

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Sam
    Sam avatar
    16 posts
    28 Jul 2010
    02 May 2016
    Link to this post

    I just upgraded a Sitefinity project to the latest (9.0.6012.0) from an older version and now SearchManager.GetManager( null ) is missing; There doesn't seem to be documentation anywhere of where SearchManager went. 

    How should we obtain the SearchManager now?

  2. Nick Rajotte
    Nick Rajotte avatar
    5 posts
    25 May 2017
    04 May 2016
    Link to this post
    Hi Sam,

    Thank you for contacting us,

    I responded to your Support ticket for this issue but I will also add it here as well:

    Instead of using SearchManager you should use the ISearchService and would look similar to this:

    var searchService = Telerik.Sitefinity.Services.ServiceBus.ResolveService<ISearchService>();

    Here are a few articles that depending on what it is you want to do exactly may help you along with the process:

    Hopefully this information is helpful.  But let me know if you have any other questions regarding this.

    Nick Rajotte
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered