Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
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