[Blacklight-development] more little importer tricks

Jonathan Rochkind rochkind at jhu.edu
Thu May 1 14:32:50 EDT 2008


1. On unix, you've got to re-save index_file.sh with unix line endings 
(or at least the first line), so it will find the interpreter properly 
instead of saying:

-bash: ./index_file.sh: /bin/sh^M: bad interpreter: No such file or 
directory

2. The sample file name given in GettingStarted.txt is not quite right. NOT:
./index_file.sh sample_records/selected_recs.mrc importSamples.properties
BUT INSTEAD:
./index_file.sh sample_records/selectedRecs.mrc importSamples.properties

With that, it SAYS it indexed the files---but they don't seem to 
actually show up in my blacklight installation. I pointed solr.path in 
importSamples.properties at the solr that's embedded with blacklight, 
that's right, right? Hmm, how do I confirm that these 8 records actually 
ARE in blacklight?  Blacklight used to show ALL records as it's default 
screen, but I don't think it does anymore--nor is it showing ANY facets 
on the home page, like it used to. Does this mean that I for some reason 
haven't in fact succesfully imported the records?

Thanks all.

Jonathan

-- 
Jonathan Rochkind
Digital Services Software Engineer
The Sheridan Libraries
Johns Hopkins University
410.516.8886 
rochkind (at) jhu.edu



More information about the Blacklight-development mailing list