From edcbc05d552e2589709b118930f20d58b58a072a Mon Sep 17 00:00:00 2001 From: Eugene Gritsina <43512875+EugeneGritsina@users.noreply.github.com> Date: Fri, 10 May 2024 13:31:18 +0200 Subject: [PATCH] fix: object initializer syntax (NEST) --- docs/search/request/source-filtering-usage.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/search/request/source-filtering-usage.asciidoc b/docs/search/request/source-filtering-usage.asciidoc index 6ae012f9f98..79d4df9bd45 100644 --- a/docs/search/request/source-filtering-usage.asciidoc +++ b/docs/search/request/source-filtering-usage.asciidoc @@ -49,7 +49,7 @@ new SearchRequest Source = new SourceFilter { Includes = "*", - Excludes = Fields(p => p.Description) + Excludes = new Field[] { "Description" } } } ----