Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

Commit

Permalink
Rename Index into Indexes in README (#38)
Browse files Browse the repository at this point in the history
* Rename Index into Indexes in README

* Update compatibilities
  • Loading branch information
curquiza authored Aug 17, 2020
1 parent 6d7716d commit 27e6a24
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class BookController extends Controller
{
public function customSearch()
{
Book::search('prince', function (Index $meilisearch, $query, $options) {
Book::search('prince', function (Indexes $meilisearch, $query, $options) {
$options['filters'] = 'author="Antoine de Saint-Exupéry"';

return $meilisearch->search($query, $options);
Expand Down Expand Up @@ -193,8 +193,6 @@ class BookController extends Controller

This package is compatible with the following MeiliSearch versions:
- `v0.13.X`
- `v0.12.X`
- `v0.11.X`

## Additional notes

Expand Down

0 comments on commit 27e6a24

Please sign in to comment.