Try our conversational search powered by Generative AI!

Upgrading PageSearch to CMS 5

Vote:
 

hi,

I am upgrading a site from CM4 to 5, all is going well, all I need to do now is get the search working.

I have the following:

PageSearch locationsPageSearch = new PageSearch();

locationsPageSearch.SearchQuery = m_SearchQuery;

.....etc 

locationsPageSearch.DataBind();

// Attach each of the discovered locations to the same criterias collection

ie = locationsPageSearch.GetEnumerator();

while (ie.MoveNext())

{

..Process

}

The sdk states I should be using SearchDataSource, does anyone know how I could implement similiar custom code?

Thanks

 

 

#32437
Sep 02, 2009 13:44
Vote:
 

 

Does the introduction at: 

 http://world.episerver.com/en/Get-Started/Developing-with-EPiServer-CMS/Introduction-to-EPiServer-CMS/Search/

 

help?

#32711
Sep 14, 2009 15:59
* 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.