[Blacklight-development] Blacklight-development Digest, Vol 4, Issue 4

Robert Haschart rh9ec at virginia.edu
Mon May 5 12:14:08 EDT 2008


Jonathon,

Regarding the error you are seeing in indexing the 1000 record sample:  
Marc4j (as distributed) is not a very forgiving MARC record reader.  If 
it encounters a structural flaw in a record when it is read it in, it 
throws an exception.  If you attempt to have it continue from that 
point, it will start reading from the point the error occurred, assuming 
that a new record begins there.  At which point it will fail horrendously. 

Over the past few days I have been looking at how it reads records, and 
have modified the marc4j library slightly so that if it encounters an 
error in reading one record, it can skip over that record and continue 
reading at the start of the next record.   I will be checking in the 
modified library in the next day or so. 

Additionally, Bess has requested that I make myself available Thursday 
to help you work through any problems you are having with the blacklight 
importer.

    -Robert Haschart






More information about the Blacklight-development mailing list