Skip to content

Commit

Permalink
Use reindex task in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
NuckChorris committed Oct 6, 2024
1 parent bcacea4 commit a474fe9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,8 @@ Once you have defined your index, you can load data into it and update the alias
indexed data. Typesensual provides rake tasks for this purpose if you use ActiveRecord:

```console
$ bundle exec rake typesensual:load[MoviesIndex,Movie]
==> Indexing Movie into MoviesIndex (Version 1690076097)

$ bundle exec rake typesensual:update_alias[MoviesIndex,1690076097]
==> Alias for MoviesIndex
Old: None (N/A)
New: 1690076097 (2023-05-07 18:01:37)
$ bundle exec rake typesensual:reindex[MoviesIndex,Movie]
==> Reindexing Movie into MoviesIndex (Version 1690076097)
```

Otherwise you can do similar to the following:
Expand Down

0 comments on commit a474fe9

Please sign in to comment.