Socket
Book a DemoInstallSign in
Socket

mama_search

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mama_search

0.0.4
bundlerRubygems
Version published
Maintainers
1
Created
Source

Mama Search is a Rails 3 generator to install elasticsearch. It also includes Rake tasks for starting elasticsearch.

Installation

Add mama search to your Gemfile:

gem 'mama_search'

Use bundler to install it:

bundle install

Run the generator to install elasticsearch (currently version 0.14.2) in your app:

rails g mama_search:install

This installs the following directories and files:

  • elasticsearch/server/ # elasticsearch server
  • config/elasticsearch.yml # app configuration
  • config/initializers/elasticsearch.rb # elasticsearch connection object setup

Rake tasks

rake es:start

Start elasticsearch. Elasticsearch is run in the foreground and should be stopped via Ctrl+C.

Issues

  • The default elasticsearch executable makes it hard to move config files out of the project root, so configuration stays in elasticsearch/server/config for now
  • Rubberband tries to autodiscover nodes immediately. Until this is changed, the global client in the initializer should remain commented.

Credits

Mama Search is heavily inspired by Mama Cass

LICENSE

Released under the MIT License. See the LICENSE file for further details.

FAQs

Package last updated on 29 Apr 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.