From eace65a92cb570fb7e5c5c82dd82d4c38ee997b1 Mon Sep 17 00:00:00 2001 From: paperscissors Date: Tue, 26 Feb 2019 13:48:47 -0800 Subject: [PATCH] Clarify description of search rules --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dbab4df..39c1240 100644 --- a/README.md +++ b/README.md @@ -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: