Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Clarify description of search rules #194

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ return [
];
```

This means that by default when you call `search` method on a model it tries to find the query string in any field.
This means that by default when you call `search` method on a model it must match the query string in one or more indexed fields in order to retrieve results. Here you can also set `should` match directives for ranking, etc.

To determine default search rules for a model just add a property:

Expand Down