Permalink
Browse files

update README.md

  • Loading branch information...
1 parent 1fd4ebf commit c54e658d9ad25abfe4a6e9d59fb268be22ec10b5 tumayun committed Apr 24, 2014
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
View
@@ -135,27 +135,27 @@ And there is an [Example App](https://github.com/huacnlee/redis-search-example)
Redis-Search index data to Redis from your model (pass name as CLASS environment variable).
```bash
-$ rake environment redis_search:index:model CLASS='MyModel'
+$ rake redis_search:index:model CLASS='MyModel'
```
Customize the batch size:
```bash
-$ rake environment redis_search:index:model CLASS='MyModel' BATCH=100
+$ rake redis_search:index:model CLASS='MyModel' BATCH=100
```
### All Models
Redis-Search all index data to Redis from `app/models` (or use DIR environment variabl).
```bash
-$ rake environment redis_search:index DIR=app/models
+$ rake redis_search:index DIR=app/models
```
Customize the batch size:
```bash
-$ rake environment redis_search:index DIR=app/models BATCH=100
+$ rake redis_search:index DIR=app/models BATCH=100
```
## Documentation

0 comments on commit c54e658

Please sign in to comment.