Skip to content

Commit

Permalink
docs: update docs to reflect changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocksheep committed Nov 15, 2024
1 parent 3282c87 commit ff82ba9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Add the ``Indexable`` trait to the model you want to have indexed and define the
#### Example

```php
class Country extends Model
class Country extends Model implements \Swis\Laravel\Fulltext\Contracts\Indexable
{

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

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

### limit_results

Limit the amount of results returned after searching. Use `0` for no limit.

### enable_wildcards

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

0 comments on commit ff82ba9

Please sign in to comment.