VertNet / dwc-indexer

Google App Engine project for indexing DwC text files into Search API Documents
GNU Lesser General Public License v3.0
0 stars 1 forks source link

Add a new index field for portal.vertnet.org URL to specimen detail page #29

Closed mkoo closed 9 years ago

mkoo commented 9 years ago

Notes: parse keyname to the URL

tucotuco commented 9 years ago

Added the dc:references field to the harvest and the index. This is the field that is meant to contain a linkback to a detail record. For those who do not provide their own at the source, this is is currently provided in the migrators. If the data are not migrated and there is no references field, or it is empty, the indexer will provide it based on the patterm

reference = 'http://portal.vertnet.org/o/%s/%s?id=%s' % (icode_slug, coll_id, occ_id)