Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Check you haven't got any code that only runs when your on local. I.e. IF DEBUG or the environment is set Development in conjunction with SearchClient.Instance.Conventions.UnifiedSearchRegistry .Add<Document>()...or whatever class is represented by your document.
Hello.
In my code I usiing unified search like this
var q = HttpUtility.HtmlEncode(reguestParameters[SearchConstants.SearchQuery]); var query = SearchClient.Instance.UnifiedSearchFor(q) .UsingSynonyms(); query = query.Track(); query = query.OrderByDescending(x => x.SearchUpdateDate); var result = query.GetResult();
For testing I have added hardcoded text in my index which is