Download - Solr Flair: Search User Interfaces Powered by Apache Solr

Transcript
Page 1: Solr Flair: Search User Interfaces Powered by Apache Solr

Solr FlairSearch User Interfaces Powered by Apache Solr

Erik Hatcher

[email protected]

1

Page 2: Solr Flair: Search User Interfaces Powered by Apache Solr

patacriticism.org

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

2

Page 3: Solr Flair: Search User Interfaces Powered by Apache Solr

Patacritical Projects

• RoSe: Rossetti Searchrossettiarchive.org

• Collex: Collect/Exhibitcollex.org

3

Page 4: Solr Flair: Search User Interfaces Powered by Apache Solr

serendipity

4

Page 5: Solr Flair: Search User Interfaces Powered by Apache Solr

Rossetti Archive

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

5

Page 6: Solr Flair: Search User Interfaces Powered by Apache Solr

NINES on Collex

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

6

Page 7: Solr Flair: Search User Interfaces Powered by Apache Solr

NINES tag cloud

http://www.nines.org/tags

7

Page 8: Solr Flair: Search User Interfaces Powered by Apache Solr

Finding the Celtic on Collex

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

Page 9: Solr Flair: Search User Interfaces Powered by Apache Solr

Simile Timeline

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

Page 10: Solr Flair: Search User Interfaces Powered by Apache Solr

Geographic

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

Page 11: Solr Flair: Search User Interfaces Powered by Apache Solr

Graphs

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

Page 12: Solr Flair: Search User Interfaces Powered by Apache Solr

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)

12

Page 13: Solr Flair: Search User Interfaces Powered by Apache Solr

Lucene

inverted index

from "Taming Text" by Grant Ingersoll and Tom Morton

analysis

13

Page 14: Solr Flair: Search User Interfaces Powered by Apache Solr

Facets

• Sets, buckets

• (Un)common / similar metadata

• Useful for making sense of large datasets: navigation, foraging, context, visualization

• By field, date ranges, or dynamic queries

14

Page 15: Solr Flair: Search User Interfaces Powered by Apache Solr

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

15

Page 16: Solr Flair: Search User Interfaces Powered by Apache Solr

Tang on Flare

16

Page 17: Solr Flair: Search User Interfaces Powered by Apache Solr

Solr Powered Library Systems

• VuFind (PHP)

• Kochief (Python)

• Blacklight (Ruby)

• and others

17

Page 18: Solr Flair: Search User Interfaces Powered by Apache Solr

• UVA radiation = blacklight

• libraries are much more than books

• opinionated

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

18

Page 19: Solr Flair: Search User Interfaces Powered by Apache Solr

Blacklight @ UVa

19

Page 20: Solr Flair: Search User Interfaces Powered by Apache Solr

Blacklight @ Stanford

20

Page 21: Solr Flair: Search User Interfaces Powered by Apache Solr

Blacklight @ AgNIC

21

Page 22: Solr Flair: Search User Interfaces Powered by Apache Solr

SolrJS

• jQuery-based interactions with Solr

• Query navigation state management and widgets

• Evolving rapidly: Drupal contributed improvements (see http://drupal.org/project/solrjs) coming soon

• Live example: http://solrjs.solrstuff.org/

22

Page 23: Solr Flair: Search User Interfaces Powered by Apache Solr

SolrJS Example

23

Page 24: Solr Flair: Search User Interfaces Powered by Apache Solr

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

24

Page 25: Solr Flair: Search User Interfaces Powered by Apache Solr

Lucene in Action on Solritas

coming soon: lucenebook.com25

Page 26: Solr Flair: Search User Interfaces Powered by Apache Solr

LucidFind

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

26

Page 27: Solr Flair: Search User Interfaces Powered by Apache Solr

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

27

Page 28: Solr Flair: Search User Interfaces Powered by Apache Solr

Shout Out

28

Page 29: Solr Flair: Search User Interfaces Powered by Apache Solr

29