Hello,
I have a issue with limiting search results using PnP Modern Search.
In addition to pulling all *.docx documents from the document library, I would like to skip those that have the name "Attachments" in the path.
I have a KQL query:
{searchTerm} path:http://sp.online/Documents fileextension:docx
How can I exclude those files which have the word Attachments in the path (this is the name of the folder)?
Thank you!

