Skip to content
This repository has been archived by the owner on Jul 31, 2018. It is now read-only.

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
maxiloc committed Nov 7, 2016
1 parent 90ba259 commit f84c903
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,19 @@ To reindex all your records (in place, without deleting out-dated records):
Contact::reindex(false);
```

To set settings during the reindexing process:

```php
Contact::reindex(true, true);
```

To keep settings that you set on the Algolia dashboard when reindexing and setting settings:

```php
Contact::reindex(true, true, true);
```


### Clearing an Index

To clear an index, use the `clearIndices` class method:
Expand Down

0 comments on commit f84c903

Please sign in to comment.