Browse Source

[DOCS] Change agg titles to sentence case (#64425)

James Rodewig 5 years ago
parent
commit
2e9f95aa73
69 changed files with 300 additions and 89 deletions
  1. 4 1
      docs/reference/aggregations/bucket/adjacency-matrix-aggregation.asciidoc
  2. 4 1
      docs/reference/aggregations/bucket/autodatehistogram-aggregation.asciidoc
  3. 4 1
      docs/reference/aggregations/bucket/children-aggregation.asciidoc
  4. 3 0
      docs/reference/aggregations/bucket/composite-aggregation.asciidoc
  5. 3 0
      docs/reference/aggregations/bucket/datehistogram-aggregation.asciidoc
  6. 4 1
      docs/reference/aggregations/bucket/daterange-aggregation.asciidoc
  7. 4 1
      docs/reference/aggregations/bucket/diversified-sampler-aggregation.asciidoc
  8. 4 1
      docs/reference/aggregations/bucket/filter-aggregation.asciidoc
  9. 4 1
      docs/reference/aggregations/bucket/filters-aggregation.asciidoc
  10. 4 1
      docs/reference/aggregations/bucket/geodistance-aggregation.asciidoc
  11. 4 1
      docs/reference/aggregations/bucket/geohashgrid-aggregation.asciidoc
  12. 4 1
      docs/reference/aggregations/bucket/geotilegrid-aggregation.asciidoc
  13. 4 1
      docs/reference/aggregations/bucket/global-aggregation.asciidoc
  14. 4 1
      docs/reference/aggregations/bucket/histogram-aggregation.asciidoc
  15. 4 1
      docs/reference/aggregations/bucket/iprange-aggregation.asciidoc
  16. 4 1
      docs/reference/aggregations/bucket/missing-aggregation.asciidoc
  17. 4 1
      docs/reference/aggregations/bucket/nested-aggregation.asciidoc
  18. 4 1
      docs/reference/aggregations/bucket/parent-aggregation.asciidoc
  19. 4 1
      docs/reference/aggregations/bucket/range-aggregation.asciidoc
  20. 4 1
      docs/reference/aggregations/bucket/rare-terms-aggregation.asciidoc
  21. 4 1
      docs/reference/aggregations/bucket/reverse-nested-aggregation.asciidoc
  22. 4 1
      docs/reference/aggregations/bucket/sampler-aggregation.asciidoc
  23. 4 1
      docs/reference/aggregations/bucket/significantterms-aggregation.asciidoc
  24. 4 1
      docs/reference/aggregations/bucket/significanttext-aggregation.asciidoc
  25. 4 1
      docs/reference/aggregations/bucket/terms-aggregation.asciidoc
  26. 4 1
      docs/reference/aggregations/bucket/variablewidthhistogram-aggregation.asciidoc
  27. 10 16
      docs/reference/aggregations/metrics.asciidoc
  28. 4 1
      docs/reference/aggregations/metrics/avg-aggregation.asciidoc
  29. 4 1
      docs/reference/aggregations/metrics/boxplot-aggregation.asciidoc
  30. 4 1
      docs/reference/aggregations/metrics/cardinality-aggregation.asciidoc
  31. 4 1
      docs/reference/aggregations/metrics/extendedstats-aggregation.asciidoc
  32. 4 1
      docs/reference/aggregations/metrics/geobounds-aggregation.asciidoc
  33. 4 1
      docs/reference/aggregations/metrics/geocentroid-aggregation.asciidoc
  34. 3 0
      docs/reference/aggregations/metrics/matrix-stats-aggregation.asciidoc
  35. 4 1
      docs/reference/aggregations/metrics/max-aggregation.asciidoc
  36. 4 1
      docs/reference/aggregations/metrics/median-absolute-deviation-aggregation.asciidoc
  37. 4 1
      docs/reference/aggregations/metrics/min-aggregation.asciidoc
  38. 4 1
      docs/reference/aggregations/metrics/percentile-aggregation.asciidoc
  39. 4 1
      docs/reference/aggregations/metrics/percentile-rank-aggregation.asciidoc
  40. 4 1
      docs/reference/aggregations/metrics/rate-aggregation.asciidoc
  41. 4 1
      docs/reference/aggregations/metrics/scripted-metric-aggregation.asciidoc
  42. 4 1
      docs/reference/aggregations/metrics/stats-aggregation.asciidoc
  43. 4 1
      docs/reference/aggregations/metrics/string-stats-aggregation.asciidoc
  44. 4 1
      docs/reference/aggregations/metrics/sum-aggregation.asciidoc
  45. 4 1
      docs/reference/aggregations/metrics/t-test-aggregation.asciidoc
  46. 4 1
      docs/reference/aggregations/metrics/top-metrics-aggregation.asciidoc
  47. 4 1
      docs/reference/aggregations/metrics/tophits-aggregation.asciidoc
  48. 4 1
      docs/reference/aggregations/metrics/valuecount-aggregation.asciidoc
  49. 4 1
      docs/reference/aggregations/metrics/weighted-avg-aggregation.asciidoc
  50. 24 9
      docs/reference/aggregations/pipeline.asciidoc
  51. 4 1
      docs/reference/aggregations/pipeline/avg-bucket-aggregation.asciidoc
  52. 4 1
      docs/reference/aggregations/pipeline/bucket-script-aggregation.asciidoc
  53. 4 1
      docs/reference/aggregations/pipeline/bucket-selector-aggregation.asciidoc
  54. 4 1
      docs/reference/aggregations/pipeline/bucket-sort-aggregation.asciidoc
  55. 4 1
      docs/reference/aggregations/pipeline/cumulative-cardinality-aggregation.asciidoc
  56. 4 1
      docs/reference/aggregations/pipeline/cumulative-sum-aggregation.asciidoc
  57. 4 1
      docs/reference/aggregations/pipeline/derivative-aggregation.asciidoc
  58. 4 1
      docs/reference/aggregations/pipeline/extended-stats-bucket-aggregation.asciidoc
  59. 4 1
      docs/reference/aggregations/pipeline/inference-bucket-aggregation.asciidoc
  60. 4 1
      docs/reference/aggregations/pipeline/max-bucket-aggregation.asciidoc
  61. 4 1
      docs/reference/aggregations/pipeline/min-bucket-aggregation.asciidoc
  62. 4 1
      docs/reference/aggregations/pipeline/movavg-aggregation.asciidoc
  63. 4 1
      docs/reference/aggregations/pipeline/movfn-aggregation.asciidoc
  64. 4 1
      docs/reference/aggregations/pipeline/moving-percentiles-aggregation.asciidoc
  65. 4 1
      docs/reference/aggregations/pipeline/normalize-aggregation.asciidoc
  66. 4 1
      docs/reference/aggregations/pipeline/percentiles-bucket-aggregation.asciidoc
  67. 4 1
      docs/reference/aggregations/pipeline/serial-diff-aggregation.asciidoc
  68. 4 1
      docs/reference/aggregations/pipeline/stats-bucket-aggregation.asciidoc
  69. 5 1
      docs/reference/aggregations/pipeline/sum-bucket-aggregation.asciidoc

+ 4 - 1
docs/reference/aggregations/bucket/adjacency-matrix-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-adjacency-matrix-aggregation]]
-=== Adjacency Matrix Aggregation
+=== Adjacency matrix aggregation
+++++
+<titleabbrev>Adjacency matrix</titleabbrev>
+++++
 
 A bucket aggregation returning a form of {wikipedia}/Adjacency_matrix[adjacency matrix].
 The request provides a collection of named filter expressions, similar to the `filters` aggregation

