diff --git a/.paket/Paket.Restore.targets b/.paket/Paket.Restore.targets index 6be03acb32f..305e736c45c 100644 --- a/.paket/Paket.Restore.targets +++ b/.paket/Paket.Restore.targets @@ -144,11 +144,12 @@ $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[0]) $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[1]) $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[4]) + $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[5]) %(PaketReferencesFileLinesInfo.PackageVersion) All - runtime + runtime true diff --git a/build/scripts/Commandline.fsx b/build/scripts/Commandline.fsx index d2d068e6d39..43ba81bf304 100644 --- a/build/scripts/Commandline.fsx +++ b/build/scripts/Commandline.fsx @@ -41,6 +41,7 @@ NOTE: both the `test` and `integrate` targets can be suffixed with `-all` to for Execution hints can be provided anywhere on the command line - skiptests : skip running tests as part of the target chain - skipdocs : skip generating documentation +- docs: : the branch name B to use when generating documentation - seed: : provide a seed to run the tests with. - random:<:B> : sets random K to bool B if if B is omitted will default to true K can be: sourceserializer, typedkeys or oldconnection (only valid on windows) diff --git a/build/scripts/Targets.fsx b/build/scripts/Targets.fsx index 4b976f1aa1a..d897172070c 100644 --- a/build/scripts/Targets.fsx +++ b/build/scripts/Targets.fsx @@ -33,6 +33,7 @@ open Commandline open Differ open Differ.Differ open Fake.IO +open Octokit Commandline.parse() @@ -107,14 +108,22 @@ Target "Cluster" <| fun _ -> let clusterVersion = getBuildParam "clusterVersion" let testsProjectDirectory = Path.Combine(Path.GetFullPath(Paths.Output("Tests.ClusterLauncher")), "netcoreapp2.1") let tempDir = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); + + let sourceDir = Paths.Source("Tests/Tests.Configuration"); + let defaultYaml = Path.Combine(sourceDir, "tests.default.yaml"); + let userYaml = Path.Combine(sourceDir, "tests.yaml"); + let e f = File.Exists f; + match ((e userYaml), (e defaultYaml)) with + | (true, _) -> setProcessEnvironVar "NEST_YAML_FILE" (Path.GetFullPath(userYaml)) + | (_, true) -> setProcessEnvironVar "NEST_YAML_FILE" (Path.GetFullPath(defaultYaml)) + | _ -> ignore() + Shell.copyDir tempDir testsProjectDirectory (fun s -> true) - trace testsProjectDirectory - trace tempDir let command = sprintf "%s %s" clusterName clusterVersion DotNetCli.RunCommand(fun p -> { p with WorkingDir = tempDir; - TimeOut = TimeSpan.FromMinutes(60.) + TimeOut = TimeSpan.FromMinutes(120.) }) (sprintf "%s %s" (Path.Combine(tempDir, "Tests.ClusterLauncher.dll")) command) Shell.deleteDir tempDir diff --git a/docs/aggregations.asciidoc b/docs/aggregations.asciidoc index abff0886a26..cb972ac8e34 100644 --- a/docs/aggregations.asciidoc +++ b/docs/aggregations.asciidoc @@ -4,7 +4,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/aggregations.asciidoc. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/Tests/aggregations.asciidoc. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -62,6 +62,8 @@ The values are typically extracted from the fields of the document (using the fi * <> +* <> + See the Elasticsearch documentation on {ref_current}/search-aggregations-metrics.html[Metric aggregations] for more details. :includes-from-dirs: aggregations/metric @@ -94,6 +96,8 @@ include::aggregations/metric/top-hits/top-hits-aggregation-usage.asciidoc[] include::aggregations/metric/value-count/value-count-aggregation-usage.asciidoc[] +include::aggregations/metric/weighted-average/weighted-average-aggregation-usage.asciidoc[] + [[bucket-aggregations]] == Bucket Aggregations @@ -233,6 +237,8 @@ There are many different types of pipeline aggregation, each computing different * <> +* <> + * <> * <> @@ -273,6 +279,8 @@ include::aggregations/pipeline/moving-average/moving-average-linear-aggregation- include::aggregations/pipeline/moving-average/moving-average-simple-aggregation-usage.asciidoc[] +include::aggregations/pipeline/moving-function/moving-function-aggregation-usage.asciidoc[] + include::aggregations/pipeline/percentiles-bucket/percentiles-bucket-aggregation-usage.asciidoc[] include::aggregations/pipeline/serial-differencing/serial-differencing-aggregation-usage.asciidoc[] diff --git a/docs/aggregations/aggregation-meta-usage.asciidoc b/docs/aggregations/aggregation-meta-usage.asciidoc index e2e9d410d7b..9189c0d443a 100644 --- a/docs/aggregations/aggregation-meta-usage.asciidoc +++ b/docs/aggregations/aggregation-meta-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/AggregationMetaUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/AggregationMetaUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/adjacency-matrix/adjacency-matrix-usage.asciidoc b/docs/aggregations/bucket/adjacency-matrix/adjacency-matrix-usage.asciidoc index 7c4bd943545..ce480f012b5 100644 --- a/docs/aggregations/bucket/adjacency-matrix/adjacency-matrix-usage.asciidoc +++ b/docs/aggregations/bucket/adjacency-matrix/adjacency-matrix-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/AdjacencyMatrix/AdjacencyMatrixUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/AdjacencyMatrix/AdjacencyMatrixUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/children/children-aggregation-usage.asciidoc b/docs/aggregations/bucket/children/children-aggregation-usage.asciidoc index 61b4fee9f1b..c43aebf5f48 100644 --- a/docs/aggregations/bucket/children/children-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/children/children-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/Children/ChildrenAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/Children/ChildrenAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/composite/composite-aggregation-usage.asciidoc b/docs/aggregations/bucket/composite/composite-aggregation-usage.asciidoc index e24f4ea3c3b..f3cfc85ca3d 100644 --- a/docs/aggregations/bucket/composite/composite-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/composite/composite-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/Composite/CompositeAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/Composite/CompositeAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -145,7 +145,7 @@ new CompositeAggregation("my_buckets") ==== Handling Responses -Each Composite aggregation bucket key is an `CompositeKey`, a specialized +Each Composite aggregation bucket key is a `CompositeKey` type, a specialized `IReadOnlyDictionary` type with methods to convert values to supported types [source,csharp] @@ -185,3 +185,133 @@ foreach (var item in composite.Buckets) } ---- +[float] +=== Missing buckets + +By default documents without a value for a given source are ignored. +It is possible to include them in the response by setting missing_bucket to `true` (defaults to `false`): + +NOTE: Only available in Elasticsearch 6.4.0+ + +==== Fluent DSL example + +[source,csharp] +---- +a => a +.Composite("my_buckets", date => date + .Sources(s => s + .Terms("branches", t => t + .Field(f => f.Branches.Suffix("keyword")) + .MissingBucket() + .Order(SortOrder.Ascending) + ) + ) + .Aggregations(childAggs => childAggs + .Nested("project_tags", n => n + .Path(p => p.Tags) + .Aggregations(nestedAggs => nestedAggs + .Terms("tags", avg => avg.Field(p => p.Tags.First().Name)) + ) + ) + ) +) +---- + +==== Object Initializer syntax example + +[source,csharp] +---- +new CompositeAggregation("my_buckets") +{ + Sources = new List + { + new TermsCompositeAggregationSource("branches") + { + Field = Infer.Field(f => f.Branches.Suffix("keyword")), + MissingBucket = true, + Order = SortOrder.Ascending + } + }, + Aggregations = new NestedAggregation("project_tags") + { + Path = Field(p => p.Tags), + Aggregations = new TermsAggregation("tags") + { + Field = Field(p => p.Tags.First().Name) + } + } +} +---- + +[source,javascript] +.Example json output +---- +{ + "my_buckets": { + "composite": { + "sources": [ + { + "branches": { + "terms": { + "field": "branches.keyword", + "order": "asc", + "missing_bucket": true + } + } + } + ] + }, + "aggs": { + "project_tags": { + "nested": { + "path": "tags" + }, + "aggs": { + "tags": { + "terms": { + "field": "tags.name" + } + } + } + } + } + } +} +---- + +==== Handling Responses + +Each Composite aggregation bucket key is an `CompositeKey`, a specialized +`IReadOnlyDictionary` type with methods to convert values to supported types + +[source,csharp] +---- +response.ShouldBeValid(); + +var composite = response.Aggregations.Composite("my_buckets"); +composite.Should().NotBeNull(); +composite.Buckets.Should().NotBeNullOrEmpty(); +composite.AfterKey.Should().NotBeNull(); + +if (TestConfiguration.Instance.InRange(">=6.3.0")) + composite.AfterKey.Should().HaveCount(1).And.ContainKeys("branches"); + +var i = 0; +foreach (var item in composite.Buckets) +{ + var key = item.Key; + key.Should().NotBeNull(); + + key.TryGetValue("branches", out string branches).Should().BeTrue("expected to find 'branches' in composite bucket"); + if (i == 0) branches.Should().BeNull("First key should be null as we expect to have some projects with no branches"); + else branches.Should().NotBeNullOrEmpty(); + + var nested = item.Nested("project_tags"); + nested.Should().NotBeNull(); + + var nestedTerms = nested.Terms("tags"); + nestedTerms.Buckets.Count.Should().BeGreaterThan(0); + i++; +} +---- + diff --git a/docs/aggregations/bucket/date-histogram/date-histogram-aggregation-usage.asciidoc b/docs/aggregations/bucket/date-histogram/date-histogram-aggregation-usage.asciidoc index fbf3bca19dd..bcc387119e3 100644 --- a/docs/aggregations/bucket/date-histogram/date-histogram-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/date-histogram/date-histogram-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/DateHistogram/DateHistogramAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/DateHistogram/DateHistogramAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -114,14 +114,12 @@ new DateHistogramAggregation("projects_started_per_month") } ---- -=== Handling responses +==== Handling responses The `AggregateDictionary found on `.Aggregations` on `ISearchResponse` has several helper methods so we can fetch our aggregation results easily in the correct type. <> -==== Handling Responses - [source,csharp] ---- response.ShouldBeValid(); diff --git a/docs/aggregations/bucket/date-range/date-range-aggregation-usage.asciidoc b/docs/aggregations/bucket/date-range/date-range-aggregation-usage.asciidoc index e6ddd0e6cf1..44c1a767139 100644 --- a/docs/aggregations/bucket/date-range/date-range-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/date-range/date-range-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/DateRange/DateRangeAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/DateRange/DateRangeAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -93,14 +93,12 @@ new DateRangeAggregation("projects_date_ranges") } ---- -=== Handling Responses +==== Handling Responses The `AggregateDictionary found on `.Aggregations` on `ISearchResponse` has several helper methods so we can fetch our aggregation results easily in the correct type. <> -==== Handling Responses - [source,csharp] ---- response.ShouldBeValid(); diff --git a/docs/aggregations/bucket/filter/filter-aggregation-usage.asciidoc b/docs/aggregations/bucket/filter/filter-aggregation-usage.asciidoc index 165c77bf614..46006f205a1 100644 --- a/docs/aggregations/bucket/filter/filter-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/filter/filter-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/Filter/FilterAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/Filter/FilterAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -68,14 +68,12 @@ new FilterAggregation("bethels_projects") } ---- -=== Handling Responses +==== Handling Responses The `AggregateDictionary found on `.Aggregations` on `ISearchResponse` has several helper methods so we can fetch our aggregation results easily in the correct type. <> -==== Handling Responses - [source,csharp] ---- response.ShouldBeValid(); @@ -89,7 +87,7 @@ tags.Buckets.Should().NotBeEmpty(); ---- [float] -== Empty Filter +=== Empty Filter When the collection of filters is empty or all are conditionless, NEST will serialize them to an empty object. @@ -138,54 +136,3 @@ new FilterAggregation("empty_filter") response.ShouldNotBeValid(); ---- -==== Fluent DSL example - -[source,csharp] ----- -a => a -.Filter(_aggName, date => date - .Filter(f => f - .Script(b => b - .Source(_ctxNumberofCommits) - ) - ) -) ----- - -==== Object Initializer syntax example - -[source,csharp] ----- -new FilterAggregation(_aggName) -{ - Filter = new ScriptQuery - { - Source = _ctxNumberofCommits - } -} ----- - -[source,javascript] -.Example json output ----- -{ - "script_filter": { - "filter": { - "script": { - "script": { - "source": "_source.numberOfCommits > 0" - } - } - } - } -} ----- - -==== Handling Responses - -[source,csharp] ----- -response.ShouldBeValid(); -response.Aggregations.Filter(_aggName).DocCount.Should().BeGreaterThan(0); ----- - diff --git a/docs/aggregations/bucket/filters/filters-aggregation-usage.asciidoc b/docs/aggregations/bucket/filters/filters-aggregation-usage.asciidoc index 130c9cc102f..f390924a20f 100644 --- a/docs/aggregations/bucket/filters/filters-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/filters/filters-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/Filters/FiltersAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/Filters/FiltersAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/geo-distance/geo-distance-aggregation-usage.asciidoc b/docs/aggregations/bucket/geo-distance/geo-distance-aggregation-usage.asciidoc index 9d09d2e8e58..1a331b2b37e 100644 --- a/docs/aggregations/bucket/geo-distance/geo-distance-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/geo-distance/geo-distance-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/GeoDistance/GeoDistanceAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/GeoDistance/GeoDistanceAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/geo-hash-grid/geo-hash-grid-aggregation-usage.asciidoc b/docs/aggregations/bucket/geo-hash-grid/geo-hash-grid-aggregation-usage.asciidoc index f2719513d02..6cf331af8dc 100644 --- a/docs/aggregations/bucket/geo-hash-grid/geo-hash-grid-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/geo-hash-grid/geo-hash-grid-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/GeoHashGrid/GeoHashGridAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/GeoHashGrid/GeoHashGridAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/global/global-aggregation-usage.asciidoc b/docs/aggregations/bucket/global/global-aggregation-usage.asciidoc index e89ca4f7e7e..a95450bb0ba 100644 --- a/docs/aggregations/bucket/global/global-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/global/global-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/Global/GlobalAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/Global/GlobalAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/histogram/histogram-aggregation-usage.asciidoc b/docs/aggregations/bucket/histogram/histogram-aggregation-usage.asciidoc index ffae47dccb0..3166cd582cb 100644 --- a/docs/aggregations/bucket/histogram/histogram-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/histogram/histogram-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/Histogram/HistogramAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/Histogram/HistogramAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/ip-range/ip-range-aggregation-usage.asciidoc b/docs/aggregations/bucket/ip-range/ip-range-aggregation-usage.asciidoc index ad943cba723..6a194e4d12a 100644 --- a/docs/aggregations/bucket/ip-range/ip-range-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/ip-range/ip-range-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/IpRange/IpRangeAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/IpRange/IpRangeAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -74,6 +74,11 @@ ipRanges.Should().NotBeNull(); ipRanges.Buckets.Should().NotBeNull(); ipRanges.Buckets.Count.Should().BeGreaterThan(0); foreach (var range in ipRanges.Buckets) +{ + if (TestConfiguration.Instance.InRange("6.4.0")) + range.Key.Should().NotBeNullOrEmpty(); + range.DocCount.Should().BeGreaterThan(0); +} ---- diff --git a/docs/aggregations/bucket/missing/missing-aggregation-usage.asciidoc b/docs/aggregations/bucket/missing/missing-aggregation-usage.asciidoc index 6deee1841cc..844ff1f59a2 100644 --- a/docs/aggregations/bucket/missing/missing-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/missing/missing-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/Missing/MissingAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/Missing/MissingAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/nested/nested-aggregation-usage.asciidoc b/docs/aggregations/bucket/nested/nested-aggregation-usage.asciidoc index 494054c670f..b20809029d2 100644 --- a/docs/aggregations/bucket/nested/nested-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/nested/nested-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/Nested/NestedAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/Nested/NestedAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/range/range-aggregation-usage.asciidoc b/docs/aggregations/bucket/range/range-aggregation-usage.asciidoc index bba3d712169..6aea91a5148 100644 --- a/docs/aggregations/bucket/range/range-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/range/range-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/Range/RangeAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/Range/RangeAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/reverse-nested/reverse-nested-aggregation-usage.asciidoc b/docs/aggregations/bucket/reverse-nested/reverse-nested-aggregation-usage.asciidoc index 83c685ee576..680c9555f50 100644 --- a/docs/aggregations/bucket/reverse-nested/reverse-nested-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/reverse-nested/reverse-nested-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/ReverseNested/ReverseNestedAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/ReverseNested/ReverseNestedAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/sampler/sampler-aggregation-usage.asciidoc b/docs/aggregations/bucket/sampler/sampler-aggregation-usage.asciidoc index f60c99a425a..81523c29bc9 100644 --- a/docs/aggregations/bucket/sampler/sampler-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/sampler/sampler-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/Sampler/SamplerAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/Sampler/SamplerAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/significant-terms/significant-terms-aggregation-usage.asciidoc b/docs/aggregations/bucket/significant-terms/significant-terms-aggregation-usage.asciidoc index 34041eed5d2..b41859e4842 100644 --- a/docs/aggregations/bucket/significant-terms/significant-terms-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/significant-terms/significant-terms-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/SignificantTerms/SignificantTermsAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/SignificantTerms/SignificantTermsAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/significant-text/significant-text-aggregation-usage.asciidoc b/docs/aggregations/bucket/significant-text/significant-text-aggregation-usage.asciidoc index 3c9ae8fdb71..0071155396a 100644 --- a/docs/aggregations/bucket/significant-text/significant-text-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/significant-text/significant-text-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/SignificantText/SignificantTextAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/SignificantText/SignificantTextAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/bucket/terms/terms-aggregation-usage.asciidoc b/docs/aggregations/bucket/terms/terms-aggregation-usage.asciidoc index 9a6e0c23539..ddb12eb82e4 100644 --- a/docs/aggregations/bucket/terms/terms-aggregation-usage.asciidoc +++ b/docs/aggregations/bucket/terms/terms-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Bucket/Terms/TermsAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Bucket/Terms/TermsAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/matrix/matrix-stats/matrix-stats-aggregation-usage.asciidoc b/docs/aggregations/matrix/matrix-stats/matrix-stats-aggregation-usage.asciidoc index b8642ce1d93..4206542c57a 100644 --- a/docs/aggregations/matrix/matrix-stats/matrix-stats-aggregation-usage.asciidoc +++ b/docs/aggregations/matrix/matrix-stats/matrix-stats-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Matrix/MatrixStats/MatrixStatsAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Matrix/MatrixStats/MatrixStatsAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/average/average-aggregation-usage.asciidoc b/docs/aggregations/metric/average/average-aggregation-usage.asciidoc index 37ddb83eaaf..1b36b9599b9 100644 --- a/docs/aggregations/metric/average/average-aggregation-usage.asciidoc +++ b/docs/aggregations/metric/average/average-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Metric/Average/AverageAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/Average/AverageAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/cardinality/cardinality-aggregation-usage.asciidoc b/docs/aggregations/metric/cardinality/cardinality-aggregation-usage.asciidoc index d86abff0a51..99660d5328e 100644 --- a/docs/aggregations/metric/cardinality/cardinality-aggregation-usage.asciidoc +++ b/docs/aggregations/metric/cardinality/cardinality-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Metric/Cardinality/CardinalityAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/Cardinality/CardinalityAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/extended-stats/extended-stats-aggregation-usage.asciidoc b/docs/aggregations/metric/extended-stats/extended-stats-aggregation-usage.asciidoc index 1868930bd4c..80dba1bb750 100644 --- a/docs/aggregations/metric/extended-stats/extended-stats-aggregation-usage.asciidoc +++ b/docs/aggregations/metric/extended-stats/extended-stats-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Metric/ExtendedStats/ExtendedStatsAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/ExtendedStats/ExtendedStatsAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/geo-bounds/geo-bounds-aggregation-usage.asciidoc b/docs/aggregations/metric/geo-bounds/geo-bounds-aggregation-usage.asciidoc index f7aa2ee0e7b..e2e8542456c 100644 --- a/docs/aggregations/metric/geo-bounds/geo-bounds-aggregation-usage.asciidoc +++ b/docs/aggregations/metric/geo-bounds/geo-bounds-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Metric/GeoBounds/GeoBoundsAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/GeoBounds/GeoBoundsAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/geo-centroid/geo-centroid-aggregation-usage.asciidoc b/docs/aggregations/metric/geo-centroid/geo-centroid-aggregation-usage.asciidoc index c5bc2b29675..959375585d7 100644 --- a/docs/aggregations/metric/geo-centroid/geo-centroid-aggregation-usage.asciidoc +++ b/docs/aggregations/metric/geo-centroid/geo-centroid-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Metric/GeoCentroid/GeoCentroidAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/GeoCentroid/GeoCentroidAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/max/max-aggregation-usage.asciidoc b/docs/aggregations/metric/max/max-aggregation-usage.asciidoc index db2ce66e7ae..4af424e4cfa 100644 --- a/docs/aggregations/metric/max/max-aggregation-usage.asciidoc +++ b/docs/aggregations/metric/max/max-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Metric/Max/MaxAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/Max/MaxAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/min/min-aggregation-usage.asciidoc b/docs/aggregations/metric/min/min-aggregation-usage.asciidoc index 6b77aac0845..2ead933e52b 100644 --- a/docs/aggregations/metric/min/min-aggregation-usage.asciidoc +++ b/docs/aggregations/metric/min/min-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Metric/Min/MinAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/Min/MinAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/percentile-ranks/percentile-ranks-aggregation-usage.asciidoc b/docs/aggregations/metric/percentile-ranks/percentile-ranks-aggregation-usage.asciidoc index aa45b2afa25..51f26a3218f 100644 --- a/docs/aggregations/metric/percentile-ranks/percentile-ranks-aggregation-usage.asciidoc +++ b/docs/aggregations/metric/percentile-ranks/percentile-ranks-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Metric/PercentileRanks/PercentileRanksAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/PercentileRanks/PercentileRanksAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/percentiles/percentiles-aggregation-usage.asciidoc b/docs/aggregations/metric/percentiles/percentiles-aggregation-usage.asciidoc index ea2c9c25443..442c55098a1 100644 --- a/docs/aggregations/metric/percentiles/percentiles-aggregation-usage.asciidoc +++ b/docs/aggregations/metric/percentiles/percentiles-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Metric/Percentiles/PercentilesAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/Percentiles/PercentilesAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/scripted-metric/scripted-metric-aggregation-usage.asciidoc b/docs/aggregations/metric/scripted-metric/scripted-metric-aggregation-usage.asciidoc index 211c1e675f4..6f9d6affa1a 100644 --- a/docs/aggregations/metric/scripted-metric/scripted-metric-aggregation-usage.asciidoc +++ b/docs/aggregations/metric/scripted-metric/scripted-metric-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Metric/ScriptedMetric/ScriptedMetricAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/ScriptedMetric/ScriptedMetricAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/stats/stats-aggregation-usage.asciidoc b/docs/aggregations/metric/stats/stats-aggregation-usage.asciidoc index 2dc8c00ae03..5006c2a4ed9 100644 --- a/docs/aggregations/metric/stats/stats-aggregation-usage.asciidoc +++ b/docs/aggregations/metric/stats/stats-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Metric/Stats/StatsAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/Stats/StatsAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/sum/sum-aggregation-usage.asciidoc b/docs/aggregations/metric/sum/sum-aggregation-usage.asciidoc index c2ef62a4a1d..25d26206072 100644 --- a/docs/aggregations/metric/sum/sum-aggregation-usage.asciidoc +++ b/docs/aggregations/metric/sum/sum-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Metric/Sum/SumAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/Sum/SumAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/top-hits/top-hits-aggregation-usage.asciidoc b/docs/aggregations/metric/top-hits/top-hits-aggregation-usage.asciidoc index 1a0352fef19..f90bfe0f50e 100644 --- a/docs/aggregations/metric/top-hits/top-hits-aggregation-usage.asciidoc +++ b/docs/aggregations/metric/top-hits/top-hits-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Metric/TopHits/TopHitsAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/TopHits/TopHitsAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/value-count/value-count-aggregation-usage.asciidoc b/docs/aggregations/metric/value-count/value-count-aggregation-usage.asciidoc index 756562aa7bf..624d1e02632 100644 --- a/docs/aggregations/metric/value-count/value-count-aggregation-usage.asciidoc +++ b/docs/aggregations/metric/value-count/value-count-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Metric/ValueCount/ValueCountAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/ValueCount/ValueCountAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/metric/weighted-average/weighted-average-aggregation-usage.asciidoc b/docs/aggregations/metric/weighted-average/weighted-average-aggregation-usage.asciidoc new file mode 100644 index 00000000000..d92de5fe9dc --- /dev/null +++ b/docs/aggregations/metric/weighted-average/weighted-average-aggregation-usage.asciidoc @@ -0,0 +1,83 @@ +:ref_current: https://www.elastic.co/guide/en/elasticsearch/reference/6.3 + +:github: https://github.com/elastic/elasticsearch-net + +:nuget: https://www.nuget.org/packages + +//// +IMPORTANT NOTE +============== +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Metric/WeightedAverage/WeightedAverageAggregationUsageTests.cs. +If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, +please modify the original csharp file found at the link and submit the PR with that change. Thanks! +//// + +[[weighted-average-aggregation-usage]] +=== Weighted Average Aggregation Usage + +A single-value metrics aggregation that computes the weighted average of numeric values that are extracted +from the aggregated documents. These values can be extracted either from specific numeric fields in the documents. +When calculating a regular average, each datapoint has an equal "weight" i.e. it contributes equally to the final +value. Weighted averages, on the other hand, weight each datapoint differently. The amount that each +datapoint contributes to the final value is extracted from the document, or provided by a script. + +Be sure to read the Elasticsearch documentation on {ref_current}/search-aggregations-metrics-weight-avg-aggregation.html[Weighted Avg Aggregation] + +==== Fluent DSL example + +[source,csharp] +---- +a => a +.WeightedAverage("weighted_avg_commits", avg => avg + .Value(v => v.Field(p => p.NumberOfCommits).Missing(0)) + .Weight(w => w.Script("doc.numberOfContributors.value + 1")) + .ValueType(ValueType.Long) +) +---- + +==== Object Initializer syntax example + +[source,csharp] +---- +new WeightedAverageAggregation("weighted_avg_commits") +{ + Value = new WeightedAverageValue(Field(p => p.NumberOfCommits)) + { + Missing = 0 + }, + Weight = new WeightedAverageValue(new InlineScript("doc.numberOfContributors.value + 1")), + ValueType = ValueType.Long +} +---- + +[source,javascript] +.Example json output +---- +{ + "weighted_avg_commits": { + "weighted_avg": { + "value": { + "field": "numberOfCommits", + "missing": 0.0 + }, + "weight": { + "script": { + "source": "doc.numberOfContributors.value + 1" + } + }, + "value_type": "long" + } + } +} +---- + +==== Handling Responses + +[source,csharp] +---- +response.ShouldBeValid(); +var commitsAvg = response.Aggregations.WeightedAverage("weighted_avg_commits"); +commitsAvg.Should().NotBeNull(); +commitsAvg.Value.Should().BeGreaterThan(0); +---- + diff --git a/docs/aggregations/pipeline/average-bucket/average-bucket-aggregation-usage.asciidoc b/docs/aggregations/pipeline/average-bucket/average-bucket-aggregation-usage.asciidoc index 21dd56bab0b..af769c1458e 100644 --- a/docs/aggregations/pipeline/average-bucket/average-bucket-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/average-bucket/average-bucket-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/AverageBucket/AverageBucketAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/AverageBucket/AverageBucketAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/bucket-script/bucket-script-aggregation-usage.asciidoc b/docs/aggregations/pipeline/bucket-script/bucket-script-aggregation-usage.asciidoc index 56e36953fbf..28262c354ab 100644 --- a/docs/aggregations/pipeline/bucket-script/bucket-script-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/bucket-script/bucket-script-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/BucketScript/BucketScriptAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/BucketScript/BucketScriptAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/bucket-selector/bucket-selector-aggregation-usage.asciidoc b/docs/aggregations/pipeline/bucket-selector/bucket-selector-aggregation-usage.asciidoc index c0c7a234850..9e2bcdb12c5 100644 --- a/docs/aggregations/pipeline/bucket-selector/bucket-selector-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/bucket-selector/bucket-selector-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/BucketSelector/BucketSelectorAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/BucketSelector/BucketSelectorAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/bucket-sort/bucket-sort-aggregation-usage.asciidoc b/docs/aggregations/pipeline/bucket-sort/bucket-sort-aggregation-usage.asciidoc index 46a2bd4afd1..009d518e699 100644 --- a/docs/aggregations/pipeline/bucket-sort/bucket-sort-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/bucket-sort/bucket-sort-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/BucketSort/BucketSortAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/BucketSort/BucketSortAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/cumulative-sum/cumulative-sum-aggregation-usage.asciidoc b/docs/aggregations/pipeline/cumulative-sum/cumulative-sum-aggregation-usage.asciidoc index 9580e69c21f..06fecaa1d29 100644 --- a/docs/aggregations/pipeline/cumulative-sum/cumulative-sum-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/cumulative-sum/cumulative-sum-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/CumulativeSum/CumulativeSumAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/CumulativeSum/CumulativeSumAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/derivative/derivative-aggregation-usage.asciidoc b/docs/aggregations/pipeline/derivative/derivative-aggregation-usage.asciidoc index 3c020db771d..ccbe9099118 100644 --- a/docs/aggregations/pipeline/derivative/derivative-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/derivative/derivative-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/Derivative/DerivativeAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/Derivative/DerivativeAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/extended-stats-bucket/extended-stats-bucket-aggregation-usage.asciidoc b/docs/aggregations/pipeline/extended-stats-bucket/extended-stats-bucket-aggregation-usage.asciidoc index f62f70bc77b..45f0e7cb0f5 100644 --- a/docs/aggregations/pipeline/extended-stats-bucket/extended-stats-bucket-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/extended-stats-bucket/extended-stats-bucket-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/ExtendedStatsBucket/ExtendedStatsBucketAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/ExtendedStatsBucket/ExtendedStatsBucketAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/max-bucket/max-bucket-aggregation-usage.asciidoc b/docs/aggregations/pipeline/max-bucket/max-bucket-aggregation-usage.asciidoc index c99eea03ec2..0b723726824 100644 --- a/docs/aggregations/pipeline/max-bucket/max-bucket-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/max-bucket/max-bucket-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/MaxBucket/MaxBucketAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/MaxBucket/MaxBucketAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/min-bucket/min-bucket-aggregation-usage.asciidoc b/docs/aggregations/pipeline/min-bucket/min-bucket-aggregation-usage.asciidoc index 674da0fcc97..e6612650d72 100644 --- a/docs/aggregations/pipeline/min-bucket/min-bucket-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/min-bucket/min-bucket-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/MinBucket/MinBucketAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/MinBucket/MinBucketAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/moving-average/moving-average-ewma-aggregation-usage.asciidoc b/docs/aggregations/pipeline/moving-average/moving-average-ewma-aggregation-usage.asciidoc index 827840e8533..12d822a80be 100644 --- a/docs/aggregations/pipeline/moving-average/moving-average-ewma-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/moving-average/moving-average-ewma-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/MovingAverage/MovingAverageEwmaAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/MovingAverage/MovingAverageEwmaAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/moving-average/moving-average-holt-linear-aggregation-usage.asciidoc b/docs/aggregations/pipeline/moving-average/moving-average-holt-linear-aggregation-usage.asciidoc index ffaa61a0a06..d9ef63147c1 100644 --- a/docs/aggregations/pipeline/moving-average/moving-average-holt-linear-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/moving-average/moving-average-holt-linear-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/MovingAverage/MovingAverageHoltLinearAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/MovingAverage/MovingAverageHoltLinearAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/moving-average/moving-average-holt-winters-aggregation-usage.asciidoc b/docs/aggregations/pipeline/moving-average/moving-average-holt-winters-aggregation-usage.asciidoc index 33a0350d53e..948d3e75665 100644 --- a/docs/aggregations/pipeline/moving-average/moving-average-holt-winters-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/moving-average/moving-average-holt-winters-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/MovingAverage/MovingAverageHoltWintersAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/MovingAverage/MovingAverageHoltWintersAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/moving-average/moving-average-linear-aggregation-usage.asciidoc b/docs/aggregations/pipeline/moving-average/moving-average-linear-aggregation-usage.asciidoc index 5b5c12871ea..4facd1460ff 100644 --- a/docs/aggregations/pipeline/moving-average/moving-average-linear-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/moving-average/moving-average-linear-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/MovingAverage/MovingAverageLinearAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/MovingAverage/MovingAverageLinearAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/moving-average/moving-average-simple-aggregation-usage.asciidoc b/docs/aggregations/pipeline/moving-average/moving-average-simple-aggregation-usage.asciidoc index 3d8b2d51dc8..998903c7e2b 100644 --- a/docs/aggregations/pipeline/moving-average/moving-average-simple-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/moving-average/moving-average-simple-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/MovingAverage/MovingAverageSimpleAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/MovingAverage/MovingAverageSimpleAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -98,7 +98,7 @@ projectsPerMonth.Should().NotBeNull(); projectsPerMonth.Buckets.Should().NotBeNull(); projectsPerMonth.Buckets.Count.Should().BeGreaterThan(0); -// average not calculated for the first bucket +// average not calculated for the first bucket so movingAvg.Value is expected to be null there foreach(var item in projectsPerMonth.Buckets.Skip(1)) { var movingAvg = item.Sum("commits_moving_avg"); diff --git a/docs/aggregations/pipeline/moving-function/moving-function-aggregation-usage.asciidoc b/docs/aggregations/pipeline/moving-function/moving-function-aggregation-usage.asciidoc new file mode 100644 index 00000000000..ce677e50fee --- /dev/null +++ b/docs/aggregations/pipeline/moving-function/moving-function-aggregation-usage.asciidoc @@ -0,0 +1,103 @@ +:ref_current: https://www.elastic.co/guide/en/elasticsearch/reference/6.3 + +:github: https://github.com/elastic/elasticsearch-net + +:nuget: https://www.nuget.org/packages + +//// +IMPORTANT NOTE +============== +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/MovingFunction/MovingFunctionAggregationUsageTests.cs. +If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, +please modify the original csharp file found at the link and submit the PR with that change. Thanks! +//// + +[[moving-function-aggregation-usage]] +=== Moving Function Aggregation Usage + +==== Fluent DSL example + +[source,csharp] +---- +a => a +.DateHistogram("projects_started_per_month", dh => dh + .Field(p => p.StartedOn) + .Interval(DateInterval.Month) + .Aggregations(aa => aa + .Sum("commits", sm => sm + .Field(p => p.NumberOfCommits) + ) + .MovingFunction("commits_moving_avg", mv => mv + .BucketsPath("commits") + .Window(30) + .Script("MovingFunctions.unweightedAvg(values)") + ) + ) +) +---- + +==== Object Initializer syntax example + +[source,csharp] +---- +new DateHistogramAggregation("projects_started_per_month") +{ + Field = "startedOn", + Interval = DateInterval.Month, + Aggregations = + new SumAggregation("commits", "numberOfCommits") + && new MovingFunctionAggregation("commits_moving_avg", "commits") + { + Window = 30, + Script = "MovingFunctions.unweightedAvg(values)" + } +} +---- + +[source,javascript] +.Example json output +---- +{ + "projects_started_per_month": { + "date_histogram": { + "field": "startedOn", + "interval": "month" + }, + "aggs": { + "commits": { + "sum": { + "field": "numberOfCommits" + } + }, + "commits_moving_avg": { + "moving_fn": { + "buckets_path": "commits", + "window": 30, + "script": "MovingFunctions.unweightedAvg(values)" + } + } + } + } +} +---- + +==== Handling Responses + +[source,csharp] +---- +response.ShouldBeValid(); + +var projectsPerMonth = response.Aggregations.DateHistogram("projects_started_per_month"); +projectsPerMonth.Should().NotBeNull(); +projectsPerMonth.Buckets.Should().NotBeNull(); +projectsPerMonth.Buckets.Count.Should().BeGreaterThan(0); + +// average not calculated for the first bucket +foreach(var item in projectsPerMonth.Buckets.Skip(1)) +{ + var movingAvg = item.Sum("commits_moving_avg"); + movingAvg.Should().NotBeNull(); + movingAvg.Value.Should().BeGreaterThan(0); +} +---- + diff --git a/docs/aggregations/pipeline/percentiles-bucket/percentiles-bucket-aggregation-usage.asciidoc b/docs/aggregations/pipeline/percentiles-bucket/percentiles-bucket-aggregation-usage.asciidoc index b69bf14431d..6fd9e399732 100644 --- a/docs/aggregations/pipeline/percentiles-bucket/percentiles-bucket-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/percentiles-bucket/percentiles-bucket-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/PercentilesBucket/PercentilesBucketAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/PercentilesBucket/PercentilesBucketAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/serial-differencing/serial-differencing-aggregation-usage.asciidoc b/docs/aggregations/pipeline/serial-differencing/serial-differencing-aggregation-usage.asciidoc index fd74a430cd7..50b12a23d50 100644 --- a/docs/aggregations/pipeline/serial-differencing/serial-differencing-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/serial-differencing/serial-differencing-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/SerialDifferencing/SerialDifferencingAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/SerialDifferencing/SerialDifferencingAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/stats-bucket/stats-bucket-aggregation-usage.asciidoc b/docs/aggregations/pipeline/stats-bucket/stats-bucket-aggregation-usage.asciidoc index bea7b976b3c..cafd4571272 100644 --- a/docs/aggregations/pipeline/stats-bucket/stats-bucket-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/stats-bucket/stats-bucket-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/StatsBucket/StatsBucketAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/StatsBucket/StatsBucketAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/pipeline/sum-bucket/sum-bucket-aggregation-usage.asciidoc b/docs/aggregations/pipeline/sum-bucket/sum-bucket-aggregation-usage.asciidoc index 0c67c66f385..2851ab4a455 100644 --- a/docs/aggregations/pipeline/sum-bucket/sum-bucket-aggregation-usage.asciidoc +++ b/docs/aggregations/pipeline/sum-bucket/sum-bucket-aggregation-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/Pipeline/SumBucket/SumBucketAggregationUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/Pipeline/SumBucket/SumBucketAggregationUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/reserved-aggregation-names.asciidoc b/docs/aggregations/reserved-aggregation-names.asciidoc index c4200297e7a..d790d39479c 100644 --- a/docs/aggregations/reserved-aggregation-names.asciidoc +++ b/docs/aggregations/reserved-aggregation-names.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/ReservedAggregationNames.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/ReservedAggregationNames.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/aggregations/writing-aggregations.asciidoc b/docs/aggregations/writing-aggregations.asciidoc index 2d9d0001eb3..090fd7c71da 100644 --- a/docs/aggregations/writing-aggregations.asciidoc +++ b/docs/aggregations/writing-aggregations.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Aggregations/WritingAggregations.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Aggregations/WritingAggregations.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/analysis/normalizers/normalizer-usage.asciidoc b/docs/analysis/analysis-usage.asciidoc similarity index 50% rename from docs/analysis/normalizers/normalizer-usage.asciidoc rename to docs/analysis/analysis-usage.asciidoc index 1f71f8d120b..a3e2c5cf20e 100644 --- a/docs/analysis/normalizers/normalizer-usage.asciidoc +++ b/docs/analysis/analysis-usage.asciidoc @@ -7,46 +7,18 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Analysis/Normalizers/NormalizerUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Analysis/AnalysisUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// -[[normalizer-usage]] -=== Normalizer Usage +[[analysis-usage]] +=== Analysis Usage ==== Fluent DSL example [source,csharp] ---- -FluentExample ----- - -==== Object Initializer syntax example - -[source,csharp] ----- -InitializerExample ----- - -[source,javascript] -.Example json output ----- -{ - "analysis": { - "normalizer": { - "myCustom": { - "type": "custom", - "filter": [ - "lowercase", - "asciifolding" - ], - "char_filter": [ - "mapped" - ] - } - } - } -} +Wrap(an => set(an, Apply((t, a) => fluent(a)(a.Name, t)))) ---- diff --git a/docs/analysis/analyzers/analyzer-usage.asciidoc b/docs/analysis/analyzers/analyzer-usage.asciidoc deleted file mode 100644 index 0928d246fee..00000000000 --- a/docs/analysis/analyzers/analyzer-usage.asciidoc +++ /dev/null @@ -1,103 +0,0 @@ -:ref_current: https://www.elastic.co/guide/en/elasticsearch/reference/6.3 - -:github: https://github.com/elastic/elasticsearch-net - -:nuget: https://www.nuget.org/packages - -//// -IMPORTANT NOTE -============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Analysis/Analyzers/AnalyzerUsageTests.cs. -If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, -please modify the original csharp file found at the link and submit the PR with that change. Thanks! -//// - -[[analyzer-usage]] -=== Analyzer Usage - -==== Fluent DSL example - -[source,csharp] ----- -FluentExample ----- - -==== Object Initializer syntax example - -[source,csharp] ----- -InitializerExample ----- - -[source,javascript] -.Example json output ----- -{ - "analysis": { - "analyzer": { - "default": { - "type": "keyword" - }, - "myCustom": { - "type": "custom", - "tokenizer": "ng", - "filter": [ - "myAscii", - "kstem" - ], - "char_filter": [ - "stripMe", - "patterned" - ] - }, - "myKeyword": { - "type": "keyword" - }, - "myPattern": { - "type": "pattern", - "pattern": "\\w" - }, - "mySimple": { - "type": "simple" - }, - "myLanguage": { - "type": "dutch" - }, - "mySnow": { - "type": "snowball", - "language": "Dutch" - }, - "myStandard": { - "type": "standard", - "max_token_length": 2 - }, - "myStop": { - "type": "stop", - "stopwords_path": "analysis/stopwords.txt" - }, - "myWhiteSpace": { - "type": "whitespace" - }, - "myWhiteSpace2": { - "type": "whitespace" - }, - "myFingerprint": { - "type": "fingerprint", - "preserve_original": true, - "separator": ",", - "max_output_size": 100, - "stopwords": [ - "a", - "he", - "the" - ] - }, - "kuro": { - "type": "kuromoji", - "mode": "search" - } - } - } -} ----- - diff --git a/docs/analysis/char-filters/char-filter-usage.asciidoc b/docs/analysis/char-filters/char-filter-usage.asciidoc deleted file mode 100644 index 1c2622dab7f..00000000000 --- a/docs/analysis/char-filters/char-filter-usage.asciidoc +++ /dev/null @@ -1,66 +0,0 @@ -:ref_current: https://www.elastic.co/guide/en/elasticsearch/reference/6.3 - -:github: https://github.com/elastic/elasticsearch-net - -:nuget: https://www.nuget.org/packages - -//// -IMPORTANT NOTE -============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Analysis/CharFilters/CharFilterUsageTests.cs. -If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, -please modify the original csharp file found at the link and submit the PR with that change. Thanks! -//// - -[[char-filter-usage]] -=== Char Filter Usage - -==== Fluent DSL example - -[source,csharp] ----- -FluentExample ----- - -==== Object Initializer syntax example - -[source,csharp] ----- -InitializerExample ----- - -[source,javascript] -.Example json output ----- -{ - "analysis": { - "char_filter": { - "icun": { - "mode": "compose", - "name": "nfkc_cf", - "type": "icu_normalizer" - }, - "stripMe": { - "type": "html_strip" - }, - "patterned": { - "pattern": "x", - "replacement": "y", - "type": "pattern_replace" - }, - "mapped": { - "mappings": [ - "a=>b" - ], - "type": "mapping" - }, - "kmark": { - "normalize_kanji": true, - "normalize_kana": true, - "type": "kuromoji_iteration_mark" - } - } - } -} ----- - diff --git a/docs/analysis/token-filters/token-filter-usage.asciidoc b/docs/analysis/token-filters/token-filter-usage.asciidoc deleted file mode 100644 index 48dfeef95a1..00000000000 --- a/docs/analysis/token-filters/token-filter-usage.asciidoc +++ /dev/null @@ -1,326 +0,0 @@ -:ref_current: https://www.elastic.co/guide/en/elasticsearch/reference/6.3 - -:github: https://github.com/elastic/elasticsearch-net - -:nuget: https://www.nuget.org/packages - -//// -IMPORTANT NOTE -============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Analysis/TokenFilters/TokenFilterUsageTests.cs. -If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, -please modify the original csharp file found at the link and submit the PR with that change. Thanks! -//// - -[[token-filter-usage]] -=== Token Filter Usage - -==== Fluent DSL example - -[source,csharp] ----- -FluentExample ----- - -==== Object Initializer syntax example - -[source,csharp] ----- -InitializerExample ----- - -[source,javascript] -.Example json output ----- -{ - "analysis": { - "filter": { - "myAscii": { - "type": "asciifolding", - "preserve_original": true - }, - "myCommonGrams": { - "type": "common_grams", - "common_words": [ - "x", - "y", - "z" - ], - "ignore_case": true, - "query_mode": true - }, - "mydp": { - "type": "delimited_payload_filter", - "delimiter": "-", - "encoding": "identity" - }, - "dcc": { - "type": "dictionary_decompounder", - "word_list": [ - "x", - "y", - "z" - ], - "min_word_size": 2, - "min_subword_size": 2, - "max_subword_size": 2, - "only_longest_match": true - }, - "etf": { - "type": "edge_ngram", - "min_gram": 1, - "max_gram": 2 - }, - "elision": { - "type": "elision", - "articles": [ - "a", - "b", - "c" - ] - }, - "hunspell": { - "type": "hunspell", - "locale": "en_US", - "dictionary": "path_to_dict", - "dedup": true, - "longest_only": true - }, - "hypdecomp": { - "type": "hyphenation_decompounder", - "word_list": [ - "x", - "y", - "z" - ], - "min_word_size": 2, - "min_subword_size": 2, - "max_subword_size": 2, - "only_longest_match": true, - "hyphenation_patterns_path": "analysis/fop.xml" - }, - "keeptypes": { - "type": "keep_types", - "types": [ - "", - "" - ] - }, - "icuc": { - "alternate": "non-ignorable", - "caseFirst": "lower", - "caseLevel": true, - "country": "DE", - "decomposition": "no", - "hiraganaQuaternaryMode": true, - "language": "de", - "numeric": true, - "strength": "tertiary", - "type": "icu_collation", - "variant": "@collation=phonebook" - }, - "icuf": { - "type": "icu_folding", - "unicodeSetFilter": "[^åäöÅÄÖ]" - }, - "icun": { - "name": "nfc", - "type": "icu_normalizer" - }, - "icut": { - "dir": "forward", - "id": "Any-Latin; NFD; [:Nonspacing Mark:] Remove; NFC", - "type": "icu_transform" - }, - "keepwords": { - "type": "keep", - "keep_words": [ - "a", - "b", - "c" - ], - "keep_words_case": true - }, - "marker": { - "type": "keyword_marker", - "keywords": [ - "a", - "b" - ], - "ignore_case": true - }, - "kfr": { - "type": "kuromoji_readingform", - "use_romaji": true - }, - "kpos": { - "stoptags": [ - "# verb-main:", - "動詞-自立" - ], - "type": "kuromoji_part_of_speech" - }, - "ks": { - "minimum_length": 4, - "type": "kuromoji_stemmer" - }, - "kstem": { - "type": "kstem" - }, - "length": { - "type": "length", - "min": 10, - "max": 200 - }, - "limit": { - "type": "limit", - "max_token_count": 12, - "consume_all_tokens": true - }, - "lc": { - "type": "lowercase" - }, - "ngram": { - "type": "ngram", - "min_gram": 3, - "max_gram": 4 - }, - "pc": { - "type": "pattern_capture", - "patterns": [ - "\\d", - "\\w" - ], - "preserve_original": true - }, - "pr": { - "type": "pattern_replace", - "pattern": "(\\d|\\w)", - "replacement": "replacement" - }, - "porter": { - "type": "porter_stem" - }, - "rev": { - "type": "reverse" - }, - "shing": { - "type": "shingle", - "min_shingle_size": 8, - "max_shingle_size": 10, - "output_unigrams": true, - "output_unigrams_if_no_shingles": true, - "token_separator": "|", - "filler_token": "x" - }, - "snow": { - "type": "snowball", - "language": "Dutch" - }, - "standard": { - "type": "standard" - }, - "stem": { - "type": "stemmer", - "language": "arabic" - }, - "stemo": { - "type": "stemmer_override", - "rules_path": "analysis/custom_stems.txt" - }, - "stop": { - "type": "stop", - "stopwords": [ - "x", - "y", - "z" - ], - "ignore_case": true, - "remove_trailing": true - }, - "syn": { - "type": "synonym", - "synonyms_path": "analysis/stopwords.txt", - "format": "wordnet", - "synonyms": [ - "x=>y", - "z=>s" - ], - "expand": true, - "tokenizer": "whitespace" - }, - "syn_graph": { - "type": "synonym_graph", - "synonyms_path": "analysis/stopwords.txt", - "format": "wordnet", - "synonyms": [ - "x=>y", - "z=>s" - ], - "expand": true, - "tokenizer": "whitespace" - }, - "trimmer": { - "type": "trim" - }, - "truncer": { - "type": "truncate", - "length": 100 - }, - "uq": { - "type": "unique", - "only_on_same_position": true - }, - "upper": { - "type": "uppercase" - }, - "wd": { - "type": "word_delimiter", - "generate_word_parts": true, - "generate_number_parts": true, - "catenate_words": true, - "catenate_numbers": true, - "catenate_all": true, - "split_on_case_change": true, - "preserve_original": true, - "split_on_numerics": true, - "stem_english_possessive": true, - "protected_words": [ - "x", - "y", - "z" - ] - }, - "wdg": { - "type": "word_delimiter_graph", - "generate_word_parts": true, - "generate_number_parts": true, - "catenate_words": true, - "catenate_numbers": true, - "catenate_all": true, - "split_on_case_change": true, - "preserve_original": true, - "split_on_numerics": true, - "stem_english_possessive": true, - "protected_words": [ - "x", - "y", - "z" - ] - }, - "phonetic": { - "type": "phonetic", - "encoder": "beider_morse", - "rule_type": "exact", - "name_type": "sephardic", - "languageset": [ - "cyrillic", - "english", - "hebrew" - ] - } - } - } -} ----- - diff --git a/docs/analysis/tokenizers/tokenizer-usage.asciidoc b/docs/analysis/tokenizers/tokenizer-usage.asciidoc deleted file mode 100644 index e35e64c1841..00000000000 --- a/docs/analysis/tokenizers/tokenizer-usage.asciidoc +++ /dev/null @@ -1,95 +0,0 @@ -:ref_current: https://www.elastic.co/guide/en/elasticsearch/reference/6.3 - -:github: https://github.com/elastic/elasticsearch-net - -:nuget: https://www.nuget.org/packages - -//// -IMPORTANT NOTE -============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Analysis/Tokenizers/TokenizerUsageTests.cs. -If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, -please modify the original csharp file found at the link and submit the PR with that change. Thanks! -//// - -[[tokenizer-usage]] -=== Tokenizer Usage - -==== Fluent DSL example - -[source,csharp] ----- -FluentExample ----- - -==== Object Initializer syntax example - -[source,csharp] ----- -InitializerExample ----- - -[source,javascript] -.Example json output ----- -{ - "analysis": { - "tokenizer": { - "endgen": { - "min_gram": 1, - "max_gram": 2, - "token_chars": [ - "digit", - "letter" - ], - "type": "edge_ngram" - }, - "icu": { - "rule_files": "Latn:icu-files/KeywordTokenizer.rbbi", - "type": "icu_tokenizer" - }, - "kuromoji": { - "discard_punctuation": true, - "mode": "extended", - "nbest_cost": 1000, - "nbest_examples": "/箱根山-箱根/成田空港-成田/", - "type": "kuromoji_tokenizer" - }, - "ng": { - "min_gram": 1, - "max_gram": 2, - "token_chars": [ - "digit", - "letter" - ], - "type": "ngram" - }, - "path": { - "delimiter": "|", - "replacement": "-", - "buffer_size": 2048, - "reverse": true, - "skip": 1, - "type": "path_hierarchy" - }, - "pattern": { - "pattern": "\\W+", - "flags": "CASE_INSENSITIVE", - "group": 1, - "type": "pattern" - }, - "standard": { - "type": "standard" - }, - "uax": { - "max_token_length": 12, - "type": "uax_url_email" - }, - "whitespace": { - "type": "whitespace" - } - } - } -} ----- - diff --git a/docs/breaking-changes.asciidoc b/docs/breaking-changes.asciidoc index 114f2d5c922..bce7d830328 100644 --- a/docs/breaking-changes.asciidoc +++ b/docs/breaking-changes.asciidoc @@ -3,7 +3,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/breaking-changes.asciidoc. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/Tests/breaking-changes.asciidoc. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/certificates/working-with-certificates.asciidoc b/docs/client-concepts/certificates/working-with-certificates.asciidoc index 75ae3dcee91..700eea73f48 100644 --- a/docs/client-concepts/certificates/working-with-certificates.asciidoc +++ b/docs/client-concepts/certificates/working-with-certificates.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/Certificates/WorkingWithCertificates.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/Certificates/WorkingWithCertificates.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/building-blocks/connection-pooling.asciidoc b/docs/client-concepts/connection-pooling/building-blocks/connection-pooling.asciidoc index 7fac54f1abe..37cf9e75aa2 100644 --- a/docs/client-concepts/connection-pooling/building-blocks/connection-pooling.asciidoc +++ b/docs/client-concepts/connection-pooling/building-blocks/connection-pooling.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/ConnectionPooling.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/ConnectionPooling.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/building-blocks/date-time-providers.asciidoc b/docs/client-concepts/connection-pooling/building-blocks/date-time-providers.asciidoc index 7150f41200e..70f04b35234 100644 --- a/docs/client-concepts/connection-pooling/building-blocks/date-time-providers.asciidoc +++ b/docs/client-concepts/connection-pooling/building-blocks/date-time-providers.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/DateTimeProviders.Doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/DateTimeProviders.Doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/building-blocks/keeping-track-of-nodes.asciidoc b/docs/client-concepts/connection-pooling/building-blocks/keeping-track-of-nodes.asciidoc index 9cf24b3fda3..42998b4cea6 100644 --- a/docs/client-concepts/connection-pooling/building-blocks/keeping-track-of-nodes.asciidoc +++ b/docs/client-concepts/connection-pooling/building-blocks/keeping-track-of-nodes.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/KeepingTrackOfNodes.Doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/KeepingTrackOfNodes.Doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/building-blocks/request-pipelines.asciidoc b/docs/client-concepts/connection-pooling/building-blocks/request-pipelines.asciidoc index 2fa88df969e..fa529cc04ae 100644 --- a/docs/client-concepts/connection-pooling/building-blocks/request-pipelines.asciidoc +++ b/docs/client-concepts/connection-pooling/building-blocks/request-pipelines.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/RequestPipelines.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/RequestPipelines.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/building-blocks/transports.asciidoc b/docs/client-concepts/connection-pooling/building-blocks/transports.asciidoc index 22c04d489c2..bec73b88b47 100644 --- a/docs/client-concepts/connection-pooling/building-blocks/transports.asciidoc +++ b/docs/client-concepts/connection-pooling/building-blocks/transports.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/Transports.Doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/Transports.Doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/exceptions/unexpected-exceptions.asciidoc b/docs/client-concepts/connection-pooling/exceptions/unexpected-exceptions.asciidoc index cc089a59db9..b6b5f50fb5d 100644 --- a/docs/client-concepts/connection-pooling/exceptions/unexpected-exceptions.asciidoc +++ b/docs/client-concepts/connection-pooling/exceptions/unexpected-exceptions.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/Exceptions/UnexpectedExceptions.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/Exceptions/UnexpectedExceptions.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/exceptions/unrecoverable-exceptions.asciidoc b/docs/client-concepts/connection-pooling/exceptions/unrecoverable-exceptions.asciidoc index 365f03d0ce4..3d9e09b3fcc 100644 --- a/docs/client-concepts/connection-pooling/exceptions/unrecoverable-exceptions.asciidoc +++ b/docs/client-concepts/connection-pooling/exceptions/unrecoverable-exceptions.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/Exceptions/UnrecoverableExceptions.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/Exceptions/UnrecoverableExceptions.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/failover/falling-over.asciidoc b/docs/client-concepts/connection-pooling/failover/falling-over.asciidoc index c03fd68a30f..ad8a9c108cc 100644 --- a/docs/client-concepts/connection-pooling/failover/falling-over.asciidoc +++ b/docs/client-concepts/connection-pooling/failover/falling-over.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/Failover/FallingOver.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/Failover/FallingOver.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/max-retries/respects-max-retry.asciidoc b/docs/client-concepts/connection-pooling/max-retries/respects-max-retry.asciidoc index 74dbdb0432b..dcd4379d48e 100644 --- a/docs/client-concepts/connection-pooling/max-retries/respects-max-retry.asciidoc +++ b/docs/client-concepts/connection-pooling/max-retries/respects-max-retry.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/MaxRetries/RespectsMaxRetry.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/MaxRetries/RespectsMaxRetry.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -158,7 +158,8 @@ audit = await audit.TraceCall( new ClientCall { { BadResponse, 9200 }, { BadResponse, 9201 }, - { MaxRetriesReached } + { MaxRetriesReached }, + { FailedOverAllNodes } } ); ---- diff --git a/docs/client-concepts/connection-pooling/pinging/first-usage.asciidoc b/docs/client-concepts/connection-pooling/pinging/first-usage.asciidoc index c5c30015ff3..3dc4c9bcf8e 100644 --- a/docs/client-concepts/connection-pooling/pinging/first-usage.asciidoc +++ b/docs/client-concepts/connection-pooling/pinging/first-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/Pinging/FirstUsage.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/Pinging/FirstUsage.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/pinging/revival.asciidoc b/docs/client-concepts/connection-pooling/pinging/revival.asciidoc index 1aa80ff0e18..569f0eb819d 100644 --- a/docs/client-concepts/connection-pooling/pinging/revival.asciidoc +++ b/docs/client-concepts/connection-pooling/pinging/revival.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/Pinging/Revival.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/Pinging/Revival.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/request-overrides/disable-sniff-ping-per-request.asciidoc b/docs/client-concepts/connection-pooling/request-overrides/disable-sniff-ping-per-request.asciidoc index 264949ae13c..e6a7a7af41c 100644 --- a/docs/client-concepts/connection-pooling/request-overrides/disable-sniff-ping-per-request.asciidoc +++ b/docs/client-concepts/connection-pooling/request-overrides/disable-sniff-ping-per-request.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/DisableSniffPingPerRequest.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/DisableSniffPingPerRequest.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/request-overrides/request-timeouts-overrides.asciidoc b/docs/client-concepts/connection-pooling/request-overrides/request-timeouts-overrides.asciidoc index 582f8866a2c..ddc3045f5d6 100644 --- a/docs/client-concepts/connection-pooling/request-overrides/request-timeouts-overrides.asciidoc +++ b/docs/client-concepts/connection-pooling/request-overrides/request-timeouts-overrides.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/RequestTimeoutsOverrides.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/RequestTimeoutsOverrides.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/request-overrides/respects-allowed-status-code.asciidoc b/docs/client-concepts/connection-pooling/request-overrides/respects-allowed-status-code.asciidoc index d02c3a2c09e..4c3b2d6be68 100644 --- a/docs/client-concepts/connection-pooling/request-overrides/respects-allowed-status-code.asciidoc +++ b/docs/client-concepts/connection-pooling/request-overrides/respects-allowed-status-code.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/RespectsAllowedStatusCode.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/RespectsAllowedStatusCode.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/request-overrides/respects-force-node.asciidoc b/docs/client-concepts/connection-pooling/request-overrides/respects-force-node.asciidoc index b7eaace9fd2..72e49d7c51d 100644 --- a/docs/client-concepts/connection-pooling/request-overrides/respects-force-node.asciidoc +++ b/docs/client-concepts/connection-pooling/request-overrides/respects-force-node.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/RespectsForceNode.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/RespectsForceNode.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/request-overrides/respects-max-retry-overrides.asciidoc b/docs/client-concepts/connection-pooling/request-overrides/respects-max-retry-overrides.asciidoc index 3e388e3b438..6fe5b93eee3 100644 --- a/docs/client-concepts/connection-pooling/request-overrides/respects-max-retry-overrides.asciidoc +++ b/docs/client-concepts/connection-pooling/request-overrides/respects-max-retry-overrides.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/RespectsMaxRetryOverrides.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/RespectsMaxRetryOverrides.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/round-robin/round-robin.asciidoc b/docs/client-concepts/connection-pooling/round-robin/round-robin.asciidoc index 331fc02a976..ad29c7258f0 100644 --- a/docs/client-concepts/connection-pooling/round-robin/round-robin.asciidoc +++ b/docs/client-concepts/connection-pooling/round-robin/round-robin.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/RoundRobin/RoundRobin.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/RoundRobin/RoundRobin.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/round-robin/skip-dead-nodes.asciidoc b/docs/client-concepts/connection-pooling/round-robin/skip-dead-nodes.asciidoc index a0086e36e11..a127c431bd6 100644 --- a/docs/client-concepts/connection-pooling/round-robin/skip-dead-nodes.asciidoc +++ b/docs/client-concepts/connection-pooling/round-robin/skip-dead-nodes.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/RoundRobin/SkipDeadNodes.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/RoundRobin/SkipDeadNodes.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -163,6 +163,7 @@ await audit.TraceCalls( { BadResponse, 9202}, { BadResponse, 9203}, { MaxRetriesReached }, + { FailedOverAllNodes }, { pool => pool.Nodes.Where(n=>!n.IsAlive).Should().HaveCount(4) } }, new ClientCall { diff --git a/docs/client-concepts/connection-pooling/sniffing/address-parsing.asciidoc b/docs/client-concepts/connection-pooling/sniffing/address-parsing.asciidoc index d922f10e12c..b51cb5f5b2e 100644 --- a/docs/client-concepts/connection-pooling/sniffing/address-parsing.asciidoc +++ b/docs/client-concepts/connection-pooling/sniffing/address-parsing.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/Sniffing/AddressParsing.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/Sniffing/AddressParsing.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/sniffing/on-connection-failure.asciidoc b/docs/client-concepts/connection-pooling/sniffing/on-connection-failure.asciidoc index 4a47a58b394..ff22251b4fd 100644 --- a/docs/client-concepts/connection-pooling/sniffing/on-connection-failure.asciidoc +++ b/docs/client-concepts/connection-pooling/sniffing/on-connection-failure.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/Sniffing/OnConnectionFailure.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/Sniffing/OnConnectionFailure.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/sniffing/on-stale-cluster-state.asciidoc b/docs/client-concepts/connection-pooling/sniffing/on-stale-cluster-state.asciidoc index 3614305e9e3..d8f78ffa811 100644 --- a/docs/client-concepts/connection-pooling/sniffing/on-stale-cluster-state.asciidoc +++ b/docs/client-concepts/connection-pooling/sniffing/on-stale-cluster-state.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/Sniffing/OnStaleClusterState.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/Sniffing/OnStaleClusterState.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/sniffing/on-startup.asciidoc b/docs/client-concepts/connection-pooling/sniffing/on-startup.asciidoc index 9e8a38ed28a..cfc4945a80a 100644 --- a/docs/client-concepts/connection-pooling/sniffing/on-startup.asciidoc +++ b/docs/client-concepts/connection-pooling/sniffing/on-startup.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/Sniffing/OnStartup.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/Sniffing/OnStartup.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/sniffing/role-detection.asciidoc b/docs/client-concepts/connection-pooling/sniffing/role-detection.asciidoc index 990bcef6aca..36a1482213e 100644 --- a/docs/client-concepts/connection-pooling/sniffing/role-detection.asciidoc +++ b/docs/client-concepts/connection-pooling/sniffing/role-detection.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/Sniffing/RoleDetection.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/Sniffing/RoleDetection.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/sticky/skip-dead-nodes.asciidoc b/docs/client-concepts/connection-pooling/sticky/skip-dead-nodes.asciidoc index f52ba42678c..13601f09ea9 100644 --- a/docs/client-concepts/connection-pooling/sticky/skip-dead-nodes.asciidoc +++ b/docs/client-concepts/connection-pooling/sticky/skip-dead-nodes.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/Sticky/SkipDeadNodes.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/Sticky/SkipDeadNodes.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -140,6 +140,7 @@ await audit.TraceCalls( { BadResponse, 9202}, { BadResponse, 9203}, { MaxRetriesReached }, + { FailedOverAllNodes }, { pool => pool.Nodes.Where(n=>!n.IsAlive).Should().HaveCount(4) } }, /** After all our registered nodes are marked dead we want to sample a single dead node diff --git a/docs/client-concepts/connection-pooling/sticky/sticky-sniffing-connection-pool.asciidoc b/docs/client-concepts/connection-pooling/sticky/sticky-sniffing-connection-pool.asciidoc index 13b3d8bd020..2dcef573051 100644 --- a/docs/client-concepts/connection-pooling/sticky/sticky-sniffing-connection-pool.asciidoc +++ b/docs/client-concepts/connection-pooling/sticky/sticky-sniffing-connection-pool.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/Sticky/StickySniffingConnectionPool.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/Sticky/StickySniffingConnectionPool.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection-pooling/sticky/sticky.asciidoc b/docs/client-concepts/connection-pooling/sticky/sticky.asciidoc index b00c1ab687d..5e69dcb5c7f 100644 --- a/docs/client-concepts/connection-pooling/sticky/sticky.asciidoc +++ b/docs/client-concepts/connection-pooling/sticky/sticky.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/ConnectionPooling/Sticky/Sticky.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/ConnectionPooling/Sticky/Sticky.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection/configuration-options.asciidoc b/docs/client-concepts/connection/configuration-options.asciidoc index cab0d8a3b87..38450d9e66d 100644 --- a/docs/client-concepts/connection/configuration-options.asciidoc +++ b/docs/client-concepts/connection/configuration-options.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/Connection/ConfigurationOptions.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/Connection/ConfigurationOptions.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/connection/modifying-default-connection.asciidoc b/docs/client-concepts/connection/modifying-default-connection.asciidoc index 272475c8494..d376282f094 100644 --- a/docs/client-concepts/connection/modifying-default-connection.asciidoc +++ b/docs/client-concepts/connection/modifying-default-connection.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/Connection/ModifyingDefaultConnection.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/Connection/ModifyingDefaultConnection.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/analysis/testing-analyzers.asciidoc b/docs/client-concepts/high-level/analysis/testing-analyzers.asciidoc index 857d54d9235..ff1f108fd6f 100644 --- a/docs/client-concepts/high-level/analysis/testing-analyzers.asciidoc +++ b/docs/client-concepts/high-level/analysis/testing-analyzers.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Analysis/TestingAnalyzers.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Analysis/TestingAnalyzers.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/analysis/writing-analyzers.asciidoc b/docs/client-concepts/high-level/analysis/writing-analyzers.asciidoc index f6e077eda0f..88096c856fd 100644 --- a/docs/client-concepts/high-level/analysis/writing-analyzers.asciidoc +++ b/docs/client-concepts/high-level/analysis/writing-analyzers.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Analysis/WritingAnalyzers.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Analysis/WritingAnalyzers.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/covariant-hits/covariant-search-results.asciidoc b/docs/client-concepts/high-level/covariant-hits/covariant-search-results.asciidoc index f8302e41f93..ce282fd810a 100644 --- a/docs/client-concepts/high-level/covariant-hits/covariant-search-results.asciidoc +++ b/docs/client-concepts/high-level/covariant-hits/covariant-search-results.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/CovariantHits/CovariantSearchResults.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/CovariantHits/CovariantSearchResults.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/getting-started.asciidoc b/docs/client-concepts/high-level/getting-started.asciidoc index 7444d02e1e2..f6e28773c7f 100644 --- a/docs/client-concepts/high-level/getting-started.asciidoc +++ b/docs/client-concepts/high-level/getting-started.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/GettingStarted.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/GettingStarted.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/inference/document-paths.asciidoc b/docs/client-concepts/high-level/inference/document-paths.asciidoc index 8c0f82cd9d0..17a38f02221 100644 --- a/docs/client-concepts/high-level/inference/document-paths.asciidoc +++ b/docs/client-concepts/high-level/inference/document-paths.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Inference/DocumentPaths.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Inference/DocumentPaths.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/inference/field-inference.asciidoc b/docs/client-concepts/high-level/inference/field-inference.asciidoc index 45113f8ba13..65945b9a541 100644 --- a/docs/client-concepts/high-level/inference/field-inference.asciidoc +++ b/docs/client-concepts/high-level/inference/field-inference.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Inference/FieldInference.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Inference/FieldInference.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/inference/ids-inference.asciidoc b/docs/client-concepts/high-level/inference/ids-inference.asciidoc index 0d9a7d6d94d..72a1c8486ab 100644 --- a/docs/client-concepts/high-level/inference/ids-inference.asciidoc +++ b/docs/client-concepts/high-level/inference/ids-inference.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Inference/IdsInference.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Inference/IdsInference.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/inference/index-name-inference.asciidoc b/docs/client-concepts/high-level/inference/index-name-inference.asciidoc index bacaec7a93c..f3dde6877cd 100644 --- a/docs/client-concepts/high-level/inference/index-name-inference.asciidoc +++ b/docs/client-concepts/high-level/inference/index-name-inference.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Inference/IndexNameInference.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Inference/IndexNameInference.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/inference/indices-paths.asciidoc b/docs/client-concepts/high-level/inference/indices-paths.asciidoc index 970f5c21a94..76d63538cb0 100644 --- a/docs/client-concepts/high-level/inference/indices-paths.asciidoc +++ b/docs/client-concepts/high-level/inference/indices-paths.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Inference/IndicesPaths.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Inference/IndicesPaths.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/inference/property-inference.asciidoc b/docs/client-concepts/high-level/inference/property-inference.asciidoc index a14eda927f8..5858cdad48f 100644 --- a/docs/client-concepts/high-level/inference/property-inference.asciidoc +++ b/docs/client-concepts/high-level/inference/property-inference.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Inference/PropertyInference.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Inference/PropertyInference.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/inference/routing-inference.asciidoc b/docs/client-concepts/high-level/inference/routing-inference.asciidoc index 1bc9b7907ff..c1a81f60f3f 100644 --- a/docs/client-concepts/high-level/inference/routing-inference.asciidoc +++ b/docs/client-concepts/high-level/inference/routing-inference.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Inference/RoutingInference.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Inference/RoutingInference.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/inference/types-and-relations-inference.asciidoc b/docs/client-concepts/high-level/inference/types-and-relations-inference.asciidoc index 3fb7a99695b..a952618d299 100644 --- a/docs/client-concepts/high-level/inference/types-and-relations-inference.asciidoc +++ b/docs/client-concepts/high-level/inference/types-and-relations-inference.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Inference/TypesAndRelationsInference.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Inference/TypesAndRelationsInference.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/mapping/attribute-mapping.asciidoc b/docs/client-concepts/high-level/mapping/attribute-mapping.asciidoc index 68efce1919f..7aae4e0f645 100644 --- a/docs/client-concepts/high-level/mapping/attribute-mapping.asciidoc +++ b/docs/client-concepts/high-level/mapping/attribute-mapping.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Mapping/AttributeMapping.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Mapping/AttributeMapping.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/mapping/auto-map.asciidoc b/docs/client-concepts/high-level/mapping/auto-map.asciidoc index ef9b5f5753f..b0ac3faf47b 100644 --- a/docs/client-concepts/high-level/mapping/auto-map.asciidoc +++ b/docs/client-concepts/high-level/mapping/auto-map.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Mapping/AutoMap.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Mapping/AutoMap.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/mapping/fluent-mapping.asciidoc b/docs/client-concepts/high-level/mapping/fluent-mapping.asciidoc index a40fcc2513c..68cbf87730d 100644 --- a/docs/client-concepts/high-level/mapping/fluent-mapping.asciidoc +++ b/docs/client-concepts/high-level/mapping/fluent-mapping.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Mapping/FluentMapping.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Mapping/FluentMapping.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/mapping/ignoring-properties.asciidoc b/docs/client-concepts/high-level/mapping/ignoring-properties.asciidoc index 82788a8db3d..1c922055eb2 100644 --- a/docs/client-concepts/high-level/mapping/ignoring-properties.asciidoc +++ b/docs/client-concepts/high-level/mapping/ignoring-properties.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Mapping/IgnoringProperties.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Mapping/IgnoringProperties.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/mapping/multi-fields.asciidoc b/docs/client-concepts/high-level/mapping/multi-fields.asciidoc index a3009ed0346..7c703f2eede 100644 --- a/docs/client-concepts/high-level/mapping/multi-fields.asciidoc +++ b/docs/client-concepts/high-level/mapping/multi-fields.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Mapping/MultiFields.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Mapping/MultiFields.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/mapping/parent-child-relationships.asciidoc b/docs/client-concepts/high-level/mapping/parent-child-relationships.asciidoc index 368a1d7234e..f8288ecc912 100644 --- a/docs/client-concepts/high-level/mapping/parent-child-relationships.asciidoc +++ b/docs/client-concepts/high-level/mapping/parent-child-relationships.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Mapping/ParentChildRelationships.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Mapping/ParentChildRelationships.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/mapping/visitor-pattern-mapping.asciidoc b/docs/client-concepts/high-level/mapping/visitor-pattern-mapping.asciidoc index 9ac5b500dc3..278e1675846 100644 --- a/docs/client-concepts/high-level/mapping/visitor-pattern-mapping.asciidoc +++ b/docs/client-concepts/high-level/mapping/visitor-pattern-mapping.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Mapping/VisitorPatternMapping.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Mapping/VisitorPatternMapping.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/serialization/custom-serialization.asciidoc b/docs/client-concepts/high-level/serialization/custom-serialization.asciidoc index c1ded24dfed..bd53b0ee0ed 100644 --- a/docs/client-concepts/high-level/serialization/custom-serialization.asciidoc +++ b/docs/client-concepts/high-level/serialization/custom-serialization.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Serialization/CustomSerialization.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Serialization/CustomSerialization.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/high-level/serialization/extending-nest-types.asciidoc b/docs/client-concepts/high-level/serialization/extending-nest-types.asciidoc index 88621b1fb73..115a3e94e68 100644 --- a/docs/client-concepts/high-level/serialization/extending-nest-types.asciidoc +++ b/docs/client-concepts/high-level/serialization/extending-nest-types.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/HighLevel/Serialization/ExtendingNestTypes.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/HighLevel/Serialization/ExtendingNestTypes.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/low-level/getting-started.asciidoc b/docs/client-concepts/low-level/getting-started.asciidoc index 35a7e362c03..6d161ef07f6 100644 --- a/docs/client-concepts/low-level/getting-started.asciidoc +++ b/docs/client-concepts/low-level/getting-started.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/LowLevel/GettingStarted.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/LowLevel/GettingStarted.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -99,10 +99,10 @@ var person = new Person LastName = "Laarman" }; -var indexResponse = lowlevelClient.Index("people", "person", "1", PostData.Serializable(person)); <1> +var indexResponse = lowlevelClient.Index("people", "person", "1", PostData.Serializable(person)); <1> byte[] responseBytes = indexResponse.Body; -var asyncIndexResponse = await lowlevelClient.IndexAsync("people", "person", "1", PostData.Serializable(person)); <2> +var asyncIndexResponse = await lowlevelClient.IndexAsync("people", "person", "1", PostData.Serializable(person)); <2> string responseString = asyncIndexResponse.Body; ---- <1> synchronous method that returns an `IIndexResponse` @@ -238,8 +238,8 @@ is successful ---- var searchResponse = lowlevelClient.Search("people", "person", PostData.Serializable(new { match_all = new {} })); -var success = searchResponse.Success; <1> -var successOrKnownError = searchResponse.SuccessOrKnownError; <2> +var success = searchResponse.Success; <1> +var successOrKnownError = searchResponse.SuccessOrKnownError; <2> var exception = searchResponse.OriginalException; <3> ---- <1> Response is in the 200 range, or an expected response for the given request diff --git a/docs/client-concepts/low-level/lifetimes.asciidoc b/docs/client-concepts/low-level/lifetimes.asciidoc index 8a3db8e190c..b8160403b81 100644 --- a/docs/client-concepts/low-level/lifetimes.asciidoc +++ b/docs/client-concepts/low-level/lifetimes.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/LowLevel/Lifetimes.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/LowLevel/Lifetimes.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/low-level/post-data.asciidoc b/docs/client-concepts/low-level/post-data.asciidoc index 25bf6ca19c1..72f9a1bd1e2 100644 --- a/docs/client-concepts/low-level/post-data.asciidoc +++ b/docs/client-concepts/low-level/post-data.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/LowLevel/PostData.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/LowLevel/PostData.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/troubleshooting/audit-trail.asciidoc b/docs/client-concepts/troubleshooting/audit-trail.asciidoc index ce853033466..44d2b2ab1fb 100644 --- a/docs/client-concepts/troubleshooting/audit-trail.asciidoc +++ b/docs/client-concepts/troubleshooting/audit-trail.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/Troubleshooting/AuditTrail.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/Troubleshooting/AuditTrail.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/troubleshooting/debug-information.asciidoc b/docs/client-concepts/troubleshooting/debug-information.asciidoc index c0d1a97e94a..deed0c5a42d 100644 --- a/docs/client-concepts/troubleshooting/debug-information.asciidoc +++ b/docs/client-concepts/troubleshooting/debug-information.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/Troubleshooting/DebugInformation.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/Troubleshooting/DebugInformation.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/troubleshooting/deprecation-logging.asciidoc b/docs/client-concepts/troubleshooting/deprecation-logging.asciidoc index d528f28ad46..0094b0fa121 100644 --- a/docs/client-concepts/troubleshooting/deprecation-logging.asciidoc +++ b/docs/client-concepts/troubleshooting/deprecation-logging.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/Troubleshooting/DeprecationLogging.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/Troubleshooting/DeprecationLogging.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/troubleshooting/logging-with-fiddler.asciidoc b/docs/client-concepts/troubleshooting/logging-with-fiddler.asciidoc index 82061f78ec5..f270287cbae 100644 --- a/docs/client-concepts/troubleshooting/logging-with-fiddler.asciidoc +++ b/docs/client-concepts/troubleshooting/logging-with-fiddler.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/Troubleshooting/LoggingWithFiddler.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/Troubleshooting/LoggingWithFiddler.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/client-concepts/troubleshooting/logging-with-on-request-completed.asciidoc b/docs/client-concepts/troubleshooting/logging-with-on-request-completed.asciidoc index 82b52350735..f02f094b9bb 100644 --- a/docs/client-concepts/troubleshooting/logging-with-on-request-completed.asciidoc +++ b/docs/client-concepts/troubleshooting/logging-with-on-request-completed.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/ClientConcepts/Troubleshooting/LoggingWithOnRequestCompleted.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/ClientConcepts/Troubleshooting/LoggingWithOnRequestCompleted.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/code-standards/descriptors.asciidoc b/docs/code-standards/descriptors.asciidoc index 9e955885e0e..62c93e290b9 100644 --- a/docs/code-standards/descriptors.asciidoc +++ b/docs/code-standards/descriptors.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/CodeStandards/Descriptors.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/CodeStandards/Descriptors.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -182,7 +182,8 @@ var methods = from d in YieldAllDescriptors() where !(m.Name == "Lang" && dt == typeof(ScriptDescriptorBase<,>)) where !(m.Name == "Lang" && dt == typeof(StoredScriptDescriptor)) where !(m.Name == "Lang" && dt == typeof(ScriptQueryDescriptor<>)) - where !(m.Name == "RefreshOnCompleted" && dt == typeof(BulkAllDescriptor<>)) + where !(m.Name == nameof(BulkAllDescriptor.RefreshOnCompleted) && dt == typeof(BulkAllDescriptor<>)) + where !(m.Name == nameof(BulkAllDescriptor.ContinueAfterDroppedDocuments) && dt == typeof(BulkAllDescriptor<>)) where !(m.Name == nameof(ReindexDescriptor.OmitIndexCreation) && dt == typeof(ReindexDescriptor<,>)) where !(m.Name == nameof(PutMappingDescriptor.AutoMap)) where !(m.Name == nameof(PutMappingDescriptor.Dynamic)) diff --git a/docs/code-standards/elastic-client.asciidoc b/docs/code-standards/elastic-client.asciidoc index c09a59d30ef..425d64d1719 100644 --- a/docs/code-standards/elastic-client.asciidoc +++ b/docs/code-standards/elastic-client.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/CodeStandards/ElasticClient.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/CodeStandards/ElasticClient.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/code-standards/naming-conventions.asciidoc b/docs/code-standards/naming-conventions.asciidoc index 51f45f3a0df..0f9cab9deaa 100644 --- a/docs/code-standards/naming-conventions.asciidoc +++ b/docs/code-standards/naming-conventions.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/CodeStandards/NamingConventions.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/CodeStandards/NamingConventions.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/code-standards/queries.asciidoc b/docs/code-standards/queries.asciidoc index 5c37d37d1f1..e866efe6a2a 100644 --- a/docs/code-standards/queries.asciidoc +++ b/docs/code-standards/queries.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/CodeStandards/Queries.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/CodeStandards/Queries.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/code-standards/responses.asciidoc b/docs/code-standards/responses.asciidoc index 7003c1b67f3..6a8f621fc2d 100644 --- a/docs/code-standards/responses.asciidoc +++ b/docs/code-standards/responses.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/CodeStandards/Responses.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/CodeStandards/Responses.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/code-standards/serialization/converters.asciidoc b/docs/code-standards/serialization/converters.asciidoc index 16398afb00a..1edc7c80d13 100644 --- a/docs/code-standards/serialization/converters.asciidoc +++ b/docs/code-standards/serialization/converters.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/CodeStandards/Serialization/Converters.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/CodeStandards/Serialization/Converters.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/code-standards/serialization/properties.asciidoc b/docs/code-standards/serialization/properties.asciidoc index 9a919f6f335..0f8df738bf0 100644 --- a/docs/code-standards/serialization/properties.asciidoc +++ b/docs/code-standards/serialization/properties.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/CodeStandards/Serialization/Properties.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/CodeStandards/Serialization/Properties.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/common-options/date-math/date-math-expressions.asciidoc b/docs/common-options/date-math/date-math-expressions.asciidoc index 41c97c9aac3..bf5999981fa 100644 --- a/docs/common-options/date-math/date-math-expressions.asciidoc +++ b/docs/common-options/date-math/date-math-expressions.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/CommonOptions/DateMath/DateMathExpressions.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/CommonOptions/DateMath/DateMathExpressions.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/common-options/distance-unit/distance-units.asciidoc b/docs/common-options/distance-unit/distance-units.asciidoc index 690cc5c7486..f50d892c6c2 100644 --- a/docs/common-options/distance-unit/distance-units.asciidoc +++ b/docs/common-options/distance-unit/distance-units.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/CommonOptions/DistanceUnit/DistanceUnits.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/CommonOptions/DistanceUnit/DistanceUnits.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/common-options/time-unit/time-units.asciidoc b/docs/common-options/time-unit/time-units.asciidoc index 5522342269d..8fc7b7adeff 100644 --- a/docs/common-options/time-unit/time-units.asciidoc +++ b/docs/common-options/time-unit/time-units.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/CommonOptions/TimeUnit/TimeUnits.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/CommonOptions/TimeUnit/TimeUnits.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/common-options/union/union.asciidoc b/docs/common-options/union/union.asciidoc index 03377c171b9..2c8d8b5f0fd 100644 --- a/docs/common-options/union/union.asciidoc +++ b/docs/common-options/union/union.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/CommonOptions/Union/Union.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/CommonOptions/Union/Union.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/conventions.asciidoc b/docs/conventions.asciidoc index fbdc0976c80..0437e67ce6c 100644 --- a/docs/conventions.asciidoc +++ b/docs/conventions.asciidoc @@ -20,7 +20,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/conventions.asciidoc. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/Tests/conventions.asciidoc. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/high-level.asciidoc b/docs/high-level.asciidoc index f44cce2ce63..38d777f1cba 100644 --- a/docs/high-level.asciidoc +++ b/docs/high-level.asciidoc @@ -6,7 +6,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/high-level.asciidoc. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/Tests/high-level.asciidoc. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/index.asciidoc b/docs/index.asciidoc index c1bc882f8ae..a1f4be86e93 100644 --- a/docs/index.asciidoc +++ b/docs/index.asciidoc @@ -4,7 +4,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/index.asciidoc. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/Tests/index.asciidoc. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/intro.asciidoc b/docs/intro.asciidoc index 1ed91bf01cd..8bfa76b6a9d 100644 --- a/docs/intro.asciidoc +++ b/docs/intro.asciidoc @@ -5,7 +5,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/intro.asciidoc. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/Tests/intro.asciidoc. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/low-level.asciidoc b/docs/low-level.asciidoc index a013396fe84..a881ef33b95 100644 --- a/docs/low-level.asciidoc +++ b/docs/low-level.asciidoc @@ -4,7 +4,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/low-level.asciidoc. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/Tests/low-level.asciidoc. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/mapping/local-metadata/local-metadata-usage.asciidoc b/docs/mapping/local-metadata/local-metadata-usage.asciidoc index f205dc57bde..b0a0fc84f09 100644 --- a/docs/mapping/local-metadata/local-metadata-usage.asciidoc +++ b/docs/mapping/local-metadata/local-metadata-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Mapping/LocalMetadata/LocalMetadataUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Mapping/LocalMetadata/LocalMetadataUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/mapping/scalar/scalar-usage.asciidoc b/docs/mapping/scalar/scalar-usage.asciidoc index 8696c3b1f80..0031003d6bf 100644 --- a/docs/mapping/scalar/scalar-usage.asciidoc +++ b/docs/mapping/scalar/scalar-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Mapping/Scalar/ScalarUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Mapping/Scalar/ScalarUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl.asciidoc b/docs/query-dsl.asciidoc index 0dd3877c316..eeb7fb6180d 100644 --- a/docs/query-dsl.asciidoc +++ b/docs/query-dsl.asciidoc @@ -6,7 +6,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/query-dsl.asciidoc. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/Tests/query-dsl.asciidoc. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/bool-dsl/bool-dsl.asciidoc b/docs/query-dsl/bool-dsl/bool-dsl.asciidoc index 45935605c33..0328ebb57c7 100644 --- a/docs/query-dsl/bool-dsl/bool-dsl.asciidoc +++ b/docs/query-dsl/bool-dsl/bool-dsl.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/BoolDsl/BoolDsl.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/BoolDsl/BoolDsl.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/compound/bool/bool-dsl-complex-query-usage.asciidoc b/docs/query-dsl/compound/bool/bool-dsl-complex-query-usage.asciidoc index d72c7940956..77ee7035a10 100644 --- a/docs/query-dsl/compound/bool/bool-dsl-complex-query-usage.asciidoc +++ b/docs/query-dsl/compound/bool/bool-dsl-complex-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Compound/Bool/BoolDslComplexQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Compound/Bool/BoolDslComplexQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/compound/bool/bool-query-usage.asciidoc b/docs/query-dsl/compound/bool/bool-query-usage.asciidoc index 783403466c3..91583b2c4ee 100644 --- a/docs/query-dsl/compound/bool/bool-query-usage.asciidoc +++ b/docs/query-dsl/compound/bool/bool-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Compound/Bool/BoolQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Compound/Bool/BoolQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/compound/boosting/boosting-query-usage.asciidoc b/docs/query-dsl/compound/boosting/boosting-query-usage.asciidoc index 629752926fb..a1458b5fc24 100644 --- a/docs/query-dsl/compound/boosting/boosting-query-usage.asciidoc +++ b/docs/query-dsl/compound/boosting/boosting-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Compound/Boosting/BoostingQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Compound/Boosting/BoostingQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/compound/constant-score/constant-score-query-usage.asciidoc b/docs/query-dsl/compound/constant-score/constant-score-query-usage.asciidoc index c2e2472139c..1600e8d6fa7 100644 --- a/docs/query-dsl/compound/constant-score/constant-score-query-usage.asciidoc +++ b/docs/query-dsl/compound/constant-score/constant-score-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Compound/ConstantScore/ConstantScoreQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Compound/ConstantScore/ConstantScoreQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/compound/dismax/dismax-query-usage.asciidoc b/docs/query-dsl/compound/dismax/dismax-query-usage.asciidoc index dbc70a694c9..bf17dfd934c 100644 --- a/docs/query-dsl/compound/dismax/dismax-query-usage.asciidoc +++ b/docs/query-dsl/compound/dismax/dismax-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Compound/Dismax/DismaxQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Compound/Dismax/DismaxQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/compound/function-score/function-score-query-usage.asciidoc b/docs/query-dsl/compound/function-score/function-score-query-usage.asciidoc index 73d52d37109..0c01a4adbfe 100644 --- a/docs/query-dsl/compound/function-score/function-score-query-usage.asciidoc +++ b/docs/query-dsl/compound/function-score/function-score-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Compound/FunctionScore/FunctionScoreQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Compound/FunctionScore/FunctionScoreQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/full-text/common-terms/common-terms-usage.asciidoc b/docs/query-dsl/full-text/common-terms/common-terms-usage.asciidoc index e9bae08f60c..e0d1cb80213 100644 --- a/docs/query-dsl/full-text/common-terms/common-terms-usage.asciidoc +++ b/docs/query-dsl/full-text/common-terms/common-terms-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/FullText/CommonTerms/CommonTermsUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/FullText/CommonTerms/CommonTermsUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/full-text/match-phrase-prefix/match-phrase-prefix-usage.asciidoc b/docs/query-dsl/full-text/match-phrase-prefix/match-phrase-prefix-usage.asciidoc index 7de2692bb0d..6abefe5bb75 100644 --- a/docs/query-dsl/full-text/match-phrase-prefix/match-phrase-prefix-usage.asciidoc +++ b/docs/query-dsl/full-text/match-phrase-prefix/match-phrase-prefix-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/FullText/MatchPhrasePrefix/MatchPhrasePrefixUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/FullText/MatchPhrasePrefix/MatchPhrasePrefixUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/full-text/match-phrase/match-phrase-usage.asciidoc b/docs/query-dsl/full-text/match-phrase/match-phrase-usage.asciidoc index ba5da1cedae..9249dd1998e 100644 --- a/docs/query-dsl/full-text/match-phrase/match-phrase-usage.asciidoc +++ b/docs/query-dsl/full-text/match-phrase/match-phrase-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/FullText/MatchPhrase/MatchPhraseUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/FullText/MatchPhrase/MatchPhraseUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/full-text/match/match-usage.asciidoc b/docs/query-dsl/full-text/match/match-usage.asciidoc index bda2218d84e..1607a94bd99 100644 --- a/docs/query-dsl/full-text/match/match-usage.asciidoc +++ b/docs/query-dsl/full-text/match/match-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/FullText/Match/MatchUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/FullText/Match/MatchUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/full-text/multi-match/multi-match-usage.asciidoc b/docs/query-dsl/full-text/multi-match/multi-match-usage.asciidoc index d8570036355..27cab21bddf 100644 --- a/docs/query-dsl/full-text/multi-match/multi-match-usage.asciidoc +++ b/docs/query-dsl/full-text/multi-match/multi-match-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/FullText/MultiMatch/MultiMatchUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/FullText/MultiMatch/MultiMatchUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/full-text/query-string/query-string-usage.asciidoc b/docs/query-dsl/full-text/query-string/query-string-usage.asciidoc index c8becec76de..ee1c72463b3 100644 --- a/docs/query-dsl/full-text/query-string/query-string-usage.asciidoc +++ b/docs/query-dsl/full-text/query-string/query-string-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/FullText/QueryString/QueryStringUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/FullText/QueryString/QueryStringUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/full-text/simple-query-string/simple-query-string-usage.asciidoc b/docs/query-dsl/full-text/simple-query-string/simple-query-string-usage.asciidoc index 5e28842130a..6b1410a6efa 100644 --- a/docs/query-dsl/full-text/simple-query-string/simple-query-string-usage.asciidoc +++ b/docs/query-dsl/full-text/simple-query-string/simple-query-string-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/FullText/SimpleQueryString/SimpleQueryStringUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/FullText/SimpleQueryString/SimpleQueryStringUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/geo/bounding-box/geo-bounding-box-query-usage.asciidoc b/docs/query-dsl/geo/bounding-box/geo-bounding-box-query-usage.asciidoc index de3f26b4aee..e71e6fea12d 100644 --- a/docs/query-dsl/geo/bounding-box/geo-bounding-box-query-usage.asciidoc +++ b/docs/query-dsl/geo/bounding-box/geo-bounding-box-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Geo/BoundingBox/GeoBoundingBoxQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Geo/BoundingBox/GeoBoundingBoxQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/geo/distance/geo-distance-query-usage.asciidoc b/docs/query-dsl/geo/distance/geo-distance-query-usage.asciidoc index 7de71bc3ebd..29eaba06440 100644 --- a/docs/query-dsl/geo/distance/geo-distance-query-usage.asciidoc +++ b/docs/query-dsl/geo/distance/geo-distance-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Geo/Distance/GeoDistanceQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Geo/Distance/GeoDistanceQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/geo/polygon/geo-polygon-query-usage.asciidoc b/docs/query-dsl/geo/polygon/geo-polygon-query-usage.asciidoc index 46829091cf5..e2d6d3f3088 100644 --- a/docs/query-dsl/geo/polygon/geo-polygon-query-usage.asciidoc +++ b/docs/query-dsl/geo/polygon/geo-polygon-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Geo/Polygon/GeoPolygonQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Geo/Polygon/GeoPolygonQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/geo/shape/circle/geo-shape-circle-query-usage.asciidoc b/docs/query-dsl/geo/shape/circle/geo-shape-circle-query-usage.asciidoc index 1203bf001d8..57401b449c1 100644 --- a/docs/query-dsl/geo/shape/circle/geo-shape-circle-query-usage.asciidoc +++ b/docs/query-dsl/geo/shape/circle/geo-shape-circle-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Geo/Shape/Circle/GeoShapeCircleQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Geo/Shape/Circle/GeoShapeCircleQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/geo/shape/envelope/geo-shape-envelope-query-usage.asciidoc b/docs/query-dsl/geo/shape/envelope/geo-shape-envelope-query-usage.asciidoc index 35a0954514c..7965b2742c7 100644 --- a/docs/query-dsl/geo/shape/envelope/geo-shape-envelope-query-usage.asciidoc +++ b/docs/query-dsl/geo/shape/envelope/geo-shape-envelope-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Geo/Shape/Envelope/GeoShapeEnvelopeQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Geo/Shape/Envelope/GeoShapeEnvelopeQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/geo/shape/geometry-collection/geo-shape-geometry-collection-query-usage.asciidoc b/docs/query-dsl/geo/shape/geometry-collection/geo-shape-geometry-collection-query-usage.asciidoc index 6902c0a571d..d4ebcb30464 100644 --- a/docs/query-dsl/geo/shape/geometry-collection/geo-shape-geometry-collection-query-usage.asciidoc +++ b/docs/query-dsl/geo/shape/geometry-collection/geo-shape-geometry-collection-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Geo/Shape/GeometryCollection/GeoShapeGeometryCollectionQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Geo/Shape/GeometryCollection/GeoShapeGeometryCollectionQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/geo/shape/indexed-shape/geo-shape-indexed-shape-query-usage.asciidoc b/docs/query-dsl/geo/shape/indexed-shape/geo-shape-indexed-shape-query-usage.asciidoc index dec8be946f0..b002e7ff7ba 100644 --- a/docs/query-dsl/geo/shape/indexed-shape/geo-shape-indexed-shape-query-usage.asciidoc +++ b/docs/query-dsl/geo/shape/indexed-shape/geo-shape-indexed-shape-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Geo/Shape/IndexedShape/GeoShapeIndexedShapeQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Geo/Shape/IndexedShape/GeoShapeIndexedShapeQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/geo/shape/line-string/geo-shape-line-string-query-usage.asciidoc b/docs/query-dsl/geo/shape/line-string/geo-shape-line-string-query-usage.asciidoc index 8895f49de47..7786b0c02f4 100644 --- a/docs/query-dsl/geo/shape/line-string/geo-shape-line-string-query-usage.asciidoc +++ b/docs/query-dsl/geo/shape/line-string/geo-shape-line-string-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Geo/Shape/LineString/GeoShapeLineStringQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Geo/Shape/LineString/GeoShapeLineStringQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/geo/shape/multi-line-string/geo-shape-multi-line-string-query-usage.asciidoc b/docs/query-dsl/geo/shape/multi-line-string/geo-shape-multi-line-string-query-usage.asciidoc index 7dbb54ff242..9797055b8c7 100644 --- a/docs/query-dsl/geo/shape/multi-line-string/geo-shape-multi-line-string-query-usage.asciidoc +++ b/docs/query-dsl/geo/shape/multi-line-string/geo-shape-multi-line-string-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Geo/Shape/MultiLineString/GeoShapeMultiLineStringQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Geo/Shape/MultiLineString/GeoShapeMultiLineStringQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/geo/shape/multi-point/geo-shape-multi-point-query-usage.asciidoc b/docs/query-dsl/geo/shape/multi-point/geo-shape-multi-point-query-usage.asciidoc index a1853b46acb..47d17ea278f 100644 --- a/docs/query-dsl/geo/shape/multi-point/geo-shape-multi-point-query-usage.asciidoc +++ b/docs/query-dsl/geo/shape/multi-point/geo-shape-multi-point-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Geo/Shape/MultiPoint/GeoShapeMultiPointQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Geo/Shape/MultiPoint/GeoShapeMultiPointQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/geo/shape/multi-polygon/geo-shape-multi-polygon-query-usage.asciidoc b/docs/query-dsl/geo/shape/multi-polygon/geo-shape-multi-polygon-query-usage.asciidoc index 9090a129f33..65e4ed81b4f 100644 --- a/docs/query-dsl/geo/shape/multi-polygon/geo-shape-multi-polygon-query-usage.asciidoc +++ b/docs/query-dsl/geo/shape/multi-polygon/geo-shape-multi-polygon-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Geo/Shape/MultiPolygon/GeoShapeMultiPolygonQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Geo/Shape/MultiPolygon/GeoShapeMultiPolygonQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/geo/shape/point/geo-shape-point-query-usage.asciidoc b/docs/query-dsl/geo/shape/point/geo-shape-point-query-usage.asciidoc index 0174126573b..9b91d48e809 100644 --- a/docs/query-dsl/geo/shape/point/geo-shape-point-query-usage.asciidoc +++ b/docs/query-dsl/geo/shape/point/geo-shape-point-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Geo/Shape/Point/GeoShapePointQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Geo/Shape/Point/GeoShapePointQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/geo/shape/polygon/geo-shape-polygon-query-usage.asciidoc b/docs/query-dsl/geo/shape/polygon/geo-shape-polygon-query-usage.asciidoc index ad79954f1a3..a07ff1de3cf 100644 --- a/docs/query-dsl/geo/shape/polygon/geo-shape-polygon-query-usage.asciidoc +++ b/docs/query-dsl/geo/shape/polygon/geo-shape-polygon-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Geo/Shape/Polygon/GeoShapePolygonQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Geo/Shape/Polygon/GeoShapePolygonQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/joining/has-child/has-child-query-usage.asciidoc b/docs/query-dsl/joining/has-child/has-child-query-usage.asciidoc index 0723e5be9dd..165df037a89 100644 --- a/docs/query-dsl/joining/has-child/has-child-query-usage.asciidoc +++ b/docs/query-dsl/joining/has-child/has-child-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Joining/HasChild/HasChildQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Joining/HasChild/HasChildQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/joining/has-parent/has-parent-query-usage.asciidoc b/docs/query-dsl/joining/has-parent/has-parent-query-usage.asciidoc index ad682d21161..fdfc3ca1ff3 100644 --- a/docs/query-dsl/joining/has-parent/has-parent-query-usage.asciidoc +++ b/docs/query-dsl/joining/has-parent/has-parent-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Joining/HasParent/HasParentQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Joining/HasParent/HasParentQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/joining/nested/nested-query-usage.asciidoc b/docs/query-dsl/joining/nested/nested-query-usage.asciidoc index 3a926569da9..b1f9c224272 100644 --- a/docs/query-dsl/joining/nested/nested-query-usage.asciidoc +++ b/docs/query-dsl/joining/nested/nested-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Joining/Nested/NestedQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Joining/Nested/NestedQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/joining/parent-id/parent-id-query-usage.asciidoc b/docs/query-dsl/joining/parent-id/parent-id-query-usage.asciidoc index 0664ced1f6d..c98836ad316 100644 --- a/docs/query-dsl/joining/parent-id/parent-id-query-usage.asciidoc +++ b/docs/query-dsl/joining/parent-id/parent-id-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Joining/ParentId/ParentIdQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Joining/ParentId/ParentIdQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/match-none-query-usage.asciidoc b/docs/query-dsl/match-none-query-usage.asciidoc index 47f65b4eb26..41742bd769a 100644 --- a/docs/query-dsl/match-none-query-usage.asciidoc +++ b/docs/query-dsl/match-none-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/MatchNoneQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/MatchNoneQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/nest-specific/raw/raw-combine-usage.asciidoc b/docs/query-dsl/nest-specific/raw/raw-combine-usage.asciidoc index dc0d28b52ea..7402a42ad9f 100644 --- a/docs/query-dsl/nest-specific/raw/raw-combine-usage.asciidoc +++ b/docs/query-dsl/nest-specific/raw/raw-combine-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/NestSpecific/Raw/RawCombineUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/NestSpecific/Raw/RawCombineUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/nest-specific/raw/raw-query-usage.asciidoc b/docs/query-dsl/nest-specific/raw/raw-query-usage.asciidoc index 9ebc237f989..af62b3a8f69 100644 --- a/docs/query-dsl/nest-specific/raw/raw-query-usage.asciidoc +++ b/docs/query-dsl/nest-specific/raw/raw-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/NestSpecific/Raw/RawQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/NestSpecific/Raw/RawQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/span/container/span-containing-query-usage.asciidoc b/docs/query-dsl/span/container/span-containing-query-usage.asciidoc index 7fb8e1972c2..1b71fa188bb 100644 --- a/docs/query-dsl/span/container/span-containing-query-usage.asciidoc +++ b/docs/query-dsl/span/container/span-containing-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Span/Container/SpanContainingQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Span/Container/SpanContainingQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/span/field-masking/span-field-masking-usage.asciidoc b/docs/query-dsl/span/field-masking/span-field-masking-usage.asciidoc index 54fcbc3aac8..ac9a20be169 100644 --- a/docs/query-dsl/span/field-masking/span-field-masking-usage.asciidoc +++ b/docs/query-dsl/span/field-masking/span-field-masking-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Span/FieldMasking/SpanFieldMaskingUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Span/FieldMasking/SpanFieldMaskingUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/span/first/span-first-query-usage.asciidoc b/docs/query-dsl/span/first/span-first-query-usage.asciidoc index 473f0e87d21..6f30bcd3d9e 100644 --- a/docs/query-dsl/span/first/span-first-query-usage.asciidoc +++ b/docs/query-dsl/span/first/span-first-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Span/First/SpanFirstQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Span/First/SpanFirstQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/span/multi-term/span-multi-term-query-usage.asciidoc b/docs/query-dsl/span/multi-term/span-multi-term-query-usage.asciidoc index 6abfc01f912..44ab50c0775 100644 --- a/docs/query-dsl/span/multi-term/span-multi-term-query-usage.asciidoc +++ b/docs/query-dsl/span/multi-term/span-multi-term-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Span/MultiTerm/SpanMultiTermQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Span/MultiTerm/SpanMultiTermQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/span/near/span-near-query-usage.asciidoc b/docs/query-dsl/span/near/span-near-query-usage.asciidoc index 2eff7574680..994be1d273d 100644 --- a/docs/query-dsl/span/near/span-near-query-usage.asciidoc +++ b/docs/query-dsl/span/near/span-near-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Span/Near/SpanNearQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Span/Near/SpanNearQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/span/not/span-not-query-usage.asciidoc b/docs/query-dsl/span/not/span-not-query-usage.asciidoc index 6b49a627c34..1a7e35cfad5 100644 --- a/docs/query-dsl/span/not/span-not-query-usage.asciidoc +++ b/docs/query-dsl/span/not/span-not-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Span/Not/SpanNotQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Span/Not/SpanNotQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/span/or/span-or-query-usage.asciidoc b/docs/query-dsl/span/or/span-or-query-usage.asciidoc index 2558d32ce0f..d8d04a961ca 100644 --- a/docs/query-dsl/span/or/span-or-query-usage.asciidoc +++ b/docs/query-dsl/span/or/span-or-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Span/Or/SpanOrQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Span/Or/SpanOrQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/span/term/span-term-query-usage.asciidoc b/docs/query-dsl/span/term/span-term-query-usage.asciidoc index b747990576b..34e2a6c2a8a 100644 --- a/docs/query-dsl/span/term/span-term-query-usage.asciidoc +++ b/docs/query-dsl/span/term/span-term-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Span/Term/SpanTermQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Span/Term/SpanTermQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/span/within/span-within-query-usage.asciidoc b/docs/query-dsl/span/within/span-within-query-usage.asciidoc index 20fab57b46c..da45de29efe 100644 --- a/docs/query-dsl/span/within/span-within-query-usage.asciidoc +++ b/docs/query-dsl/span/within/span-within-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Span/Within/SpanWithinQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Span/Within/SpanWithinQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/specialized/more-like-this/more-like-this-full-document-query-usage.asciidoc b/docs/query-dsl/specialized/more-like-this/more-like-this-full-document-query-usage.asciidoc index b2ef47f024e..e4cf1933467 100644 --- a/docs/query-dsl/specialized/more-like-this/more-like-this-full-document-query-usage.asciidoc +++ b/docs/query-dsl/specialized/more-like-this/more-like-this-full-document-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Specialized/MoreLikeThis/MoreLikeThisFullDocumentQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Specialized/MoreLikeThis/MoreLikeThisFullDocumentQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/specialized/more-like-this/more-like-this-query-usage.asciidoc b/docs/query-dsl/specialized/more-like-this/more-like-this-query-usage.asciidoc index 7834f902af1..be52c4470a0 100644 --- a/docs/query-dsl/specialized/more-like-this/more-like-this-query-usage.asciidoc +++ b/docs/query-dsl/specialized/more-like-this/more-like-this-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Specialized/MoreLikeThis/MoreLikeThisQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Specialized/MoreLikeThis/MoreLikeThisQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/specialized/percolate/percolate-query-usage.asciidoc b/docs/query-dsl/specialized/percolate/percolate-query-usage.asciidoc index 07d7b9d2abb..4444157c0ee 100644 --- a/docs/query-dsl/specialized/percolate/percolate-query-usage.asciidoc +++ b/docs/query-dsl/specialized/percolate/percolate-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Specialized/Percolate/PercolateQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Specialized/Percolate/PercolateQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/specialized/script/script-query-usage.asciidoc b/docs/query-dsl/specialized/script/script-query-usage.asciidoc index da8a993dc5e..d99d9c46f96 100644 --- a/docs/query-dsl/specialized/script/script-query-usage.asciidoc +++ b/docs/query-dsl/specialized/script/script-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Specialized/Script/ScriptQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Specialized/Script/ScriptQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/exists/exists-query-usage.asciidoc b/docs/query-dsl/term-level/exists/exists-query-usage.asciidoc index cc6c02bf2cd..9cffee828dc 100644 --- a/docs/query-dsl/term-level/exists/exists-query-usage.asciidoc +++ b/docs/query-dsl/term-level/exists/exists-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Exists/ExistsQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Exists/ExistsQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/fuzzy/fuzzy-date-query-usage.asciidoc b/docs/query-dsl/term-level/fuzzy/fuzzy-date-query-usage.asciidoc index 5e6eddcd8f2..0d1e4571f21 100644 --- a/docs/query-dsl/term-level/fuzzy/fuzzy-date-query-usage.asciidoc +++ b/docs/query-dsl/term-level/fuzzy/fuzzy-date-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Fuzzy/FuzzyDateQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Fuzzy/FuzzyDateQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/fuzzy/fuzzy-numeric-query-usage.asciidoc b/docs/query-dsl/term-level/fuzzy/fuzzy-numeric-query-usage.asciidoc index 2301a30c471..9bf45e7473c 100644 --- a/docs/query-dsl/term-level/fuzzy/fuzzy-numeric-query-usage.asciidoc +++ b/docs/query-dsl/term-level/fuzzy/fuzzy-numeric-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Fuzzy/FuzzyNumericQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Fuzzy/FuzzyNumericQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/fuzzy/fuzzy-query-usage.asciidoc b/docs/query-dsl/term-level/fuzzy/fuzzy-query-usage.asciidoc index 67f2e2cbe78..0b2e3e54ce2 100644 --- a/docs/query-dsl/term-level/fuzzy/fuzzy-query-usage.asciidoc +++ b/docs/query-dsl/term-level/fuzzy/fuzzy-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Fuzzy/FuzzyQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Fuzzy/FuzzyQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/ids/ids-query-usage.asciidoc b/docs/query-dsl/term-level/ids/ids-query-usage.asciidoc index 25f5ed22c30..8cfa3bee468 100644 --- a/docs/query-dsl/term-level/ids/ids-query-usage.asciidoc +++ b/docs/query-dsl/term-level/ids/ids-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Ids/IdsQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Ids/IdsQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/prefix/prefix-query-usage.asciidoc b/docs/query-dsl/term-level/prefix/prefix-query-usage.asciidoc index e08c341d16a..680d33e2fe4 100644 --- a/docs/query-dsl/term-level/prefix/prefix-query-usage.asciidoc +++ b/docs/query-dsl/term-level/prefix/prefix-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Prefix/PrefixQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Prefix/PrefixQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/range/date-range-query-usage.asciidoc b/docs/query-dsl/term-level/range/date-range-query-usage.asciidoc index 4e534a1a7c3..f93a8fd55e6 100644 --- a/docs/query-dsl/term-level/range/date-range-query-usage.asciidoc +++ b/docs/query-dsl/term-level/range/date-range-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Range/DateRangeQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Range/DateRangeQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/range/long-range-query-usage.asciidoc b/docs/query-dsl/term-level/range/long-range-query-usage.asciidoc index 58cf3286f45..438361db6fe 100644 --- a/docs/query-dsl/term-level/range/long-range-query-usage.asciidoc +++ b/docs/query-dsl/term-level/range/long-range-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Range/LongRangeQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Range/LongRangeQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/range/numeric-range-query-usage.asciidoc b/docs/query-dsl/term-level/range/numeric-range-query-usage.asciidoc index 56fd20ab7af..0439e3569ff 100644 --- a/docs/query-dsl/term-level/range/numeric-range-query-usage.asciidoc +++ b/docs/query-dsl/term-level/range/numeric-range-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Range/NumericRangeQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Range/NumericRangeQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/range/term-range-query-usage.asciidoc b/docs/query-dsl/term-level/range/term-range-query-usage.asciidoc index f7835d50b7b..d1d1c03040c 100644 --- a/docs/query-dsl/term-level/range/term-range-query-usage.asciidoc +++ b/docs/query-dsl/term-level/range/term-range-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Range/TermRangeQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Range/TermRangeQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/regexp/regexp-query-usage.asciidoc b/docs/query-dsl/term-level/regexp/regexp-query-usage.asciidoc index 1246e699bf2..924e23119dd 100644 --- a/docs/query-dsl/term-level/regexp/regexp-query-usage.asciidoc +++ b/docs/query-dsl/term-level/regexp/regexp-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Regexp/RegexpQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Regexp/RegexpQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/term/term-query-usage.asciidoc b/docs/query-dsl/term-level/term/term-query-usage.asciidoc index 731e77f94f4..e1a5942d012 100644 --- a/docs/query-dsl/term-level/term/term-query-usage.asciidoc +++ b/docs/query-dsl/term-level/term/term-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Term/TermQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Term/TermQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/terms-set/terms-set-query-usage.asciidoc b/docs/query-dsl/term-level/terms-set/terms-set-query-usage.asciidoc index 3748cc394c2..e091bad24a8 100644 --- a/docs/query-dsl/term-level/terms-set/terms-set-query-usage.asciidoc +++ b/docs/query-dsl/term-level/terms-set/terms-set-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/TermsSet/TermsSetQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/TermsSet/TermsSetQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/terms/terms-list-query-usage.asciidoc b/docs/query-dsl/term-level/terms/terms-list-query-usage.asciidoc index a5747647b3a..2bf892adb5b 100644 --- a/docs/query-dsl/term-level/terms/terms-list-query-usage.asciidoc +++ b/docs/query-dsl/term-level/terms/terms-list-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Terms/TermsListQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Terms/TermsListQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/terms/terms-lookup-query-usage.asciidoc b/docs/query-dsl/term-level/terms/terms-lookup-query-usage.asciidoc index c2cadce4b88..812fe08ad88 100644 --- a/docs/query-dsl/term-level/terms/terms-lookup-query-usage.asciidoc +++ b/docs/query-dsl/term-level/terms/terms-lookup-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Terms/TermsLookupQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Terms/TermsLookupQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/terms/terms-query-usage.asciidoc b/docs/query-dsl/term-level/terms/terms-query-usage.asciidoc index 44527563f8e..12044f7042d 100644 --- a/docs/query-dsl/term-level/terms/terms-query-usage.asciidoc +++ b/docs/query-dsl/term-level/terms/terms-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Terms/TermsQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Terms/TermsQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/type/type-query-usage.asciidoc b/docs/query-dsl/term-level/type/type-query-usage.asciidoc index a8da245d6b3..7f5d9368f5f 100644 --- a/docs/query-dsl/term-level/type/type-query-usage.asciidoc +++ b/docs/query-dsl/term-level/type/type-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Type/TypeQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Type/TypeQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/term-level/wildcard/wildcard-query-usage.asciidoc b/docs/query-dsl/term-level/wildcard/wildcard-query-usage.asciidoc index 314f80c0ca3..4eeebc2825b 100644 --- a/docs/query-dsl/term-level/wildcard/wildcard-query-usage.asciidoc +++ b/docs/query-dsl/term-level/wildcard/wildcard-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/TermLevel/Wildcard/WildcardQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/TermLevel/Wildcard/WildcardQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/query-dsl/verbatim/verbatim-and-strict-query-usage.asciidoc b/docs/query-dsl/verbatim/verbatim-and-strict-query-usage.asciidoc index 3acc9977190..b2d6bf9fa5a 100644 --- a/docs/query-dsl/verbatim/verbatim-and-strict-query-usage.asciidoc +++ b/docs/query-dsl/verbatim/verbatim-and-strict-query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/QueryDsl/Verbatim/VerbatimAndStrictQueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/QueryDsl/Verbatim/VerbatimAndStrictQueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search.asciidoc b/docs/search.asciidoc index a5af03095a0..ddefc21d7c4 100644 --- a/docs/search.asciidoc +++ b/docs/search.asciidoc @@ -4,7 +4,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/search.asciidoc. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/Tests/search.asciidoc. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/request/explain-usage.asciidoc b/docs/search/request/explain-usage.asciidoc index ebb27859889..dd4fc08e7a8 100644 --- a/docs/search/request/explain-usage.asciidoc +++ b/docs/search/request/explain-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/ExplainUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/ExplainUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/request/fields-usage.asciidoc b/docs/search/request/fields-usage.asciidoc index 747e7fa7121..7b076aca505 100644 --- a/docs/search/request/fields-usage.asciidoc +++ b/docs/search/request/fields-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/FieldsUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/FieldsUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -29,6 +29,7 @@ See the Elasticsearch documentation on {ref_current}/search-request-stored-field [source,csharp] ---- s => s +.Query(q => ProjectFilter) .StoredFields(fs => fs .Field(p => p.Name) .Field(p => p.StartedOn) @@ -45,6 +46,7 @@ s => s ---- new SearchRequest { + Query = ProjectFilter, StoredFields = Fields( p => p.Name, p => p.StartedOn, @@ -58,6 +60,13 @@ new SearchRequest .Example json output ---- { + "query": { + "term": { + "type": { + "value": "project" + } + } + }, "stored_fields": [ "name", "startedOn", diff --git a/docs/search/request/from-and-size-usage.asciidoc b/docs/search/request/from-and-size-usage.asciidoc index cd7df57c465..7fb73458206 100644 --- a/docs/search/request/from-and-size-usage.asciidoc +++ b/docs/search/request/from-and-size-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/FromAndSizeUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/FromAndSizeUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/request/highlighting-usage.asciidoc b/docs/search/request/highlighting-usage.asciidoc index 039b999fa81..18efac13012 100644 --- a/docs/search/request/highlighting-usage.asciidoc +++ b/docs/search/request/highlighting-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/HighlightingUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/HighlightingUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/request/indices-boost-usage.asciidoc b/docs/search/request/indices-boost-usage.asciidoc index 52f3f63cec0..8d1c7bebbfa 100644 --- a/docs/search/request/indices-boost-usage.asciidoc +++ b/docs/search/request/indices-boost-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/IndicesBoostUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/IndicesBoostUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/request/inner-hits-usage.asciidoc b/docs/search/request/inner-hits-usage.asciidoc index 076b6092a56..c9be41fca21 100644 --- a/docs/search/request/inner-hits-usage.asciidoc +++ b/docs/search/request/inner-hits-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/InnerHitsUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/InnerHitsUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/request/min-score-usage.asciidoc b/docs/search/request/min-score-usage.asciidoc index 45cfabbe0cc..b956297e86e 100644 --- a/docs/search/request/min-score-usage.asciidoc +++ b/docs/search/request/min-score-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/MinScoreUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/MinScoreUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/request/post-filter-usage.asciidoc b/docs/search/request/post-filter-usage.asciidoc index 3bf95ef0dd3..1ee2fdb5b0d 100644 --- a/docs/search/request/post-filter-usage.asciidoc +++ b/docs/search/request/post-filter-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/PostFilterUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/PostFilterUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/request/profile-usage.asciidoc b/docs/search/request/profile-usage.asciidoc index 156ed686222..a7ab0899634 100644 --- a/docs/search/request/profile-usage.asciidoc +++ b/docs/search/request/profile-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/ProfileUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/ProfileUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/request/query-usage.asciidoc b/docs/search/request/query-usage.asciidoc index 8883fedfc54..bf4f044434e 100644 --- a/docs/search/request/query-usage.asciidoc +++ b/docs/search/request/query-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/QueryUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/QueryUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/request/script-fields-usage.asciidoc b/docs/search/request/script-fields-usage.asciidoc index f41d75a9b52..0ebba806e12 100644 --- a/docs/search/request/script-fields-usage.asciidoc +++ b/docs/search/request/script-fields-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/ScriptFieldsUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/ScriptFieldsUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/request/search-after-usage.asciidoc b/docs/search/request/search-after-usage.asciidoc index 0a3b6b4063a..ed0d35bf2b7 100644 --- a/docs/search/request/search-after-usage.asciidoc +++ b/docs/search/request/search-after-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/SearchAfterUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/SearchAfterUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/request/sliced-scroll-search-usage.asciidoc b/docs/search/request/sliced-scroll-search-usage.asciidoc index 50538a5ce05..82fd0becc4e 100644 --- a/docs/search/request/sliced-scroll-search-usage.asciidoc +++ b/docs/search/request/sliced-scroll-search-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/SlicedScrollSearchUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/SlicedScrollSearchUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/request/sort-usage.asciidoc b/docs/search/request/sort-usage.asciidoc index eef9f6d801f..9cad5ba16bf 100644 --- a/docs/search/request/sort-usage.asciidoc +++ b/docs/search/request/sort-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/SortUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/SortUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/request/source-filtering-usage.asciidoc b/docs/search/request/source-filtering-usage.asciidoc index 332d7c137ac..fd084d965ba 100644 --- a/docs/search/request/source-filtering-usage.asciidoc +++ b/docs/search/request/source-filtering-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/SourceFilteringUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/SourceFilteringUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -27,6 +27,7 @@ See the Elasticsearch documentation on {ref_current}/search-request-source-filte [source,csharp] ---- s => s +.Query(q => ProjectFilter) .Source(src => src .IncludeAll() .Excludes(e => e @@ -44,6 +45,7 @@ s => s ---- new SearchRequest { + Query = ProjectFilter, Source = new SourceFilter { Includes = "*", @@ -56,6 +58,13 @@ new SearchRequest .Example json output ---- { + "query": { + "term": { + "type": { + "value": "project" + } + } + }, "_source": { "includes": [ "*" diff --git a/docs/search/request/suggest-usage.asciidoc b/docs/search/request/suggest-usage.asciidoc index f10f7d25f52..92cd7bb5a1d 100644 --- a/docs/search/request/suggest-usage.asciidoc +++ b/docs/search/request/suggest-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Request/SuggestUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Request/SuggestUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -25,6 +25,7 @@ See the Elasticsearch documentation on {ref_current}/search-suggesters.html[Sugg [source,csharp] ---- s => s +.Query(q => ProjectFilter) .Suggest(ss => ss .Term("my-term-suggest", t => t .MaxEdits(1) @@ -87,6 +88,7 @@ s => s ---- new SearchRequest { + Query = ProjectFilter, Suggest = new SuggestContainer { { "my-term-suggest", new SuggestBucket @@ -166,6 +168,13 @@ new SearchRequest .Example json output ---- { + "query": { + "term": { + "type": { + "value": "project" + } + } + }, "suggest": { "my-completion-suggest": { "completion": { diff --git a/docs/search/returned-fields.asciidoc b/docs/search/returned-fields.asciidoc index 4610ec58190..f959def8aa1 100644 --- a/docs/search/returned-fields.asciidoc +++ b/docs/search/returned-fields.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/ReturnedFields.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/ReturnedFields.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/search/collapsing/field-collapse-usage.asciidoc b/docs/search/search/collapsing/field-collapse-usage.asciidoc index 8657a7ed0e8..2ac3030fb28 100644 --- a/docs/search/search/collapsing/field-collapse-usage.asciidoc +++ b/docs/search/search/collapsing/field-collapse-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Search/Collapsing/FieldCollapseUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Search/Collapsing/FieldCollapseUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// @@ -84,3 +84,105 @@ foreach (var hit in response.Hits) } ---- +==== Fluent DSL example + +[source,csharp] +---- +s => s +.Source(source=>source.ExcludeAll()) +.Index(DefaultSeeder.ProjectsAliasFilter) +.Collapse(c => c + .Field(f => f.State) + .MaxConcurrentGroupSearches(1000) + .InnerHits(i => i + .Source(source=>source.ExcludeAll()) + .Name(nameof(StateOfBeing).ToLowerInvariant()) + .Size(5) + .From(1) + .Collapse(c2 => c2 + .Field(p=>p.Name) + ) + ) +) +---- + +==== Object Initializer syntax example + +[source,csharp] +---- +new SearchRequest(DefaultSeeder.ProjectsAliasFilter) +{ + Source = SourceFilter.ExcludeAll, + Collapse = new FieldCollapse + { + Field = Field(p => p.State), + MaxConcurrentGroupSearches = 1000, + InnerHits = new InnerHits + { + Source = SourceFilter.ExcludeAll, + Name = nameof(StateOfBeing).ToLowerInvariant(), + Size = 5, + From = 1, + Collapse = new FieldCollapse + { + Field = Field(p=>p.Name) + } + } + } +} +---- + +[source,javascript] +.Example json output +---- +{ + "_source": { + "excludes": [ + "*" + ] + }, + "collapse": { + "field": "state", + "inner_hits": { + "_source": { + "excludes": [ + "*" + ] + }, + "collapse": { + "field": "name" + }, + "from": 1, + "name": "stateofbeing", + "size": 5 + }, + "max_concurrent_group_searches": 1000 + } +} +---- + +==== Handling Responses + +[source,csharp] +---- +var numberOfStates = Enum.GetValues(typeof(StateOfBeing)).Length; +response.HitsMetadata.Total.Should().BeGreaterThan(numberOfStates); +response.Hits.Count.Should().Be(numberOfStates); +foreach (var hit in response.Hits) +{ + var name = nameof(StateOfBeing).ToLowerInvariant(); + hit.InnerHits.Should().NotBeNull().And.ContainKey(name); + var innerHits = hit.InnerHits[name]; + innerHits.Hits.Total.Should().BeGreaterThan(0); + var i = 0; + foreach (var innerHit in innerHits.Hits.Hits) + { + i++; + innerHit.Fields.Should().NotBeEmpty() + .And.ContainKey("name"); + } + + i.Should().NotBe(0, "we expect to inspect 2nd level collapsed fields"); +} +---- + diff --git a/docs/search/search/rescoring/rescore-usage.asciidoc b/docs/search/search/rescoring/rescore-usage.asciidoc index d3f3bbe4a65..f2546f858f3 100644 --- a/docs/search/search/rescoring/rescore-usage.asciidoc +++ b/docs/search/search/rescoring/rescore-usage.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/Search/Rescoring/RescoreUsageTests.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/Search/Rescoring/RescoreUsageTests.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/search/writing-queries.asciidoc b/docs/search/writing-queries.asciidoc index be3373466bb..b588a318be3 100644 --- a/docs/search/writing-queries.asciidoc +++ b/docs/search/writing-queries.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Search/WritingQueries.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/Search/WritingQueries.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/troubleshooting.asciidoc b/docs/troubleshooting.asciidoc index 5df05032be2..0230686e36a 100644 --- a/docs/troubleshooting.asciidoc +++ b/docs/troubleshooting.asciidoc @@ -4,7 +4,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/troubleshooting.asciidoc. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/master/src/Tests/Tests/troubleshooting.asciidoc. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/docs/x-pack/security/role-mapping/role-mapping-rules.asciidoc b/docs/x-pack/security/role-mapping/role-mapping-rules.asciidoc index 71e7933bebe..86731b9399e 100644 --- a/docs/x-pack/security/role-mapping/role-mapping-rules.asciidoc +++ b/docs/x-pack/security/role-mapping/role-mapping-rules.asciidoc @@ -7,7 +7,7 @@ //// IMPORTANT NOTE ============== -This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/XPack/Security/RoleMapping/RoleMappingRules.doc.cs. +This file has been generated from https://github.com/elastic/elasticsearch-net/tree/6.x/src/Tests/Tests/XPack/Security/RoleMapping/RoleMappingRules.doc.cs. If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file, please modify the original csharp file found at the link and submit the PR with that change. Thanks! //// diff --git a/src/CodeGeneration/ApiGenerator/ApiGenerator.cs b/src/CodeGeneration/ApiGenerator/ApiGenerator.cs index c969cc3ba01..6f1f9ea141c 100644 --- a/src/CodeGeneration/ApiGenerator/ApiGenerator.cs +++ b/src/CodeGeneration/ApiGenerator/ApiGenerator.cs @@ -59,6 +59,7 @@ public static void Generate(string downloadBranch, params string[] folders) "xpack.ml.get_filters.json", "xpack.ml.put_filter.json", "rank_eval.json", + // these API's are new and need to be mapped "xpack.license.get_basic_status.json", "xpack.license.post_start_basic.json", @@ -72,18 +73,16 @@ public static void Generate(string downloadBranch, params string[] folders) "xpack.ml.put_calendar.json", "xpack.ml.put_calendar_job.json", "xpack.ml.get_calendar_job.json", - - "xpack.rollup.delete_job.json", - "xpack.rollup.get_jobs.json", - "xpack.rollup.get_rollup_caps.json", - "xpack.rollup.put_job.json", - "xpack.rollup.rollup_search.json", - "xpack.rollup.start_job.json", - "xpack.rollup.stop_job.json", - "xpack.sql.clear_cursor.json", - "xpack.sql.query.json", - "xpack.sql.translate.json", "xpack.ssl.certificates.json", + + // 6.4 new API's + "xpack.ml.update_filter.json", + "xpack.security.delete_privileges.json", + "xpack.security.get_privileges.json", + "xpack.security.has_privileges.json", + "xpack.security.put_privilege.json", + "xpack.security.put_privileges.json", + "nodes.reload_secure_settings.json" }; private static RestApiSpec CreateRestApiSpecModel(string downloadBranch, string[] folders) @@ -142,6 +141,7 @@ private static KeyValuePair CreateApiEndpoint(string jsonFi { var replaceSpec = JObject.Parse(File.ReadAllText(replaceFile)); var endpointReplaced = replaceSpec.ToObject>().First(); + endpointReplaced.Value.RestSpecName = endpointReplaced.Key; endpointReplaced.Value.CsharpMethodName = CreateMethodName(endpointReplaced.Key); return endpointReplaced; } @@ -149,6 +149,7 @@ private static KeyValuePair CreateApiEndpoint(string jsonFi var officialJsonSpec = JObject.Parse(File.ReadAllText(jsonFile)); PatchOfficialSpec(officialJsonSpec, jsonFile); var endpoint = officialJsonSpec.ToObject>().First(); + endpoint.Value.RestSpecName = endpoint.Key; endpoint.Value.CsharpMethodName = CreateMethodName(endpoint.Key); return endpoint; } @@ -161,10 +162,20 @@ private static void PatchOfficialSpec(JObject original, string jsonFile) var patchedJson = JObject.Parse(File.ReadAllText(patchFile)); + var pathsOverride = patchedJson.SelectToken("*.url.paths"); + original.Merge(patchedJson, new JsonMergeSettings { MergeArrayHandling = MergeArrayHandling.Union }); + + if (pathsOverride != null) + { + original.SelectToken("*.url.paths").Replace(pathsOverride); + } + + + } private static Dictionary CreateCommonApiQueryParameters(string jsonFile) diff --git a/src/CodeGeneration/ApiGenerator/CodeConfiguration.cs b/src/CodeGeneration/ApiGenerator/CodeConfiguration.cs index 1ea81cf34a6..8b6e72edf23 100644 --- a/src/CodeGeneration/ApiGenerator/CodeConfiguration.cs +++ b/src/CodeGeneration/ApiGenerator/CodeConfiguration.cs @@ -35,6 +35,15 @@ private static string Root public static string RestSpecificationFolder { get; } = $@"{Root}RestSpecification\"; public static string LastDownloadedVersionFile { get; } = Path.Combine(Root, "last_downloaded_version.txt"); + public static readonly Dictionary ApiNameMapping = + (from f in new DirectoryInfo(NestFolder).GetFiles("*.cs", SearchOption.AllDirectories) + let contents = File.ReadAllText(f.FullName) + let c = Regex.Replace(contents, @"^.+\[MapsApi\(""([^ \r\n]+)""\)\].*$", "$1", RegexOptions.Singleline) + where !c.Contains(" ") //filter results that did not match + select new { Value = f.Name.Replace("Request", ""), Key = c.Replace(".json", "") }) + .DistinctBy(v => v.Key) + .ToDictionary(k => k.Key, v => v.Value.Replace(".cs", "")); + public static readonly Dictionary MethodNameOverrides = (from f in new DirectoryInfo(NestFolder).GetFiles("*.cs", SearchOption.AllDirectories) let contents = File.ReadAllText(f.FullName) diff --git a/src/CodeGeneration/ApiGenerator/Domain/ApiEndpoint.cs b/src/CodeGeneration/ApiGenerator/Domain/ApiEndpoint.cs index 0c42791b900..1deabb99138 100644 --- a/src/CodeGeneration/ApiGenerator/Domain/ApiEndpoint.cs +++ b/src/CodeGeneration/ApiGenerator/Domain/ApiEndpoint.cs @@ -58,6 +58,7 @@ public class ApiEndpoint { private List _csharpMethods; + public string RestSpecName { get; set; } public string CsharpMethodName { get; set; } public string Documentation { get; set; } public IEnumerable Methods { get; set; } @@ -221,10 +222,13 @@ public IEnumerable CsharpMethods } } + private IEndpointOverrides GetOverrides() { var method = this.CsharpMethodName; - if (CodeConfiguration.MethodNameOverrides.TryGetValue(method, out var manualOverride)) + if (CodeConfiguration.ApiNameMapping.TryGetValue(this.RestSpecName, out var mapsApiMethodName)) + method = mapsApiMethodName; + else if (CodeConfiguration.MethodNameOverrides.TryGetValue(method, out var manualOverride)) method = manualOverride; var typeName = "ApiGenerator.Overrides.Endpoints." + method + "Overrides"; @@ -293,7 +297,9 @@ public void PatchMethod(CsharpMethod method) method = this.GetOverrides()?.PatchMethod(method) ?? method; var key = method.QueryStringParamName.Replace("RequestParameters", ""); - if (CodeConfiguration.MethodNameOverrides.TryGetValue(key, out var manualOverride)) + if (CodeConfiguration.ApiNameMapping.TryGetValue(this.RestSpecName, out var mapsApiMethodName)) + method.QueryStringParamName = mapsApiMethodName + "RequestParameters"; + else if (CodeConfiguration.MethodNameOverrides.TryGetValue(key, out var manualOverride)) method.QueryStringParamName = manualOverride + "RequestParameters"; method.DescriptorType = method.QueryStringParamName.Replace("RequestParameters", "Descriptor"); diff --git a/src/CodeGeneration/ApiGenerator/Domain/ApiUrl.cs b/src/CodeGeneration/ApiGenerator/Domain/ApiUrl.cs index 34bdcdb63ca..787b0adaa4a 100644 --- a/src/CodeGeneration/ApiGenerator/Domain/ApiUrl.cs +++ b/src/CodeGeneration/ApiGenerator/Domain/ApiUrl.cs @@ -15,16 +15,16 @@ public class ApiUrl public IEnumerable Paths { - get - { - return _paths?.Where(p => !BlackListRouteValues.Any(p.Contains)) - .ToList() ?? _paths; - } - set { _paths = value; } + get => _paths?.Where(p => !BlackListRouteValues.Any(p.Contains)) + .ToList() ?? _paths; + set => _paths = this.EnsureBackslash(value); } + public IList EnsureBackslash(IEnumerable paths) => + paths?.Select(p => p.StartsWith("/") ? p : $"/{p}").ToList(); + public IDictionary Parts { get; set; } public IDictionary Params { get; set; } } -} \ No newline at end of file +} diff --git a/src/CodeGeneration/ApiGenerator/Overrides/GlobalOverrides.cs b/src/CodeGeneration/ApiGenerator/Overrides/GlobalOverrides.cs index b9c8dc65733..b11d09cf4fe 100644 --- a/src/CodeGeneration/ApiGenerator/Overrides/GlobalOverrides.cs +++ b/src/CodeGeneration/ApiGenerator/Overrides/GlobalOverrides.cs @@ -35,7 +35,8 @@ public class GlobalOverrides : EndpointOverridesBase public override IDictionary ObsoleteQueryStringParams { get; set; } = new Dictionary { { "parent", "the parent parameter has been deprecated from elasticsearch, please use routing instead directly."}, - { "update_all_types", "Elasticsearch 6.x only allows a single type per index so this parameter is now useless"} + { "update_all_types", "Elasticsearch 6.x only allows a single type per index so this parameter is now useless"}, + { "copy_settings", "Elasticsearch 6.4 will throw an exception if this is turned off see elastic/elasticsearch#30404"} }; public override IEnumerable SkipQueryStringParams { get; } = new[] diff --git a/src/CodeGeneration/ApiGenerator/Program.cs b/src/CodeGeneration/ApiGenerator/Program.cs index 1e9a48db446..d45640a127e 100644 --- a/src/CodeGeneration/ApiGenerator/Program.cs +++ b/src/CodeGeneration/ApiGenerator/Program.cs @@ -41,7 +41,7 @@ static void Main(string[] args) if (redownloadCoreSpecification) RestSpecDownloader.Download(downloadBranch); - ApiGenerator.Generate(downloadBranch, "Core", "Graph", "License", "Security", "Watcher", "Info", "MachineLearning", "Migration"); + ApiGenerator.Generate(downloadBranch, "Core", "Graph", "License", "Security", "Watcher", "Info", "MachineLearning", "Migration", "Sql", "Rollup"); } } } diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/get_script.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/get_script.json index 2240f0e1a0b..0b2d6c5a5b9 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/get_script.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/get_script.json @@ -13,6 +13,10 @@ } }, "params" : { + "master_timeout": { + "type" : "time", + "description" : "Specify timeout for connection to master" + } } }, "body": null diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.analyze.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.analyze.json index 93965388916..c340ccd2f37 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.analyze.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.analyze.json @@ -15,16 +15,6 @@ "index": { "type" : "string", "description" : "The name of the index to scope the operation" - }, - "prefer_local": { - "type" : "boolean", - "description" : "With `true`, specify that a local shard should be used if available, with `false`, use a random shard (default: true)" - }, - "format": { - "type": "enum", - "options" : ["detailed","text"], - "default": "detailed", - "description": "Format of the output" } } }, diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.analyze.patch.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.analyze.patch.json new file mode 100644 index 00000000000..7b2cd2c4713 --- /dev/null +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.analyze.patch.json @@ -0,0 +1,21 @@ +{ + "indices.analyze": { + "url": { + "params": { + "prefer_local": { + "type": "boolean", + "description": "With `true`, specify that a local shard should be used if available, with `false`, use a random shard (default: true)", + "obsolete": "Erroneously documented as a valid option, no longer document from 6.4 onwards as per https://github.com/elastic/elasticsearch/pull/31795" + + }, + "format": { + "type": "enum", + "options": [ "detailed", "text" ], + "default": "detailed", + "description": "Format of the output", + "obsolete": "Erroneously documented as a valid option, no longer document from 6.4 onwards as per https://github.com/elastic/elasticsearch/pull/31795" + } + } + } + } +} diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get.json index f615718c7d4..6474b8acf52 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get.json @@ -39,6 +39,10 @@ "type": "boolean", "description": "Whether to return all default setting for each of the indices.", "default": false + }, + "master_timeout": { + "type" : "time", + "description" : "Specify timeout for connection to master" } } }, diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get_mapping.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get_mapping.json index c3c0622844b..e29ed43b3e4 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get_mapping.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get_mapping.json @@ -30,6 +30,10 @@ "default" : "open", "description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both." }, + "master_timeout": { + "type" : "time", + "description" : "Specify timeout for connection to master" + }, "local": { "type": "boolean", "description": "Return local information, do not retrieve the state from master node (default: false)" diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get_settings.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get_settings.json index 706cce5277a..ed22cc837d6 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get_settings.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get_settings.json @@ -16,6 +16,10 @@ } }, "params": { + "master_timeout": { + "type": "time", + "description": "Specify timeout for connection to master" + }, "ignore_unavailable": { "type" : "boolean", "description" : "Whether specified concrete indices should be ignored when unavailable (missing or closed)" diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.shrink.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.shrink.json index 5ef943eacba..f92421b79ae 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.shrink.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.shrink.json @@ -18,6 +18,10 @@ } }, "params": { + "copy_settings": { + "type" : "boolean", + "description" : "whether or not to copy settings from the source index (defaults to false)" + }, "timeout": { "type" : "time", "description" : "Explicit operation timeout" diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.split.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.split.json index a79fa7b7082..2c14fced28c 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.split.json +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.split.json @@ -18,6 +18,10 @@ } }, "params": { + "copy_settings": { + "type" : "boolean", + "description" : "whether or not to copy settings from the source index (defaults to false)" + }, "timeout": { "type" : "time", "description" : "Explicit operation timeout" diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/nodes.reload_secure_settings.json b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/nodes.reload_secure_settings.json new file mode 100644 index 00000000000..487beaba865 --- /dev/null +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/nodes.reload_secure_settings.json @@ -0,0 +1,23 @@ +{ + "nodes.reload_secure_settings": { + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-reload-secure-settings.html", + "methods": ["POST"], + "url": { + "path": "/_nodes/reload_secure_settings", + "paths": ["/_nodes/reload_secure_settings", "/_nodes/{node_id}/reload_secure_settings"], + "parts": { + "node_id": { + "type": "list", + "description": "A comma-separated list of node IDs to span the reload/reinit call. Should stay empty because reloading usually involves all cluster nodes." + } + }, + "params": { + "timeout": { + "type" : "time", + "description" : "Explicit operation timeout" + } + } + }, + "body": null + } +} diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/root.html b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/root.html index f4b99b9bc20..5731743b1a3 100644 --- a/src/CodeGeneration/ApiGenerator/RestSpecification/Core/root.html +++ b/src/CodeGeneration/ApiGenerator/RestSpecification/Core/root.html @@ -18,47 +18,49 @@ - - + + - + - elasticsearch/rest-api-spec/src/main/resources/rest-api-spec/api at 6.2 · elastic/elasticsearch · GitHub - + elasticsearch/rest-api-spec/src/main/resources/rest-api-spec/api at 6.4 · elastic/elasticsearch · GitHub + - + - + - - - - + + + - + + + + + - @@ -67,24 +69,23 @@ - + - + - + - + - + - - + @@ -98,7 +99,7 @@ - + @@ -115,7 +116,8 @@ -