%@ page session="false" %>
Century Share
Century Share
You can now omit parameters "rows", "version" and "indent". Default value for rows is set to 10 and version is 2.2.
Introduction to site
Introduction to site can contain all records with facet counts by publisher, type, decade or subject. All records are retrived by search query 'q=[*%20TO%20*]'
and facet counts by 'facet=true&facet.field=dc.type&facet.field=dc.publisher&facet.field=decade&facet.field=dc.subject&facet.mincount=1'.
Afterward you can get all records with 'British Library' as publisher by the query 'q=dc.publisher:"British Library" ',
all records with subject Transport 'q=dc.subject:Transport' and all the records with the type image 'q=dc.type:Image'.
Search Box behavior
Default search operator is now AND, which means that all search terms have to occur in the result records. E.g. search: 'London Olympic' returns records
containing both both London and Olympic. If you would like that result contains any of the search terms, you have to add operator 'OR' between the terms.
E.g. search 'London OR Olympic' will return records with either London or Olympic. Note that the operator has to be uppercase. Exact phrase search is achieved by double quotes: E.g. "London Olympic".
More like this search
'More like this search' returns similiar records. You can enable it by adding parameters 'mlt=true&mlt.fl=dc.title,dc.subject&mlt.count=2&mlt.mindf=1&mlt.mintf=1' to the search query.
Where 'mlt=true' enables more like this search, 'mlt.fl=dc.title,dc.subject' set which fields should be search for similiarity, 'mlt.count=2' designs how
many records should be returned, 'mlt.mintf=1' minimum Term Frequency - the frequency below which terms will be ignored in the source doc,
'mlt.mindf=1' minimum Document Frequency - the frequency at which words will be ignored which do not occur in at least this many docs.
In the result xml documt element <lst name="moreLikeThis" > contains the similiar records. Attribute 'name' of the 'result' element desings the id of the record.
Thumbnails
If you want to retrieve only results with thumbnails add to your query "AND thumbnail:true". Respectively when you
search for results without thumbnails "AND thumbnail:false". If you want to have facet counts of records which has or hasn't thumbnails
add to your query "&facet=true&facet.field=thumbnail".
Search temporal data
You can now search temporal data using almost any temporal expressions. Search is available on decades, years span, single year, month span, exact dates in many
different formats. The field is called 'chronological'. In case the date expression contains space, use double quotes (%22).
Examples: 1950s - 1960s, 1950s, 1960 - 1965, 1945, Sept - Oct 1960, January 1954, 23 November 1960 - 27 November 1960,
23.11.1960-27.11.1960, 1960-11-23 - 1960-11-27, 15.2.1953, 15 February 1953, 23rd Nov 1960, 27th Feb 1960, 23/11/1960,
1960-11-23.
Facets on Publisher and Type
Facet counts are turn on by parameter "facet=true" and "facet.field" specifies the field on which is the faceting done e.g "facet.field = dc.publisher".
Facets - SOLR search 'London'
Each record occurs in facet counts just once for the starting date. E.g. record with temporal information 1940-1945
will occur just for the year 1940.
Decades
Years
Month
Days
Weeks
Facets - SRU search 'London'
Decades
Years
Month
Days
Weeks
Search
Edit
SOLR search examples
SRU
Standard Links