+ 4 - 1
docs/reference/aggregations/bucket/autodatehistogram-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-autodatehistogram-aggregation]]
-=== Auto-interval Date Histogram Aggregation
+=== Auto-interval date histogram aggregation
+++++
+<titleabbrev>Auto-interval date histogram</titleabbrev>
+++++
 
 A multi-bucket aggregation similar to the <<search-aggregations-bucket-datehistogram-aggregation>> except
 instead of providing an interval to use as the width of each bucket, a target number of buckets is provided

+ 4 - 1
docs/reference/aggregations/bucket/children-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-children-aggregation]]
-=== Children Aggregation
+=== Children aggregation
+++++
+<titleabbrev>Children</titleabbrev>
+++++
 
 A special single bucket aggregation that selects child documents that have the specified type, as defined in a <<parent-join,`join` field>>.
 

+ 3 - 0
docs/reference/aggregations/bucket/composite-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-composite-aggregation]]
 === Composite aggregation
+++++
+<titleabbrev>Composite</titleabbrev>
+++++
 
 A multi-bucket aggregation that creates composite buckets from different sources.
 

+ 3 - 0
docs/reference/aggregations/bucket/datehistogram-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-datehistogram-aggregation]]
 === Date histogram aggregation
+++++
+<titleabbrev>Date histogram</titleabbrev>
+++++
 
 This multi-bucket aggregation is similar to the normal
 <<search-aggregations-bucket-histogram-aggregation,histogram>>, but it can

+ 4 - 1
docs/reference/aggregations/bucket/daterange-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-daterange-aggregation]]
-=== Date Range Aggregation
+=== Date range aggregation
+++++
+<titleabbrev>Date range</titleabbrev>
+++++
 
 A range aggregation that is dedicated for date values. The main difference
 between this aggregation and the normal

+ 4 - 1
docs/reference/aggregations/bucket/diversified-sampler-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-diversified-sampler-aggregation]]
-=== Diversified Sampler Aggregation
+=== Diversified sampler aggregation
+++++
+<titleabbrev>Diversified sampler</titleabbrev>
+++++
 
 Like the `sampler` aggregation this is a filtering aggregation used to limit any sub aggregations' processing to a sample of the top-scoring documents.
 The `diversified_sampler` aggregation adds the ability to limit the number of matches that share a common value such as an "author".

+ 4 - 1
docs/reference/aggregations/bucket/filter-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-filter-aggregation]]
-=== Filter Aggregation
+=== Filter aggregation
+++++
+<titleabbrev>Filter</titleabbrev>
+++++
 
 Defines a single bucket of all the documents in the current document set context that match a specified filter. Often this will be used to narrow down the current aggregation context to a specific set of documents.
 

