A Better Advanced Search
- Naomi Dushay, Stanford University, firstname.lastname@example.org
- Jessie Keck, Stanford University, email@example.com
Code4Lib 2010 - Wednesday, February 24 - 13:00-13:20
Even though we'd love to get basic searches working so well that advanced search wouldn't be necessary, there will always be a small set of users that want it, and there will always be some library searching needs that basic searching can't serve. Our user interface designer was dissatisfied with many aspects of advanced search as currently available in most library discovery software; the form she designed was excellent but challenging to implement. See http://searchworks.stanford.edu/advanced We'll share details of how we implemented Advanced Search in Blacklight:
- non-techie designed html form for the user
- boolean syntax while using Solr dismax magic (dismax does not speak Boolean)
- checkbox facets (multiple facet value selection)
- fielded searching while using Solr dismax magic (dismax allows complex weighting formulae across multiple author/title/subject/... fields, but does not allow "fielded" searching in the way lucene does) - easily configured in solrconfig.xml
- manipulating user entered queries before sending them to Solr
- making advanced search results look like other search results: breadcrumbs, selectable facets, and other fun.
I'm sure slides will be made available on the code4lib site, but in the meantime, you can see them at http://www.stanford.edu/people/~ndushay/code4lib2010/advanced_search.pdf
The document explaining the specifics of the Solr queries is http://www.stanford.edu/people/~ndushay/code4lib2010/advSearchSolrQueries.pdf
Stanford's SearchWorks Solr configuration files:
- conf/schema.xml http://www.stanford.edu/people/~ndushay/code4lib2010/stanford/schema.xml
- conf/solrconfig.xml http://www.stanford.edu/people/~ndushay/code4lib2010/stanford/solrconfig.xml
- solrmarc sw_index.properties (note there is custom code used not yet checked into StanfordBlacklight example in SolrMarc project) http://www.stanford.edu/people/~ndushay/code4lib2010/stanford/sw_index.properties
- if you want more information about our Solr index or our Marc -> Solr code, please send me an email.
Naomi says: "Jessie and I are working on getting a version of this into ProjectBlacklight, but we're not quite there yet."