Yes, you’re exactly right – add a field to the Solr index (or use a dynamic field name, if your schema supports it – can’t remember if that was added before or after 1.3) and push the UPC in there, and then you’ll have access to the value in the fields array of the record driver.

 

- Demian

 

From: Stephen Hovey [mailto:hoveys@buffalolib.org]
Sent: Wednesday, August 14, 2013 7:05 AM
To: 'vufind-general'
Subject: [VuFind-General] How would I make 'upc' available as one of the fields in RecordDrivers/IndexRecord.php

 

Version 1.3..

 

I discovered that when Syndetics fails to provide an image based on isbn, it may on upc – but that isn’t available in the above php file save for the fullrecord field.

 

Is it a matter of indexing on it in solr? Is it index fields it is returning in the $fields associative array?

 


The Buffalo & Erie County Public Library System has more than 2.6 million materials available for borrowing including books, eBooks, DVDs, music and more. Free library card applications can be downloaded and taken to any of the 37- local public libraries for processing. A valid form of identification and proof of address is necessary. For more information call 716-858-8900 or visit www.BuffaloLib.org .