We have a REST query to
_api/search/postquery and it includes a query like this:
Most of the time it is working correctly. But in some cases we have a folder like Create a new course and another folder Create a new course the easy way. When querying for the first folder it is also returning results from the second folder because they start the same.
From this MS documentation for KQL I see there is both a
: and a
= operator. It isn't very clear, but I think
= is supposed to be an exact match. In any event I've tried both operators and neither is functioning as an exact match on the ParentLink property.
Is there a way to get an exact match?
Is there some other way to get the contents of a file using search api?
If it matters this is a SharePoint 2013 on-prem that has been migrated to SPO and is using the classic mode.