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
UnifiedSearchQuery query = new UnifiedSearchQuery();
query.Path = "/TmpDocuments";
query.FileNamePattern = "*.*";
query.MatchSummary.Add("Author", "Tak");
UnifiedSearchHitCollection hits = query.Search();
The count on the returned search hit collection is always 0. But the code works if i change the path to "/Documents" and add a file with the same author to the Documents folder.
Is there something i'm missing?
Thanks
Tak