Working with Find in Ektron


The documention for Episerver Find and Ektron is lacking.  I'm using the only full sample code I've found and our index is returing everything.  We have a lot of smartforms and content blocks that we use as helpers that we dont' want in search results. For example, we have a configuration smartform that doesn't need to be indexed but we have new release smart forms that DO need to be indexed.  I can not find any examples as to how to go about doing this.

Anybody have any experence with Find in Ektron who can help me out?   

Jul 31, 2018 21:08

Check out this link: 

Episerver is not the same as Ektron's Episerver FIND

Ektron find does not come with the out of the box Episerver FIND UI for boosting, best bets etc. It only indexes the content (and re-indexes) and returns the results. 

Jul 31, 2018 21:27

I've looked through the documentation and can't find any examples of how to filter out the search results.

I'd like to have more examples of HOW to filter out some smartforms from the results, while keeping others.  I'm not finding any examples of that.

Jul 31, 2018 21:39

Hi Valina,

You can do something like this:

// Press release xml config id = 11

// Events xml config id = 12

var epiResult = client.Search<Ektron.Cms.Find.Models.SmartForm>()
.Filter(i => i.XmlConfigId.Match(11) | i.XmlConfigId.Match(12));

This will give you all the results for press releases and events smart forms.

Edited, Aug 01, 2018 17:16

Thank you :) That was very helpful.  I think I finally have something working a lot  better now.

Aug 02, 2018 16:11
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.