How can modify below search result sources so it only take documents and not folders and also not any other pages from document libraries
{searchTerms} path: https://sharepoint.com/Test/Test/sites/DocumentLibrary* IsDocument=True
How can modify below search result sources so it only take documents and not folders and also not any other pages from document libraries
{searchTerms} path: https://sharepoint.com/Test/Test/sites/DocumentLibrary* IsDocument=True
You could try to use:
{searchTerms} path: https://sharepoint.com/Test/Test/sites/DocumentLibrary IsDocument=1