Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

runes

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

runes

  • 0.1.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Runes

Runes is a Railtie to index your models using the modern Elasticsearch as backend, which have possibilities ranging from a simple single-node index manipulation to a highly populated cluster.

Elasticsearch

Elasticsearch is a powerful easy-to-use search engine built on top of Apache Lucene. It aims to solve many problems found when search is needed providing an amazing RESTful interface and complete ability to scale using a innovative distributed architecture. For more information check their website.

Getting started

First of all, this plugin was designed using the new Railtie architecture, so it's only supported by Rails 3. If you are new to elasticsearch I encourage you to install it using their installation guide.

Install the latest gem in the conventional manner:

gem install runes

Specify the models you want to index:

class Cake < ActiveRecord::Base
  acts_as_indexable
end

After you have installed Runes and specified the models just fire your Rails app. Voila! You are able to index and search.

Cake.create!(:name => "chocolate", :category => "fatty")
Cake.search("chocolate")

Author

Stephano Zanzin :: me@zan.st :: zanst @ Freenode

NOTICE

Work in progress, if you are not a code diver I recommend wait for a tag.

FAQs

Package last updated on 09 Jun 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc