Try our conversational search powered by Generative AI!

Pulling in Ektron search results in Episerver via Find

Vote:
 

Hello

I'm using the latest version of Find (13.0.1)  and we will soon begin  migrate off Ektron and into EPi 

Our existing Ektron site has been indexed in Find, and we are using it as our search engine for now.  

We have our new episerver intance being indexed into the same index as our Ektron content.

I can't seem to find a way to pull our ektron pages into our new epi search results page. 

I thought I could use unified search, but it is only pulling in content from the Epi side of the index. 

I'm just using a really basic controler that doesn't have any filters applied at this time:

  var viewModel = new SearchPageViewModel(currentPage, q);

            if (!string.IsNullOrWhiteSpace(q))
            {
                var unifiedSearch = SearchClient.Instance.UnifiedSearchFor(q);
                viewModel.SearchResults = unifiedSearch.GetResult();
            }

            return View(viewModel);

Any suggestions as to how I can pull in these search results so we don't loose functionality as we move sites over to Epi?

#196385
Aug 28, 2018 22:23
Vote:
 

You have to use Type Search. I don't believe Unified Search works with Ektron content (I could be wrong).

I assume you have installed the Ektron CMS FIND nuget package in your solution? That's the only way  to search for Ektron content in FIND.

SearchClient.Instance.Search<SmartForm>().For(q).GetContentResult();

#196439
Aug 30, 2018 18:55
Vote:
 

Aniket,

I tried to install the Ektron.CMS.Find nuget pacakge in my EPiServer instance and it blew up. So it is difficult for me select the ektron classes unless I were to somehow fake the system out I suppose. 

#196445
Aug 30, 2018 21:22
Vote:
 

I apologize, I misunderstood. I thought you are trying to display Ektron content in a Ektron website using Episerver Find. I havent done what you are trying to do here. Do you see that content in the index? Does it have a type?

Aniket

#196447
Aug 31, 2018 4:10
Vote:
 

Hi Aniket

We do have our Ektron site indexed,  The types are 

Ektron.Cms.Find.Models.Asset, Ektron.Cms.Find.Models    
Ektron.Cms.Find.Models.SmartForm, Ektron.Cms.Find.Models    
Ektron.Cms.Find.Models.UnstructuredContent, Ektron.Cms.Find.Models  
Ektron.Cms.Find.Models.PageBuilder, Ektron.Cms.Find.Models  
But sinces these types don't exist in Epi, I'm wondering if I need to create fake types to fool Epi but that would be crazy.  I do know I can use find to search these types in the back end just find managment tool, so I assume there is another way to do this.
Thanks!
#196481
Aug 31, 2018 19:21
Vote:
 

Hello, were you able to get this working? I am looking to do something similar and was wondering if it was possible to configure Find on Ektron to search both our Episerver content as well as our Ektron content as we migrate our site slowly away from Ektron.

#201774
Mar 01, 2019 23:04
Vote:
 

Nope, not at all.  

#201775
Mar 01, 2019 23:07
Vote:
 

Oh what did you end up doing if you don't mind me asking? So you were originally able to add content from Ektron and Episerver to the same index in Find but were not able to get search results from both of them together? 

#201830
Mar 05, 2019 1:12
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.