+ 4 - 1
docs/reference/aggregations/bucket/filters-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-filters-aggregation]]
-=== Filters Aggregation
+=== Filters aggregation
+++++
+<titleabbrev>Filters</titleabbrev>
+++++
 
 Defines a multi bucket aggregation where each bucket is associated with a
 filter. Each bucket will collect all documents that match its associated

+ 4 - 1
docs/reference/aggregations/bucket/geodistance-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-geodistance-aggregation]]
-=== Geo Distance Aggregation
+=== Geo-distance aggregation
+++++
+<titleabbrev>Geo-distance</titleabbrev>
+++++
 
 A multi-bucket aggregation that works on `geo_point` fields and conceptually works very similar to the <<search-aggregations-bucket-range-aggregation,range>> aggregation. The user can define a point of origin and a set of distance range buckets. The aggregation evaluate the distance of each document value from the origin point and determines the buckets it belongs to based on the ranges (a document belongs to a bucket if the distance between the document and the origin falls within the distance range of the bucket).
 

+ 4 - 1
docs/reference/aggregations/bucket/geohashgrid-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-geohashgrid-aggregation]]
-=== GeoHash grid Aggregation
+=== Geohash grid aggregation
+++++
+<titleabbrev>Geohash grid</titleabbrev>
+++++
 
 A multi-bucket aggregation that works on `geo_point` fields and groups points into buckets that represent cells in a grid.
 The resulting grid can be sparse and only contains cells that have matching data. Each cell is labeled using a {wikipedia}/Geohash[geohash] which is of user-definable precision.

+ 4 - 1
docs/reference/aggregations/bucket/geotilegrid-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-geotilegrid-aggregation]]
-=== GeoTile Grid Aggregation
+=== Geotile grid aggregation
+++++
+<titleabbrev>Geotile grid</titleabbrev>
+++++
 
 A multi-bucket aggregation that works on `geo_point` fields and groups points into
 buckets that represent cells in a grid. The resulting grid can be sparse and only

+ 4 - 1
docs/reference/aggregations/bucket/global-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-global-aggregation]]
-=== Global Aggregation
+=== Global aggregation
+++++
+<titleabbrev>Global</titleabbrev>
+++++
 
 Defines a single bucket of all the documents within the search execution
 context. This context is defined by the indices and the document types you're

+ 4 - 1
docs/reference/aggregations/bucket/histogram-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-histogram-aggregation]]
-=== Histogram Aggregation
+=== Histogram aggregation
+++++
+<titleabbrev>Histogram</titleabbrev>
+++++
 
 A multi-bucket values source based aggregation that can be applied on numeric values or numeric range values extracted
 from the documents. It dynamically builds fixed size (a.k.a. interval) buckets over the values. For example, if the

+ 4 - 1
docs/reference/aggregations/bucket/iprange-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-iprange-aggregation]]
-=== IP Range Aggregation
+=== IP range aggregation
+++++
+<titleabbrev>IP range</titleabbrev>
+++++
 
 Just like the dedicated <<search-aggregations-bucket-daterange-aggregation,date>> range aggregation, there is also a dedicated range aggregation for IP typed fields:
 

+ 4 - 1
docs/reference/aggregations/bucket/missing-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-missing-aggregation]]
-=== Missing Aggregation
+=== Missing aggregation
+++++
+<titleabbrev>Missing</titleabbrev>
+++++
 
 A field data based single bucket aggregation, that creates a bucket of all documents in the current document set context that are missing a field value (effectively, missing a field or having the configured NULL value set). This aggregator will often be used in conjunction with other field data bucket aggregators (such as ranges) to return information for all the documents that could not be placed in any of the other buckets due to missing field data values.
 

+ 4 - 1
docs/reference/aggregations/bucket/nested-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-nested-aggregation]]
-=== Nested Aggregation
+=== Nested aggregation
+++++
+<titleabbrev>Nested</titleabbrev>
+++++
 
 A special single bucket aggregation that enables aggregating nested documents.
 

+ 4 - 1
docs/reference/aggregations/bucket/parent-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-parent-aggregation]]
-=== Parent Aggregation
+=== Parent aggregation
+++++
+<titleabbrev>Parent</titleabbrev>
+++++
 
 A special single bucket aggregation that selects parent documents that have the specified type, as defined in a <<parent-join,`join` field>>.
 

+ 4 - 1
docs/reference/aggregations/bucket/range-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-range-aggregation]]
-=== Range Aggregation
+=== Range aggregation
+++++
+<titleabbrev>Range</titleabbrev>
+++++
 
 A multi-bucket value source based aggregation that enables the user to define a set of ranges - each representing a bucket. During the aggregation process, the values extracted from each document will be checked against each bucket range and "bucket" the relevant/matching document.
 Note that this aggregation includes the `from` value and excludes the `to` value for each range.

+ 4 - 1
docs/reference/aggregations/bucket/rare-terms-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-rare-terms-aggregation]]
-=== Rare Terms Aggregation
+=== Rare terms aggregation
+++++
+<titleabbrev>Rare terms</titleabbrev>
+++++
 
 A multi-bucket value source based aggregation which finds "rare" terms -- terms that are at the long-tail
 of the distribution and are not frequent.  Conceptually, this is like a `terms` aggregation that is

