Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Search in Catalog with Mediachase.Search

$
0
0

Hi Team,

Please help on below of my query.

I am trying to implement Mediachase.Search functioanlity for Catalog, using below code for that but I am getting 0 items in response.

Can someone please check my ocde and help me asap to implement this functioanlity.

SearchManager searchManager = new SearchManager(AppContext.Current.ApplicationName);
searchManager.BuildIndex(false);

CatalogEntrySearchCriteria criteria = new CatalogEntrySearchCriteria();
criteria.SearchPhrase = "Electrolux Catalog";
SearchManager manager = new SearchManager(AppContext.Current.ApplicationName);
var result = manager.Search(criteria);

Regards

Om


Viewing all articles
Browse latest Browse all 6894

Trending Articles