From e28421411896876cf4c3050711cb63e01bf6dc76 Mon Sep 17 00:00:00 2001 From: Siiruo-Wong Date: Tue, 10 Apr 2018 15:48:56 +0800 Subject: [PATCH] Update 33_Nested_sorting.asciidoc A 'nested_path' property is needed to add into 'nested_filter'. --- 402_Nested/33_Nested_sorting.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/402_Nested/33_Nested_sorting.asciidoc b/402_Nested/33_Nested_sorting.asciidoc index 37adb15e0..dbd9e8604 100644 --- a/402_Nested/33_Nested_sorting.asciidoc +++ b/402_Nested/33_Nested_sorting.asciidoc @@ -62,7 +62,8 @@ GET /_search "gte": "2014-10-01", "lt": "2014-11-01" } - } + }, + "nested_path":"comments" } } }