+ 4 - 1
docs/reference/aggregations/bucket/reverse-nested-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-reverse-nested-aggregation]]
-=== Reverse nested Aggregation
+=== Reverse nested aggregation
+++++
+<titleabbrev>Reverse nested</titleabbrev>
+++++
 
 A special single bucket aggregation that enables aggregating on parent docs from nested documents. Effectively this
 aggregation can break out of the nested block structure and link to other nested structures or the root document,

+ 4 - 1
docs/reference/aggregations/bucket/sampler-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-sampler-aggregation]]
-=== Sampler Aggregation
+=== Sampler aggregation
+++++
+<titleabbrev>Sampler</titleabbrev>
+++++
 
 A filtering aggregation used to limit any sub aggregations' processing to a sample of the top-scoring documents.
 

+ 4 - 1
docs/reference/aggregations/bucket/significantterms-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-significantterms-aggregation]]
-=== Significant Terms Aggregation
+=== Significant terms aggregation
+++++
+<titleabbrev>Significant terms</titleabbrev>
+++++
 
 An aggregation that returns interesting or unusual occurrences of terms in a set.
 

+ 4 - 1
docs/reference/aggregations/bucket/significanttext-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-significanttext-aggregation]]
-=== Significant Text Aggregation
+=== Significant text aggregation
+++++
+<titleabbrev>Significant text</titleabbrev>
+++++
 
 An aggregation that returns interesting or unusual occurrences of free-text terms in a set.
 It is like the <<search-aggregations-bucket-significantterms-aggregation,significant terms>> aggregation but differs in that:

+ 4 - 1
docs/reference/aggregations/bucket/terms-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-terms-aggregation]]
-=== Terms Aggregation
+=== Terms aggregation
+++++
+<titleabbrev>Terms</titleabbrev>
+++++
 
 A multi-bucket value source based aggregation where buckets are dynamically built - one per unique value.
 

+ 4 - 1
docs/reference/aggregations/bucket/variablewidthhistogram-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-bucket-variablewidthhistogram-aggregation]]
-=== Variable Width Histogram Aggregation
+=== Variable width histogram aggregation
+++++
+<titleabbrev>Variable width histogram</titleabbrev>
+++++
 
 experimental::["This functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. We're evaluating the request and response format for this new aggregation.",https://github.com/elastic/elasticsearch/issues/58573]
 

+ 10 - 16
docs/reference/aggregations/metrics.asciidoc

@@ -13,50 +13,44 @@ bucket aggregations (some bucket aggregations enable you to sort the returned bu
 
 include::metrics/avg-aggregation.asciidoc[]
 
-include::metrics/weighted-avg-aggregation.asciidoc[]
-
 include::metrics/boxplot-aggregation.asciidoc[]
 
 include::metrics/cardinality-aggregation.asciidoc[]
 
-include::metrics/stats-aggregation.asciidoc[]
-
 include::metrics/extendedstats-aggregation.asciidoc[]
 
 include::metrics/geobounds-aggregation.asciidoc[]
 
 include::metrics/geocentroid-aggregation.asciidoc[]
 
-include::matrix/stats-aggregation.asciidoc[]
+include::metrics/matrix-stats-aggregation.asciidoc[]
 
 include::metrics/max-aggregation.asciidoc[]
 
+include::metrics/median-absolute-deviation-aggregation.asciidoc[]
+
 include::metrics/min-aggregation.asciidoc[]
 
-include::metrics/median-absolute-deviation-aggregation.asciidoc[]
+include::metrics/percentile-rank-aggregation.asciidoc[]
 
 include::metrics/percentile-aggregation.asciidoc[]
 
-include::metrics/percentile-rank-aggregation.asciidoc[]
+include::metrics/rate-aggregation.asciidoc[]
 
 include::metrics/scripted-metric-aggregation.asciidoc[]
 
+include::metrics/stats-aggregation.asciidoc[]
+
 include::metrics/string-stats-aggregation.asciidoc[]
 
 include::metrics/sum-aggregation.asciidoc[]
 
+include::metrics/t-test-aggregation.asciidoc[]
+
 include::metrics/tophits-aggregation.asciidoc[]
 
 include::metrics/top-metrics-aggregation.asciidoc[]
 
 include::metrics/valuecount-aggregation.asciidoc[]
 
-include::metrics/t-test-aggregation.asciidoc[]
-
-include::metrics/rate-aggregation.asciidoc[]
-
-
-
-
-
-
+include::metrics/weighted-avg-aggregation.asciidoc[]

+ 4 - 1
docs/reference/aggregations/metrics/avg-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-avg-aggregation]]
-=== Avg Aggregation
+=== Avg aggregation
+++++
+<titleabbrev>Avg</titleabbrev>
+++++
 
 A `single-value` metrics aggregation that computes the average of numeric values that are extracted from the aggregated documents. These values can be extracted either from specific numeric fields in the documents, or be generated by a provided script.
 

+ 4 - 1
docs/reference/aggregations/metrics/boxplot-aggregation.asciidoc

@@ -1,7 +1,10 @@
 [role="xpack"]
 [testenv="basic"]
 [[search-aggregations-metrics-boxplot-aggregation]]
