Search

This page will allow you to search the Solr index by specifying keywords. In the meantime, data is available directly from the Solr REST interface. This will be documented shortly!

Data has been updated!

07/12/12 The metadata has been reloaded, with significant improvements:

The interface to Solr has also been improved with the following features: Please see the About page for details of the datasets currently available.

10/12/12

Please note changes

Accessing Solr using HTTP

The aggregated data in Will's World are stored in two separate Solr cores, one for metadata about objects and records, and the other for metadata describing services that relate to William Shakespeare. There will eventually be a manual search interface for public use, but for the purposes of the hack you should be able to extract the data you need more easily using HTTP, as described in the Solr querying tutorial and in the sample queries given below. There are also some helpful searching parameters described at Solr common query parameters that you can try, if you want to control which results are returned and how they are ordered.

Sample searches

You can access the Solr databases at the base URLs http://willsworld.edina.ac.uk/solr/metadata/select and http://willsworld.edina.ac.uk/solr/services/select. To perform a query, append to these URLs a question mark followed by the query parameters. Examples are given below.

Metadata

Search all textual fields for the string "Macbeth"
http://willsworld.edina.ac.uk/solr/metadata/select?q=*Macbeth*
To limit the search to a particular field, define the default field with df:
Search for the exact value "Macbeth" in titles
http://willsworld.edina.ac.uk/solr/metadata/select?q=Macbeth&df=dc.title
To return 100 resul;ts instead of the default of 10, add a rows parameter:
Search for "Macbeth" and return 100 records
http://willsworld.edina.ac.uk/solr/metadata/select?q=Macbeth&rows=100
To search for records of a particular type, search on the dc.type field using a term from the DCMI:Types:
Records of type "Text"
http://willsworld.edina.ac.uk/solr/metadata/select?q=Text&df=dc.type
http://willsworld.edina.ac.uk/solr/metadata/select?q=dc.type:Text
To facet on particular field (faceting scores can be found at the end of the result XML):
All metadata records faceted by type
http://willsworld.edina.ac.uk/solr/metadata/select?q=*&facet.field=dc.type

Services

To facet services on type:
All service records faceted by type
http://willsworld.edina.ac.uk/solr/services/select?q=*&facet.field=dc.type
All services providing images
http://willsworld.edina.ac.uk/solr/services/select?q=dc.type:Images

Search tips

Add &rows=N to get the search to return N rows of results.
Add asterisks (wildcards) around a term in order to search for it anywhere in the content of a field.
Look at the Metadata Schema which describes the fields that can be searched in the metadata core, and the type of data they contain.
Look at the Services Schema which describes the fields that can be searched in the services core, and the type of data they contain.
To see how many of the resulting records are of each type, facet on the dc.type field. The fields that can be faceted are: dc.type, ww.credit, dc.creator, dc.contributor, dc.publisher