#130: Allow IRN search without SPIRES- prefix
-----------------------+----------------------------------------------------
Reporter: jblayloc | Owner: jblayloc
Type: defect | Status: new
Priority: major | Milestone:
Component: WebSearch | Version:
Keywords: |
-----------------------+----------------------------------------------------
moved from https://savannah.cern.ch/task/index.php?13980
2010-02-16 20:18, original submission:
should be able to find records by SPIRES irn
these are stored in 970a (I believe) but need to strip leading "SPIRES-"
to allow:
find irn 9170
to work
2010-06-03 22:03, comment #1:
Is it desirable to keep the SPIRES- on the IRN's stored in INSPIRE? If so,
then the correct strategy appears to be:
* In search_engine_query_parser, translate irn keyword to 970a:
* prefix object portion with SPIRES- (if it's not there already)
If not, then the correct strategy appears to be:
* In search_engine_query_parser, translate irn keyword to 970a:
* Run a bit of SQL that strips the SPIRES- from what's in the database
* Stop the dumps from SPIRES from adding SPIRES- to the front of the
IRNs.
2010-06-04 01:05, comment #2:
Tibor, please add my commit 3d4a178df from my Invenio branch
'20100603.1700'. It should add this.
--
Ticket URL: <http://cdswaredev.cern.ch/invenio/ticket/130>
Invenio <http://invenio-software.org>