-=== Boxplot Aggregation
+=== Boxplot aggregation
+++++
+<titleabbrev>Boxplot</titleabbrev>
+++++
 
 A `boxplot` metrics aggregation that computes boxplot of numeric values extracted from the aggregated documents.
 These values can be generated by a provided script or extracted from specific numeric or

+ 4 - 1
docs/reference/aggregations/metrics/cardinality-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-cardinality-aggregation]]
-=== Cardinality Aggregation
+=== Cardinality aggregation
+++++
+<titleabbrev>Cardinality</titleabbrev>
+++++
 
 A `single-value` metrics aggregation that calculates an approximate count of
 distinct values. Values can be extracted either from specific fields in the

+ 4 - 1
docs/reference/aggregations/metrics/extendedstats-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-extendedstats-aggregation]]
-=== Extended Stats Aggregation
+=== Extended stats aggregation
+++++
+<titleabbrev>Extended stats</titleabbrev>
+++++
 
 A `multi-value` metrics aggregation that computes stats over numeric values extracted from the aggregated documents. These values can be extracted either from specific numeric fields in the documents, or be generated by a provided script.
 

+ 4 - 1
docs/reference/aggregations/metrics/geobounds-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-geobounds-aggregation]]
-=== Geo Bounds Aggregation
+=== Geo-bounds aggregation
+++++
+<titleabbrev>Geo-bounds</titleabbrev>
+++++
 
 A metric aggregation that computes the bounding box containing all geo values for a field.
 

+ 4 - 1
docs/reference/aggregations/metrics/geocentroid-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-geocentroid-aggregation]]
-=== Geo Centroid Aggregation
+=== Geo-centroid aggregation
+++++
+<titleabbrev>Geo-centroid</titleabbrev>
+++++
 
 A metric aggregation that computes the weighted {wikipedia}/Centroid[centroid] from all coordinate values for geo fields.
 

+ 3 - 0
docs/reference/aggregations/matrix/stats-aggregation.asciidoc → docs/reference/aggregations/metrics/matrix-stats-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-matrix-stats-aggregation]]
 === Matrix stats aggregation
+++++
+<titleabbrev>Matrix stats</titleabbrev>
+++++
 
 The `matrix_stats` aggregation is a numeric aggregation that computes the following statistics over a set of document fields:
 

+ 4 - 1
docs/reference/aggregations/metrics/max-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-max-aggregation]]
-=== Max Aggregation
+=== Max aggregation
+++++
+<titleabbrev>Max</titleabbrev>
+++++
 
 A `single-value` metrics aggregation that keeps track and returns the maximum
 value among the numeric values extracted from the aggregated documents. These

+ 4 - 1
docs/reference/aggregations/metrics/median-absolute-deviation-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-median-absolute-deviation-aggregation]]
-=== Median Absolute Deviation Aggregation
+=== Median absolute deviation aggregation
+++++
+<titleabbrev>Median absolute deviation</titleabbrev>
+++++
 
 This `single-value` aggregation approximates the {wikipedia}/Median_absolute_deviation[median absolute deviation]
 of its search results.

+ 4 - 1
docs/reference/aggregations/metrics/min-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-min-aggregation]]
-=== Min Aggregation
+=== Min aggregation
+++++
+<titleabbrev>Min</titleabbrev>
+++++
 
 A `single-value` metrics aggregation that keeps track and returns the minimum
 value among numeric values extracted from the aggregated documents. These

+ 4 - 1
docs/reference/aggregations/metrics/percentile-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-percentile-aggregation]]
-=== Percentiles Aggregation
+=== Percentiles aggregation
+++++
+<titleabbrev>Percentiles</titleabbrev>
+++++
 
 A `multi-value` metrics aggregation that calculates one or more percentiles
 over numeric values extracted from the aggregated documents. These values can be

+ 4 - 1
docs/reference/aggregations/metrics/percentile-rank-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-percentile-rank-aggregation]]
-=== Percentile Ranks Aggregation
+=== Percentile ranks aggregation
+++++
+<titleabbrev>Percentile ranks</titleabbrev>
+++++
 
 A `multi-value` metrics aggregation that calculates one or more percentile ranks
 over numeric values extracted from the aggregated documents. These values can be

+ 4 - 1
docs/reference/aggregations/metrics/rate-aggregation.asciidoc

@@ -1,7 +1,10 @@
 [role="xpack"]
 [testenv="basic"]
 [[search-aggregations-metrics-rate-aggregation]]
-=== Rate Aggregation
+=== Rate aggregation
+++++
+<titleabbrev>Rate</titleabbrev>
+++++
 
 A `rate` metrics aggregation can be used only inside a `date_histogram` and calculates a rate of documents or a field in each
 `date_histogram` bucket. The field values can be generated by a provided script or extracted from specific numeric or

+ 4 - 1
docs/reference/aggregations/metrics/scripted-metric-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-scripted-metric-aggregation]]
-=== Scripted Metric Aggregation
+=== Scripted metric aggregation
+++++
+<titleabbrev>Scripted metric</titleabbrev>
+++++
 
 A metric aggregation that executes using scripts to provide a metric output.
 

