You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/search?...cc=CERN Students Projects...[p=<query>] -> /communties/<SSPN>/search?q=<query>
Also with c only on not? Check search_engine.py not for now
Ideally, we should parse the p= param, to detect if there is a Marc21 field, and redirect to the same search re-mapped. Example: p=245__a:my title (or p=245:my title) should redirect to q=metadata.title:my title. The issue is that some fields change per collection. Do we take it into account? Not for now
We don't want to expose a /legacy anywhere, therefore we can't respond with a Redirect /legacy from current CDS.
For the migrated collection:
update CDS webserver to redirect migrated paths /<path> to repository.cern/<path>. For example, /collection/SSPN to repository.cern/collection/SSPN
in new CDS webserver, we should add an internal rewrite/redirection/rule in the main location similar to:
when the host is not repository.cern
AND
the URL path matches one of the migrated paths (e.g. /collection, /files, /record)
THEN
add an internal rewrite to /legacy/<path>
OTHERWISE
the request should go to the / (maybe a valid URL for InvenioRDM.
The text was updated successfully, but these errors were encountered:
Implement URL redirection of:
/collection/CERN%20Students%20Projects
->/communties/<SSPN>
/search?...cc=CERN Students Projects...[p=<query>]
->/communties/<SSPN>/search?q=<query>
Also withnot for nowc
only on not? Checksearch_engine.py
Ideally, we should parse theNot for nowp=
param, to detect if there is a Marc21 field, and redirect to the same search re-mapped. Example:p=245__a:my title
(orp=245:my title
) should redirect toq=metadata.title:my title
. The issue is that some fields change per collection. Do we take it into account?comboDEPIN=CSPN
anddoctype=DEPIN
, redirect to https://dev-cds-rdm.web.cern.ch/uploads/new?community=sspnTechnical details
We don't want to expose a
/legacy
anywhere, therefore we can't respond with aRedirect /legacy
from current CDS.For the migrated collection:
update CDS webserver to redirect migrated paths
/<path>
torepository.cern/<path>
. For example,/collection/SSPN
torepository.cern/collection/SSPN
in new CDS webserver, we should add an internal rewrite/redirection/rule in the main
location
similar to:when the host is not
repository.cern
AND
the URL path matches one of the migrated paths (e.g. /collection, /files, /record)
THEN
add an internal rewrite to
/legacy/<path>
OTHERWISE
the request should go to the
/
(maybe a valid URL for InvenioRDM.The text was updated successfully, but these errors were encountered: