Transcript
Page 1: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Solr FlairSearch User Interfaces Powered by Apache Solr

Erik Hatcher

[email protected]

http://wiki.apache.org/lucene-java/LuceneAtApacheConUs2009

Page 2: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

My candle burns at both ends;It will not last the night;

But ah, my foes, and oh, my friends--It gives a lovely light!

http://en.wikipedia.org/wiki/Edna_St._Vincent_Millay

Page 3: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

patacriticism.org

"Poets are the unacknowledged engineers of the world"- Monna Grémejc

Page 4: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Patacritical Projects

• RoSe: Rossetti Searchrossettiarchive.org

• Collex: Collect/Exhibitcollex.org

Page 5: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

serendipity

Page 6: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Rossetti Archive

http://www.rossettiarchive.org/rose/?query=%2Bpresentation+%2B%28archivetype%3Arap%29

Page 7: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

NINES on Collex

http://www.nines.org/search/saved?user=erikhatcher&name=wombat

Page 8: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

NINES tag cloud

http://www.nines.org/tags

Page 9: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Finding the Celtic on Collex

http://celtic.ibiblio.org/collex/

Page 10: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Simile Timeline

http://celtic.ibiblio.org/timeline/show

Page 11: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Geographic

http://celtic.ibiblio.org/atlas/show

Page 12: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Graphs

http://celtic.ibiblio.org/graph/show

Page 13: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Solr

DB

Data

Search Results

DocumentDocumentDocuments

Solr

• Search server, powered by Lucene

• Indexing/searching via HTTP, responses in XML, Ruby, PHP, Python, XSLT, etc

• Faceting

• Scalability: caching, replication, distributed search

• Integrates: spell checking, highlighting, more-like-this, clustering, rich document indexing, data import handling (RDBMS, and more)

Page 14: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Solr Flare

• Ruby on Rails plugin

• facet field detection, autosuggest, saved search, inverted facets, pie charts, Simile Timeline and Exhibit integration

• Useful for rapid prototyping

• See Flare's big brother, Blacklight, for production quality

Page 15: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Tang on Flare

Page 16: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

• UVA radiation = blacklight

• libraries are much more than books

• opinionated

• Ruby on Rails: best choice for an extensible user interface development framework

Page 17: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Blacklight @ UVa

Page 18: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Blacklight @ Stanford

Page 19: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Blacklight @ AgNIC

Page 20: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

AJAX-Solr

• Forked and improved from the now deprecated SolrJS

• JavaScript framework agnostic (jQuery, prototype, Dojo, etc)

• Query navigation state management and widgets

• http://github.com/evolvingweb/AJAX-Solr

• Example of SolrJS on Reuters datahttp://solrjs.solrstuff.org/

Page 21: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

SolrJS Example

Page 22: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Solritas

• celeritas: swiftness, speed (Latin), origin of the symbol "c" for the speed of light

• solritas: Velocity template rendering of Solr responses

• Useful for rapid prototyping and more

Page 23: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Lucene in Action on Solritas

coming soon: lucenebook.com

Page 24: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

LucidFind

http://www.lucidimagination.com/search/?q=user+interface

Page 25: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Food for thought

• The interface is the application

• URLs are UI too!

• Facets aren't just for lists (with counts)

• be creative: clouds, maps, graphs, etc...

• entice users to forage and browse, facilitate serendipitous discovery

Page 26: Solr Flair: Search User Interfaces Powered by Apache Solr (ApacheCon US 2009, Lucene Meetup)

Top Related