+ 4 - 1
docs/reference/aggregations/metrics/stats-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-stats-aggregation]]
-=== Stats Aggregation
+=== Stats aggregation
+++++
+<titleabbrev>Stats</titleabbrev>
+++++
 
 A `multi-value` metrics aggregation that computes stats over numeric values extracted from the aggregated documents. These values can be extracted either from specific numeric fields in the documents, or be generated by a provided script.
 

+ 4 - 1
docs/reference/aggregations/metrics/string-stats-aggregation.asciidoc

@@ -1,7 +1,10 @@
 [role="xpack"]
 [testenv="basic"]
 [[search-aggregations-metrics-string-stats-aggregation]]
-=== String Stats Aggregation
+=== String stats aggregation
+++++
+<titleabbrev>String stats</titleabbrev>
+++++
 
 A `multi-value` metrics aggregation that computes statistics over string values extracted from the aggregated documents.
 These values can be retrieved either from specific `keyword` fields in the documents or can be generated by a provided script.

+ 4 - 1
docs/reference/aggregations/metrics/sum-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-sum-aggregation]]
-=== Sum Aggregation
+=== Sum aggregation
+++++
+<titleabbrev>Sum</titleabbrev>
+++++
 
 A `single-value` metrics aggregation that sums up numeric values that are extracted from the aggregated documents.
 These values can be extracted either from specific numeric or <<histogram,histogram>> fields in the documents,

+ 4 - 1
docs/reference/aggregations/metrics/t-test-aggregation.asciidoc

@@ -1,7 +1,10 @@
 [role="xpack"]
 [testenv="basic"]
 [[search-aggregations-metrics-ttest-aggregation]]
-=== T-Test Aggregation
+=== T-test aggregation
+++++
+<titleabbrev>T-test</titleabbrev>
+++++
 
 A `t_test` metrics aggregation that performs a statistical hypothesis test in which the test statistic follows a Student's t-distribution
 under the null hypothesis on numeric values extracted from the aggregated documents or generated by provided scripts. In practice, this

+ 4 - 1
docs/reference/aggregations/metrics/top-metrics-aggregation.asciidoc

@@ -1,7 +1,10 @@
 [role="xpack"]
 [testenv="basic"]
 [[search-aggregations-metrics-top-metrics]]
-=== Top Metrics Aggregation
+=== Top metrics aggregation
+++++
+<titleabbrev>Top metrics</titleabbrev>
+++++
 
 The `top_metrics` aggregation selects metrics from the document with the largest or smallest "sort"
 value. For example, this gets the value of the `m` field on the document with the largest value of `s`:

+ 4 - 1
docs/reference/aggregations/metrics/tophits-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-top-hits-aggregation]]
-=== Top Hits Aggregation
+=== Top hits aggregation
+++++
+<titleabbrev>Top hits</titleabbrev>
+++++
 
 A `top_hits` metric aggregator keeps track of the most relevant document being aggregated. This aggregator is intended
 to be used as a sub aggregator, so that the top matching documents can be aggregated per bucket.

+ 4 - 1
docs/reference/aggregations/metrics/valuecount-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-valuecount-aggregation]]
-=== Value Count Aggregation
+=== Value count aggregation
+++++
+<titleabbrev>Value count</titleabbrev>
+++++
 
 A `single-value` metrics aggregation that counts the number of values that are extracted from the aggregated documents.
 These values can be extracted either from specific fields in the documents, or be generated by a provided script. Typically,

+ 4 - 1
docs/reference/aggregations/metrics/weighted-avg-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-metrics-weight-avg-aggregation]]
-=== Weighted Avg Aggregation
+=== Weighted avg aggregation
+++++
+<titleabbrev>Weighted avg</titleabbrev>
+++++
 
 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, or provided by a script.

+ 24 - 9
docs/reference/aggregations/pipeline.asciidoc

@@ -267,25 +267,40 @@ _insert_zeros_::
                 This option will replace missing values with a zero (`0`) and pipeline aggregation computation will
                 proceed as normal.
 
-
-
+include::pipeline/avg-bucket-aggregation.asciidoc[]
 
 include::pipeline/bucket-script-aggregation.asciidoc[]
+
 include::pipeline/bucket-selector-aggregation.asciidoc[]
+
 include::pipeline/bucket-sort-aggregation.asciidoc[]
-include::pipeline/avg-bucket-aggregation.asciidoc[]
-include::pipeline/max-bucket-aggregation.asciidoc[]
-include::pipeline/min-bucket-aggregation.asciidoc[]
-include::pipeline/sum-bucket-aggregation.asciidoc[]
+
 include::pipeline/cumulative-cardinality-aggregation.asciidoc[]
+
 include::pipeline/cumulative-sum-aggregation.asciidoc[]
+
 include::pipeline/derivative-aggregation.asciidoc[]
-include::pipeline/percentiles-bucket-aggregation.asciidoc[]
+
+include::pipeline/extended-stats-bucket-aggregation.asciidoc[]
+
+include::pipeline/inference-bucket-aggregation.asciidoc[]
+
+include::pipeline/max-bucket-aggregation.asciidoc[]
+
+include::pipeline/min-bucket-aggregation.asciidoc[]
+
 include::pipeline/movavg-aggregation.asciidoc[]
+
 include::pipeline/movfn-aggregation.asciidoc[]
