[OPEN-ILS-GENERAL] 2.5.2 Subject Browse Index

Mike Rylander mrylander at gmail.com
Fri Jun 6 10:23:15 EDT 2014


Don,

For the subjects, there are two ways to handle it.  The first is to
add authority records and link those to the appropriate bib records.
This will get you what you want without any further configuration, as
authority is browse-indexed the way you describe by default.

The second way involves new configuration entries and a partial
reingest, but it can certainly be done.  You'll need a new
browse-specific indexing definition to replace the one that's
piggybacking on the exiting topic index.  For the 650, something along
the lines of:

INSERT INTO config.metabib_field (name, field_class, label, format,
xpath, search_field, facet_field, browse_field, authority_xpath,
browse_xpath)
  VALUES ('browse_topic', 'subject', 'Browse Topic', 'marcxml',
'//marc:datafield[@tag="650"]', false, false, true, '//*[@code="0"]',
'//*[contains("avxyz", at code)]');
UPDATE config.metabib_field SET browse_field = false WHERE name =
'topic' AND field_class = 'subject';

All of that can also be done in the staff client through Admin ->
Server Administration -> MARC Search/Facet Fields.  After that, you'll
need to perform a browse reingest after hours.  Something like the
following will do it in one fell swoop:

SELECT metabib.reingest_metabib_field_entries(id, TRUE, FALSE, TRUE)
FROM biblio.record_entry;
DELETE FROM metabib.browse_entry WHERE id NOT IN (SELECT entry FROM
metabib.browse_entry_def_map UNION SELECT entry FROM
metabib.browse_entry_simple_heading_map);

Series is not indexed for browse by default, so I assume you mean the
series facet?  Assuming so, you could replace the MODS-based XPath for
the Series Title indexing definition with one that goes directly to
the MARC and excludes the fields you don't want.  That would be more
involved, though.  See here for the current mapping used:
http://www.loc.gov/standards/mods/v3/mods-mapping.html#relateditem

HTH,


On Fri, Jun 6, 2014 at 9:16 AM, Donald Butterworth
<don.butterworth at asburyseminary.edu> wrote:
> Colleagues,
>
> We recently upgraded to the 2.5.2 release and, as a cataloger, I was
> ecstatic to find that "Browse the Catalog" is now available. I will use this
> feature extensively when assigning author names, series, and subjects.
>
> The author and title indexes looks great, but there is one tweak in the
> subject index and one in series that I want to make.
>
> In subjects each individual subject subfield is being indexed rather than
> the whole line. For example:
>
> 650  0 Conflict management -- Religious aspects -- Christianity
>
> is being displayed in the results list as
>
> * Conflict management
> * Religious aspects
> * Christianity
>
> What do I need to do to change this?
>
> In series I don't want the subfield "v" to be included in the results list
> display. For example:
>
> Tyndale studies ; v. 1 (1)
> Tyndale studies ; v. 2 (1)
> Tyndale studies ; v. 3 (1)
>
> should display as
>
> Tyndale studies ; (3)
>
> Again, what do we need to do to change this?
>
> Thanks for you insights!
>
> Don
>
>
> --
> Don Butterworth
> Faculty Associate / Librarian III
> B.L. Fisher Library
> Asbury Theological Seminary
> don.butterworth at asburyseminary.edu
> (859) 858-2227



-- 
Mike Rylander
 | Director of Research and Development
 | Equinox Software, Inc. / Your Library's Guide to Open Source
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  miker at esilibrary.com
 | web:  http://www.esilibrary.com


More information about the Open-ils-general mailing list