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
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityHow 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