+
 include::pipeline/moving-percentiles-aggregation.asciidoc[]
+
 include::pipeline/normalize-aggregation.asciidoc[]
+
+include::pipeline/percentiles-bucket-aggregation.asciidoc[]
+
 include::pipeline/serial-diff-aggregation.asciidoc[]
+
 include::pipeline/stats-bucket-aggregation.asciidoc[]
-include::pipeline/extended-stats-bucket-aggregation.asciidoc[]
-include::pipeline/inference-bucket-aggregation.asciidoc[]
+
+include::pipeline/sum-bucket-aggregation.asciidoc[]

+ 4 - 1
docs/reference/aggregations/pipeline/avg-bucket-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-pipeline-avg-bucket-aggregation]]
-=== Avg Bucket Aggregation
+=== Avg bucket aggregation
+++++
+<titleabbrev>Avg bucket</titleabbrev>
+++++
 
 A sibling pipeline aggregation which calculates the (mean) average value of a specified metric in a sibling aggregation.
 The specified metric must be numeric and the sibling aggregation must be a multi-bucket aggregation.

+ 4 - 1
docs/reference/aggregations/pipeline/bucket-script-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-pipeline-bucket-script-aggregation]]
-=== Bucket Script Aggregation
+=== Bucket script aggregation
+++++
+<titleabbrev>Bucket script</titleabbrev>
+++++
 
 A parent pipeline aggregation which executes a script which can perform per bucket computations on specified metrics
 in the parent multi-bucket aggregation. The specified metric must be numeric and the script must return a numeric value.

+ 4 - 1
docs/reference/aggregations/pipeline/bucket-selector-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-pipeline-bucket-selector-aggregation]]
-=== Bucket Selector Aggregation
+=== Bucket selector aggregation
+++++
+<titleabbrev>Bucket selector</titleabbrev>
+++++
 
 A parent pipeline aggregation which executes a script which determines whether the current bucket will be retained
 in the parent multi-bucket aggregation. The specified metric must be numeric and the script must return a boolean value.

+ 4 - 1
docs/reference/aggregations/pipeline/bucket-sort-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-pipeline-bucket-sort-aggregation]]
-=== Bucket Sort Aggregation
+=== Bucket sort aggregation
+++++
+<titleabbrev>Bucket sort</titleabbrev>
+++++
 
 A parent pipeline aggregation which sorts the buckets of its parent multi-bucket aggregation.
 Zero or more sort fields may be specified together with the corresponding sort order.

+ 4 - 1
docs/reference/aggregations/pipeline/cumulative-cardinality-aggregation.asciidoc

@@ -1,7 +1,10 @@
 [role="xpack"]
 [testenv="basic"]
 [[search-aggregations-pipeline-cumulative-cardinality-aggregation]]
-=== Cumulative Cardinality Aggregation
+=== Cumulative cardinality aggregation
+++++
+<titleabbrev>Cumulative cardinality</titleabbrev>
+++++
 
 A parent pipeline aggregation which calculates the Cumulative Cardinality in a parent histogram (or date_histogram)
 aggregation. The specified metric must be a cardinality aggregation and the enclosing histogram 

+ 4 - 1
docs/reference/aggregations/pipeline/cumulative-sum-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-pipeline-cumulative-sum-aggregation]]
-=== Cumulative Sum Aggregation
+=== Cumulative sum aggregation
+++++
+<titleabbrev>Cumulative sum</titleabbrev>
+++++
 
 A parent pipeline aggregation which calculates the cumulative sum of a specified metric in a parent histogram (or date_histogram)
 aggregation. The specified metric must be numeric and the enclosing histogram must have `min_doc_count` set to `0` (default

+ 4 - 1
docs/reference/aggregations/pipeline/derivative-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-pipeline-derivative-aggregation]]
-=== Derivative Aggregation
+=== Derivative aggregation
+++++
+<titleabbrev>Derivative</titleabbrev>
+++++
 
 A parent pipeline aggregation which calculates the derivative of a specified metric in a parent histogram (or date_histogram)
 aggregation. The specified metric must be numeric and the enclosing histogram must have `min_doc_count` set to `0` (default

+ 4 - 1
docs/reference/aggregations/pipeline/extended-stats-bucket-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-pipeline-extended-stats-bucket-aggregation]]
-=== Extended Stats Bucket Aggregation
+=== Extended stats bucket aggregation
+++++
+<titleabbrev>Extended stats bucket</titleabbrev>
+++++
 
 A sibling pipeline aggregation which calculates a variety of stats across all bucket of a specified metric in a sibling aggregation.
 The specified metric must be numeric and the sibling aggregation must be a multi-bucket aggregation.

+ 4 - 1
docs/reference/aggregations/pipeline/inference-bucket-aggregation.asciidoc

@@ -1,7 +1,10 @@
 [role="xpack"]
 [testenv="basic"]
 [[search-aggregations-pipeline-inference-bucket-aggregation]]
-=== {infer-cap} Bucket Aggregation
+=== {infer-cap} bucket aggregation
+++++
+<titleabbrev>{infer-cap} bucket</titleabbrev>
+++++
 
 beta::[]
 

