From: Till K. <kin...@gm...> - 2010-11-26 13:55:47
|
Hi, I am on a train at the mment and have no access to code, so I can give you just some hints where to look for help. VuFind uses the open source solrmarc indexing software for importing MARC records. The general configuration of import properties files (which are called marc.properties and marc_local.properties in VuFind, the latter overwriting settings in the first one for easy local customization) is described on http://code.google.com/p/solrmarc/wiki/IndexProperties On http://code.google.com/p/solrmarc/wiki/CustomIndexingRoutines you find the documentation for the custom indexing routines like getAllSubfields. Looking at that page, I guess getAllAlphaSubfields might do what you want. Or try getAllSubfields(600[a-z],...). if that doesn't work, ask again, we can check the solrmarc sources then... And I am not sure, what version of solrmarc we currently ship with VuFind. We might do an upgrade, if these routines don't work s expected/documented... Btw: don't tell a librarian you find the entries in these 600 $0 and $2 subfields strange :-) Till Am 26.11.2010 um 14:29 schrieb Thomas Schwaerzler <tho...@ui...>: > hi, > > i am trying to change the standard marc import configuration by changing > marc.properties: > > in the standard configuration i found the line: > > topic = custom, getAllSubfields(600:610:630:650, " ") > > > for topic. that's all ok for me, but in the field 600 of my marc data > there are strange entries in the subfield 0 and 2 which i would like to > exclude. > > example for a 600 field: > > 600 1 7 |a Goethe, Johann Wolfgang von |0 ()4021455-2 |2 swd > > > my first attempt to do so was something like: > > topic = custom, > getAllSubfields(600abcdefghijklmnopqrstuvwxyz:610:630:650, " ") > > > which seemed not to lead to the desired result. > after searching a bit, i could not really find documentation on the > method/function getAllSubfields(), so i just was guessing about this. > > i was also looking for a detailed documentation on marc.properties > syntax to define topics in a different way, but i was not successful > until now. > > > > > Thomas Schwaerzler > DEA Innsbruck > Department for Digitisation and Digital Preservation > University Innsbruck Library > 6020 Innsbruck - Innrain 52 - Austria > Phone: ++43-(0)512-507-2489 > Fax: ++43-(0)512-507-9842 > sip: sip:tho...@ek... > Email: <Tho...@ui...> > URL: http://www2.uibk.ac.at/ub/dea/ > > > > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general |