Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
update syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Sonnek committed Apr 21, 2011
1 parent 693cd42 commit 5a45d79
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -10,6 +10,7 @@ end

results = Blog.search 'foo'
```

## Features

* fast. fast! FAST! 30% faster than rubberband on average.
Expand All @@ -18,14 +19,14 @@ results = Blog.search 'foo'
* integrates with will_paginate library for easy pagination of search results

## Installation
Bundler Gemfile
```ruby
# Bundler Gemfile
gem 'elastic_searchable'
```

## Configuration
config/initializers/elastic_searchable.rb
```ruby
# config/initializers/elastic_searchable.rb
# (optional) customize elasticsearch host
# default is localhost:9200
ElasticSearchable.base_uri = 'server:9200'
Expand Down

0 comments on commit 5a45d79

Please sign in to comment.