+ 4 - 1
docs/reference/aggregations/pipeline/max-bucket-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-pipeline-max-bucket-aggregation]]
-=== Max Bucket Aggregation
+=== Max bucket aggregation
+++++
+<titleabbrev>Max bucket</titleabbrev>
+++++
 
 A sibling pipeline aggregation which identifies the bucket(s) with the maximum value of a specified metric in a sibling aggregation
 and outputs both the value and the key(s) of the bucket(s). The specified metric must be numeric and the sibling aggregation must

+ 4 - 1
docs/reference/aggregations/pipeline/min-bucket-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-pipeline-min-bucket-aggregation]]
-=== Min Bucket Aggregation
+=== Min bucket aggregation
+++++
+<titleabbrev>Min bucket</titleabbrev>
+++++
 
 A sibling pipeline aggregation which identifies the bucket(s) with the minimum value of a specified metric in a sibling aggregation
 and outputs both the value and the key(s) of the bucket(s). The specified metric must be numeric and the sibling aggregation must

+ 4 - 1
docs/reference/aggregations/pipeline/movavg-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-pipeline-movavg-aggregation]]
-=== Moving Average Aggregation
+=== Moving average aggregation
+++++
+<titleabbrev>Moving average</titleabbrev>
+++++
 
 The Moving Average aggregation has been removed.  Use the more general
 <<search-aggregations-pipeline-movfn-aggregation,Moving Function Aggregation>> instead.

+ 4 - 1
docs/reference/aggregations/pipeline/movfn-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-pipeline-movfn-aggregation]]
-=== Moving Function Aggregation
+=== Moving function aggregation
+++++
+<titleabbrev>Moving function</titleabbrev>
+++++
 
 Given an ordered series of data, the Moving Function aggregation will slide a window across the data and allow the user to specify a custom
 script that is executed on each window of data.  For convenience, a number of common functions are predefined such as min/max, moving averages,

+ 4 - 1
docs/reference/aggregations/pipeline/moving-percentiles-aggregation.asciidoc

@@ -1,7 +1,10 @@
 [role="xpack"]
 [testenv="basic"]
 [[search-aggregations-pipeline-moving-percentiles-aggregation]]
-=== Moving Percentiles Aggregation
+=== Moving percentiles aggregation
+++++
+<titleabbrev>Moving percentiles</titleabbrev>
+++++
 
 Given an ordered series of <<search-aggregations-metrics-percentile-aggregation, percentiles>>, the Moving Percentile aggregation
 will slide a window across those percentiles and allow the user to compute the cumulative percentile.

+ 4 - 1
docs/reference/aggregations/pipeline/normalize-aggregation.asciidoc

@@ -1,7 +1,10 @@
 [role="xpack"]
 [testenv="basic"]
 [[search-aggregations-pipeline-normalize-aggregation]]
-=== Normalize Aggregation
+=== Normalize aggregation
+++++
+<titleabbrev>Normalize</titleabbrev>
+++++
 
 A parent pipeline aggregation which calculates the specific normalized/rescaled value for a specific bucket value.
 Values that cannot be normalized, will be skipped using the <<gap-policy, skip gap policy>>.

+ 4 - 1
docs/reference/aggregations/pipeline/percentiles-bucket-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-pipeline-percentiles-bucket-aggregation]]
-=== Percentiles Bucket Aggregation
+=== Percentiles bucket aggregation
+++++
+<titleabbrev>Percentiles bucket</titleabbrev>
+++++
 
 A sibling pipeline aggregation which calculates percentiles across all bucket of a specified metric in a sibling aggregation.
 The specified metric must be numeric and the sibling aggregation must be a multi-bucket aggregation.

+ 4 - 1
docs/reference/aggregations/pipeline/serial-diff-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-pipeline-serialdiff-aggregation]]
-=== Serial Differencing Aggregation
+=== Serial differencing aggregation
+++++
+<titleabbrev>Serial differencing</titleabbrev>
+++++
 
 Serial differencing is a technique where values in a time series are subtracted from itself at
 different time lags or periods. For example, the datapoint f(x) = f(x~t~) - f(x~t-n~), where n is the period being used.

+ 4 - 1
docs/reference/aggregations/pipeline/stats-bucket-aggregation.asciidoc

@@ -1,5 +1,8 @@
 [[search-aggregations-pipeline-stats-bucket-aggregation]]
-=== Stats Bucket Aggregation
+=== Stats bucket aggregation
+++++
+<titleabbrev>Stats bucket</titleabbrev>
+++++
 
 A sibling pipeline aggregation which calculates a variety of stats across all bucket of a specified metric in a sibling aggregation.
 The specified metric must be numeric and the sibling aggregation must be a multi-bucket aggregation.

+ 5 - 1
docs/reference/aggregations/pipeline/sum-bucket-aggregation.asciidoc

@@ -1,5 +1,9 @@
 [[search-aggregations-pipeline-sum-bucket-aggregation]]
-=== Sum Bucket Aggregation
+=== Sum bucket aggregation
+++++
+<titleabbrev>Sum bucket</titleabbrev>
+++++
+
 
 A sibling pipeline aggregation which calculates the sum across all buckets of a specified metric in a sibling aggregation.
 The specified metric must be numeric and the sibling aggregation must be a multi-bucket aggregation.