From 4ffa06d77340672c49eecf419b2335ef82bdca31 Mon Sep 17 00:00:00 2001 From: David Pilato Date: Mon, 23 Feb 2015 11:06:33 +0100 Subject: [PATCH] [Doc] highlighting example is incorrect Closes #107. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2d2a80f9de0..6fcd9c63b89 100644 --- a/README.md +++ b/README.md @@ -299,12 +299,12 @@ GET /test/person/_search "fields": [], "query": { "match": { - "file.file": "king queen" + "file": "king queen" } }, "highlight": { "fields": { - "file.file": { + "file": { } } } @@ -332,7 +332,7 @@ It gives back: "_id": "1", "_score": 0.13561106, "highlight": { - "file.file": [ + "file": [ "\"God Save the Queen\" (alternatively \"God Save the King\"\n" ] }