Commit e42301c6a97cfb62140e6b80f6dba35804337122

Authored by Andrew Kane
1 parent eb56fa14

Added clean_indices method to readme

Showing 1 changed file with 6 additions and 0 deletions   Show diff stats
@@ -335,6 +335,12 @@ product = Product.find 10 @@ -335,6 +335,12 @@ product = Product.find 10
335 product.reindex 335 product.reindex
336 ``` 336 ```
337 337
  338 +Remove old indices
  339 +
  340 +```ruby
  341 +Product.clean_indices
  342 +```
  343 +
338 Use a different index name 344 Use a different index name
339 345
340 ```ruby 346 ```ruby