+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / What happened to SearchManager?

What happened to SearchManager?

2 posts, 0 answered
  1. Sam
    Sam avatar
    16 posts
    Registered:
    28 Jul 2010
    02 May
    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
    Registered:
    12 Jul 2016
    04 May
    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:

    http://www.sitefinity.com/developer-network/forums/developing-with-sitefinity-/including-custom-fields-in-searchmanager-search

    http://www.sitefinity.com/blogs/boyan-barnevs-blog-/2012/02/27/extending_sitefinity_search_functionality_-_autocomplete


    http://www.sitefinity.com/developer-network/forums/developing-with-sitefinity-/how-to-reindex-a-built-in-search-index


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

    Regards,
    Nick Rajotte
    Telerik
     
    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