marc_error and marc.include_errors

13 views
Skip to first unread message

David Lacy

unread,
Jun 12, 2009, 2:23:13 PM6/12/09
to solrmarc-general
I have successful built the solrmarc binaries for vufind save for one
aspect. Our (bad) MARC records from the ILS sometimes contain multiple
entries for non-multiValued fields in the schema. When the importer
encounters these records the process crashes.

I've attempted to implement marc.include_errors=true in
vufind_config.properties and added the marc_error field to the schema,
but I have not yet managed to suppress these errors, build the
marc_error information, and complete a full import.

Is there another configuration that I am missing?

I'm working with r687.

-Dave

Robert Haschart

unread,
Jun 12, 2009, 5:02:07 PM6/12/09
to solrmarc...@googlegroups.com
David,

The marc.include_errors is intended to malformed marc records, but it
doesn't enforce any repeatable/non-repeatable restrictions on the Marc
record. However I agree that crashing is not a good outcome for when a
record unexpectedly contains multiple versions of a field that should be
non-repeatable. If you e-mail me some of these bad records, and your
index.properties file (if it is different from the standard VuFind index
configuration) I will make the program much less crash-y when it tries
to put multiple pegs in a single hole.

-Bob Haschart
Reply all
Reply to author
Forward
0 new messages