[Blacklight-development] more little importer tricks
Matt Mitchell
goodieboy at gmail.com
Thu May 1 14:58:54 EDT 2008
Yeah I'd do what Jason suggested. I wonder if the script didn't execute a
commit. You should still be able to see some kind of indicator in the solr
admin:
http://localhost:8983/solr/admin/stats.jsp
Matt
On Thu, May 1, 2008 at 2:40 PM, Jason Ronallo <jronallo at gmail.com> wrote:
> Jonathan,
> 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.
>
> Jason
>
> 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
> > 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
> >
> > _______________________________________________
> > Blacklight-development mailing list
> > Blacklight-development at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/blacklight-development
> >
> _______________________________________________
> Blacklight-development mailing list
> Blacklight-development at rubyforge.org
> http://rubyforge.org/mailman/listinfo/blacklight-development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/blacklight-development/attachments/20080501/ffa78dff/attachment.html>
More information about the Blacklight-development
mailing list