Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Elasticsearch on Rails

Elasticsearch on Rails

Andrew Nesbitt

April 16, 2015
Tweet

More Decks by Andrew Nesbitt

Other Decks in Programming

Transcript

  1. Distributed full text search Based on Lucene RESTful web interface

    JSON NoSQL document store Scalable multi-tenancy What is Elasticsearch?
  2. Web Application Framework Model View Controller Active Record ORM Convention

    over Configuration Extracted from Basecamp What is Ruby on Rails?
  3. Full Text Search Sorting Filtering Faceting Pagination What can we

    do with it? Boosting Stemming Highlighting Document storage Analytics
  4. ActiveRecord and Mongoid integration ActiveRecord::Relation-based Search Kaminari and WillPaginate pagination

    Model Serialization to JSON Automatic indexing updating callbacks elasticsearch-model
  5. Rake tasks for importing data to ES ActiveSupport Instrumentation Example

    application Templates generation elasticsearch-rails
  6. Use elasticsearch as a NoSQL database to store and retrieve

    documents using an ActiveModel interface. elasticsearch-persistence
  7. "If I have seen further it is by standing on

    the shoulders of giants” Sir Isaac Newton
  8. Popular? Active? License? Documented? Contributor friendly? Follows SemVer? High bus

    factor? Is it dependable? How do you know if a library is worth using?
  9. It works by counting the number and quality of links

    to a page to determine a rough estimate of how important the website is. ! The underlying assumption is that more important websites are likely to receive more links from other websites.
  10. It works by counting the number and quality of dependencies

    to a library to determine a rough estimate of how important the library is. ! The underlying assumption is that more dependable libraries are likely to be more dependent on by other libraries.