AI OnAI Off
CatalogEntrySearchCriteria has a property CatalogNames. If you want to search within "Electrolux Catalog", then you have to add it to CatalogNames, instead of setting it to SearchPhrase
Tried with this code also but no luck. Can someone help me on this?
criteria.CatalogNames.Add("Electrolux Catalog")
Thanks
Omendra
Try setting the following
criteria.Locale = "en" criteria.MarketId = market.MarketId,
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