Integrate smart search on MVC project using Kentico.search Nuget package

vasu kentico asked on March 1, 2017 12:25

Hi,

I have integrated Kentico smart search in MVC project based on kentico recommended steps in documentation.

I am unable to get search result and its return null value. Kentico 9.0.0 with DancingGoatMVC template (Mvc-1.0.2.zip) MVC 5

Does anyone know why this is happening and how to correct it?

Thanks

Recent Answers


Trevor Fayas answered on March 1, 2017 15:35

What is your Smart Search Settings? Does the "Search Preview" of the smart search come up with results (Smart Search -> Edit your Smart Search -> Search Preview")

0 votesVote for this answer Mark as a Correct answer

vasu yerramsetti answered on March 27, 2017 08:35

You should follow below steps for Smartseach in ASP.Net MVC site.

  1. Setup Kentico CMS website and add license with minimum two servers.
  2. Add Kenico license for ASP.Net MVC site.
  3. Enable web farms in Kentico CMS site as Automatic mode documentation
  4. Install Kentico.Web.Mvc and Kentico.Search1.0.1 integrated package in ASP.Net MVC site.
  5. Automatically create web farm for MVC site when you browse site.
  6. Validating the Smart search index in MVC site

    Please check this folder ~/App_Data/CMSModules/SmartSearch/ on MVC application and it should contain search indexes which are created in Kentco CMS site.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.