Skip to content

Commit ff82ba9

Browse files
committed
docs: update docs to reflect changes
1 parent 3282c87 commit ff82ba9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Add the ``Indexable`` trait to the model you want to have indexed and define the
2727
#### Example
2828

2929
```php
30-
class Country extends Model
30+
class Country extends Model implements \Swis\Laravel\Fulltext\Contracts\Indexable
3131
{
3232

3333
use \Swis\Laravel\Fulltext\Concerns\HasIndexation;
@@ -82,6 +82,10 @@ Choose the database connection to use, defaults to the default database connecti
8282

8383
Results on ``title`` or ``content`` are weighted in the results. Search result score is multiplied by the weight in this config.
8484

85+
### limit_results
86+
87+
Limit the amount of results returned after searching. Use `0` for no limit.
88+
8589
### enable_wildcards
8690

8791
Enable wildcard after words. So when searching for example ``car`` it will also match ``carbon``.

0 commit comments

Comments
 (0)