From a939c27daf7e0c37669f41bd93d75824e21b8e02 Mon Sep 17 00:00:00 2001 From: Adeel Mujahid Date: Wed, 29 Jul 2020 19:59:11 +0300 Subject: [PATCH] Improve readme example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 637af58..1eecac5 100644 --- a/README.md +++ b/README.md @@ -34,13 +34,13 @@ var index = await Index.Build(async builder => Then searching is as simple as: ```csharp -await foreach (Result result in idx.Search("love")) +await foreach (Result result in index.Search("love")) { // do something with that result } ``` -This returns a list of matching documents with a score of how closely they match the search query as well as any associated metadata about the match: +This returns a list of matching documents with a [score](https://lunrjs.com/guides/searching.html#scoring) of how closely they match, the search query as well as any associated metadata about the match: ```csharp new List