The location and call number information typically come from the ILS driver rather than from the index.  However, if you imported data using XSL, I’m guessing that it’s not from a traditional ILS.  What sort of data are you loading?


In any case, there are existing index fields for call numbers.  If you just want to store a call number in a place where it will be displayed on the results list, use “callnumber-a”; there are several different callnumber-related fields, and it may be a bit complicated to populate all of them correctly… but callnumber-a should work as a bare minimum, and feel free to ask me if you need more information on the other fields.


Perhaps you can use the building or library field of the index to store appropriate location information, but to get this to display, you’ll need to do some customization.  I would recommend building a record driver for your XSL-imported records that extends IndexRecord and overrides getSearchResult() to specify a custom template that incorporates location information.  For some details on building record drivers, see:


I’ll be happy to provide more details if you need them!


- Demian


From: mitra narayan []
Sent: Monday, September 26, 2011 9:50 AM
Subject: [VuFind-General] very basic question




After installing vufind 2.0  I tried importing a sample file using import-xsl.php. The import was successfull but I am not able to display details like location and call number on the search result page. Can some one please give some some guidance as to how these details can be displayed and  where the mapping should be done or direct me to some page where I can find these details.


Thanks in advance,