Try our conversational search powered by Generative AI!

EPI Find on Database




I have used EPI find on Article search and its working very fine.

Now there is one exiting project where we are thinking  to replace Solr search with EPI Find for Big Jobs and Job seaker DataBase.

As we haven't done any database with EPI find implimentation before.

  1. It will be a good desicion?
  2. Any sample app aviailble to check such kind of implimentaion.

Please suggest.



Apr 02, 2019 6:42

Hi Abhishek

According to the Find documentation, indexing objects from outside of Episerver is supported. But you need to do the indexing yourself (e.g. on an event or in a scheduled job), loading the entities from your database and batch index them through the Find API. There are small code samples on that documentation page.

Working with Find is easier than Solr and you will end up having a single consolidated search solution. I cannot see why this would not be a good decision.

Apr 02, 2019 7:42

Custom indexing objects is pretty easy just make sure to add an attribute ID  and SearchTitle to any custom indexed models. I've covered those parts at the bottom of my recent Find blog post and a few other things to consider.

Apr 02, 2019 13:28

Allan Thraen created an Episerver Find code challenge some years ago.

Have a look at Patrick's solution.

Apr 03, 2019 9:02

I've worked with both SOLR and Episerver Find to index custom objects. It's definitely easier using Find than SOLR. 

IClient client = //A client retrieved from config or injected into the method
BlogPost blogPost = //An instance of an arbitrary class


You can then search for it and get a strongly typed result

var searchResult = client.Search<BlogPost>()

You can read more about it here

Worth noting that Episerver Find is built upon Elastic search which is a generic search solution. So Episerver Find has plenty of power in this area if needed. But you will need to configure the indexing and search a little by yourself unlike for Episerver content that is setup to work automagically.

Apr 03, 2019 10:16

It has a couple of year on it but this is a great example of how to use Find with custom objects

The indexing part you can find info on with links in the other comments so this is for the query part


Apr 03, 2019 10:19
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.