Solr-ruby: the best open source search engine + ruby

1,338 views

Published on

the best open source search engine + ruby

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
1,338
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
5
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Solr-ruby: the best open source search engine + ruby

  1. 1. -rubythe best open source search engine + ruby rubyconf 2007 Presented by: Erik Hatcher
  2. 2. Solr• Search server• Enterprise scale (100M+ documents), very fast• Open source: Apache Software License• Java webapp, built on Lucene• Features: caching, replication, faceting, highlighting, spell checking, admin interface, more...• Very active community, evolving continuously
  3. 3. Solr Powered• CNET• Internet Archive• Netflix• Smithsonian• digg• AOL: sports and music channels• more every day...
  4. 4. Lucene• Java search engine library• Created by Doug Cutting, renowned search engine expert• Powers Technorati, IBM OmniFind Yahoo Edition, JIRA, Krugle, Nabble, Simpy, jGuru, Monster, Wikipedia, and many many more
  5. 5. Lucene• Index Structure • Documents • Fields • Terms• Relevance:
  6. 6. Solr 101: add/updatePOST /solr/update
  7. 7. Solr 101: searchingGET /solr/select?q=ipod+AND+video&indent=on
  8. 8. Solr 101: searchingGET /solr/select?q=ipod+AND+video&indent=on&wt=ruby
  9. 9. solr-ruby• Ruby DSL• HTTP communication to Solr
  10. 10. solr-ruby powered• acts_as_solr• Flare • Blacklight• Collex• ... your app!?
  11. 11. Mapper• Quack: #each• Moo: #[]
  12. 12. acts_as_solr
  13. 13. acts_as_solr_“lite”
  14. 14. Flare• Expose Solr through a Rails-based UI• Constraint management• Facet visualization• Ajax suggest• SIMILE integration: Timeline and Exhibit• Status: nice for demos; needs work
  15. 15. “ruby” on “rails”
  16. 16. Future• Solr introspection • schema/config savvy • Support upcoming query components• Fold in acts_as_solr• Custom Solr response writer for full data type compatibility • dates, ordered Hash
  17. 17. Help!• DSL/API guidance• ActiveRecord integration• Documentation • Currently lame, I know. Sorry!• Apache is new to Ruby • gem server?• Flare design
  18. 18. Coming soon...• Contributed: solr-ruby, acts_as_solr, and Flare recipes
  19. 19. Contact Info• erik@ehatchersolutions.com• Blog: http://code4lib.org/erikhatcher

×