[openbiblio-dev] Solr Search and Bibligraphica.org NQuads

Ben O'Steen bosteen at gmail.com
Mon May 16 11:22:29 UTC 2011

Big update - I have committed all the required code for the FTS Solr
search code to the openbiblio repository and made this the default
search in the URL routing.

The index is built and I've been keeping Friedrich(cc'd) up to date with
what I've been doing there (hopefully not disrupted you too much!) As I
write, it is optimising its index and the core should be responsive
quite soon.

Its the bibliographica.org core on http://solr.okfn.org/solr/  (requires

Admin/overview docs of the FTS in openbiblio:

Solr schema.xml for use is at the top-level of the repo:

I adopted the search style and paging so no-one should be shocked by the
underlying change. However, as I mention in the doc above, this HTML
output can be enhanced and extended quite easily in the template.

The search.json response is the raw json which Solr can reply with and a
limited subset of Solr search params are passed on. The parameters can
be easily extended as mentioned in the doc.

However, to get the FTS search URIs to work, you'll need the NQuads
themselves, which brings me onto:


Any ideas for how best to describe this or metadata to add to the page
will be *gratefully* received!

For deployment then:

1. Use a recent version of openbiblio.
2. python setup.py develop
3. paster make-config openbiblio development.ini
4. Edit solr params in the ini, including user/pass
  (just uncomment the bibliographica solr server example line and add
valid user/pass below it)
5. (Required for URIs to work, but optional if you just want to search)
	Load instance with NQuads from the archive.org entry.
6. Go to /search and give it a go.

(NB this can be done on any instance that can connect to solr.okfn.org
if you have the solr user/pass combo.)


More information about the openbiblio-dev mailing list