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" } } } ----