Resolve search query which does not look like PID
In the web app search box, we send all search queries to the PID resolve endpoint, regardless of whether they look like a PID. But in tis commit written a script to check if the search query does look like PID but does not start with 'swh' then the app does not send search queries to the PID resolve endpoint.
Related to #1850 (closed)
Migrated from D2611 (view on Phabricator)