Find.EPiServer Implementation


I'm working on implementing Find.EPiServer product in my project. I face an issue in implementing the "Free text search" function mentioned in I'm trying to implement the below code, which is specified in the above mentioned page:

var searchResult = client.Search<BlogPost>()
.InField(x => x.Title)

I did a similar query as follows:

var searchResult = client.Search<NewsList>()
.InField(x => x.PageTitle)


wherein NewsList is the page type and PageTitle is the property, that I created through admin mode. However the "x." intelligence doesn't give me the PageTitle property as suggestion and shows an error - 'EPiServer.Pages.Content does' not contain a definition for 'Page Title' and no extension method 'PageTitle' accepting a first argument of type 'EPiServer.Pages.Content does' could be found (are you missing a using directive or assembly reference?).

I have downloaded the related Find.EPiServer dlls - EPiServer.Find, EPiServer.Find.CMS, EPiServer.Find.Framework and Newtonsoft.Json from "" and referenced the same. Also I have added the namespaces - EPiServer.Find, EPiServer.Find.CMS, EPiServer.Find.Framework in my page.

Oct 22, 2012 14:12


Using the fluent Find-API you can only search strongly typed properties/methods using Find and not properties in the property data collection (as those added in admin mode). Please use PageTypeBuilder to model your pages as it will give you strongly typed access to your property data. It will also enable you to use Find in that lovely fluent way.


Oct 31, 2012 11:07
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.