Hello VesaJuvonen, wbaer ,
I have a requirement to alter the search results hint URLs (to use specific value of action URL param), i.e. the links coming up when user starts typing in the OOB search box.
And this should only apply to a single document library.
This is currently not available in the Set-PnPSearchSettings cmdlet options.
Without that, the only option I see is to hide the OOB search box altogether (but this does not support doclib scope, so it would disappear throughout the current site which is far from ideal) and provide a site page containing the PnP search box wp. Assumming it can be configured to achieve custom item URL links.
Is there a way to achieve this via PnP Modern search, e.g. to have a custom search box (based on PnP Modern search box wp) replace the OOB MS search box?