Kathy Lussier, MassLNC Coordinator
klussier@masslnc.org
2015 Evergreen International Conference
5/15/2015
You don't need to use MODS for your indexes. Using the marcxml format, all of our identifier indexes are based on MARC tags, subfields and/or indicators.
To see how the title is indexed for record 3183740, run the following SQL:
SELECT * FROM metabib.title_field_entry WHERE source = 3183740
The world of the Hunger Games The world of the Hunger Games The world of the Hunger Games Hunger Games Egan, Kate. creator text eng print 192 p. : col. ill. ; 21 cm. A companion guide to Panem, the world in the "Hunger Games," as portrayed in the motion picture based on the novel by Suzanne Collins. Welcome to Panem -- Life in the Districts -- Life in District 12 -- People of District 12 -- Katniss Everdeen -- At home with Katniss Everdeen -- Reaping Day -- Life in the capitol -- People of the capitol -- Tributes in the capitol -- Training for the Hunger Games -- Creatures of Panem -- Perils of the Hunger Games: the Cornucopia ; Fear ; Injuries ; Alliances ; Defiance ; Rule changes ; Love ; Lies ; Last move -- The game of Love -- After the games -- The Hunger Games glossary. adolescent by Kate Egan. Hunger games (Motion picture) Hunger games (Motion picture) Juvenile literature Hunger games (Motion picture) Hunger games (Motion picture) PN1997.2.H865 E345 2012 791.43/72 Hunger Games Collins, Suzanne. 9780545425124 (trade) 0545425123 (trade) 2011945839
INSERT INTO config.metabib_field (field_class, name, label, xpath, format) VALUES (
'keyword',
'kw_isbn',
'Keyword ISBN',
$$//marcxml:datafield[@tag="020"]/marc:subfield[@code='a' or @code='z']$$,
'marcxml'
);
We want to map out new ISBN index to the ISBN10-to-ISBN13 (and vice versa) normalizer, which has an ID of 12.
Assuming the ID of our new keyword ISBN index is 1001, we would use the following SQL to map it:
INSERT INTO config.metabib_field_index_norm_map (field, norm, pos) VALUES
(1001, 12, 2);
020a and 020z - keyword class. When mapped correctly, provides 10/13 ISBN conversion in keyword searching
028a Music number - identifier class
086 Gov Doc number -identifier class
222a Key Title - title class
260b Publisher - keyword class
245c Statement of responsibility - keyword class
505t Contents title - title class
505r Contents author -author class
740 ind2 Title analytic - title class
It adds new metabib entries for all of your records, even if they don't contain 880 fields.
opensrf.xml
Weight is a field in config.metabib_field
Because the keyword index is one big blob, we need to add indexes with a keyword class if we want some MARC fields to be weightier than others in keyword searching.