[Blacklight-development] more little importer tricks
jronallo at gmail.com
Thu May 1 14:40:32 EDT 2008
Have you started up solr?
>From within the trunk/rails directory you can run: rake solr_int:start
to start solr + jetty
Then you can go to http://localhost:8983/solr/admin (I think that's
the correct port)
do the query: [* TO *]
and see what your results are.
At least that's what I'd try.
On Thu, May 1, 2008 at 2:32 PM, Jonathan Rochkind <rochkind at jhu.edu> wrote:
> 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
> 2. The sample file name given in GettingStarted.txt is not quite right.
> ./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 Rochkind
> Digital Services Software Engineer
> The Sheridan Libraries
> Johns Hopkins University
> 410.516.8886 rochkind (at) jhu.edu
> Blacklight-development mailing list
> Blacklight-development at rubyforge.org
More information about the Blacklight-development