Check out this link: https://webhelp.episerver.com/Ektron/documentation/documentation/wwwroot/cms400/v9.10/reference/Web/Search/Find.htm
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.
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.
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>() .For(term) .Filter(i => i.XmlConfigId.Match(11) | i.XmlConfigId.Match(12));
This will give you all the results for press releases and events smart forms.
Thank you :) That was very helpful. I think I finally have something working a lot better now.
The documention for Episerver Find and Ektron is lacking. I'm using the only full sample code I've found https://support.episerver.com/hc/en-us/articles/115004126086-Using-EPiServer-s-Find-search-With-Ektron 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?