Skip to content

Commit 1755360

Browse files
committed
Update readme.
1 parent 2e117b0 commit 1755360

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This package makes it easy to use native PostgreSQL Full Text Search capabilitie
1212
- [Installation](#installation)
1313
- [Configuration](#configuration)
1414
- [Configuring PostgreSQL](#configuring-postgresql)
15-
- [Prepare the schema](#prepare-the-schema)
15+
- [Prepare the Schema](#prepare-the-schema)
1616
- [Configuring Searchable Data](#configuring-searchable-data)
1717
- [Configuring the Model](#configuring-the-model)
1818
- [Usage](#usage)
@@ -27,6 +27,12 @@ This package makes it easy to use native PostgreSQL Full Text Search capabilitie
2727

2828
You can install the package via composer:
2929

30+
**For scout 1.x**
31+
``` bash
32+
composer require pmatseykanets/laravel-scout-postgres:0.2.1
33+
```
34+
35+
**For scout 2.x**
3036
``` bash
3137
composer require pmatseykanets/laravel-scout-postgres
3238
```
@@ -69,7 +75,7 @@ SHOW default_text_search_config;
6975

7076
```
7177

72-
### Prepare the schema
78+
### Prepare the Schema
7379

7480
By default the engine expects that parsed documents (model data) are stored in the same table as the Model in a column `searchable` of type `tsvector`. You'd need to create this column and an index in your schema. You can choose between `GIN` and `GiST` indexes in PostgreSQL.
7581

0 commit comments

Comments
 (0)