Skip to content

Commit 4ffa06d

Browse files
committed
[Doc] highlighting example is incorrect
Closes elastic#107.
1 parent 6d77b08 commit 4ffa06d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,12 +299,12 @@ GET /test/person/_search
299299
"fields": [],
300300
"query": {
301301
"match": {
302-
"file.file": "king queen"
302+
"file": "king queen"
303303
}
304304
},
305305
"highlight": {
306306
"fields": {
307-
"file.file": {
307+
"file": {
308308
}
309309
}
310310
}
@@ -332,7 +332,7 @@ It gives back:
332332
"_id": "1",
333333
"_score": 0.13561106,
334334
"highlight": {
335-
"file.file": [
335+
"file": [
336336
"\"God Save the <em>Queen</em>\" (alternatively \"God Save the <em>King</em>\"\n"
337337
]
338338
}

0 commit comments

Comments
 (0)