OpenSearch/docs/reference/search
uboness 9d0fc76f54 Added support for sorting buckets based on sub aggregations
Supports sorting on sub-aggs down the current hierarchy. This is supported as long as the aggregation in the specified order path are of a single-bucket type, where the last aggregation in the path points to either a single-bucket aggregation or a metrics one. If it's a single-bucket aggregation, the sort will be applied on the document count in the bucket (i.e. doc_count), and if it is a metrics type, the sort will be applied on the pointed out metric (in case of a single-metric aggregations, such as avg, the sort will be applied on the single metric value)

 NOTE: this commit adds a constraint on what should be considered a valid aggregation name. Aggregations names must be alpha-numeric and may contain '-' and '_'.

 Closes #5253
2014-03-06 00:05:27 +01:00
..
aggregations Added support for sorting buckets based on sub aggregations 2014-03-06 00:05:27 +01:00
facets Removed 0.90.* deprecation and addition notifications 2014-02-07 20:52:49 +01:00
request Fixed multi term queries support in postings highlighter for non top-level queries 2014-02-21 21:43:40 +01:00
suggesters [DOCS] Removed the experimental label from Tribe, Hot Threads 2014-02-06 14:19:17 +01:00
aggregations.asciidoc Improve Aggregations documentation 2014-02-03 17:16:52 +01:00
count.asciidoc [DOCS] fixed count docs, it now requires a top-level query object, same as other apis 2014-02-13 13:36:20 +01:00
explain.asciidoc [DOCS] updated json responses after #4310 and #4480 2014-01-16 12:01:39 +01:00
facets.asciidoc Cleanup comments and class names s/ElasticSearch/Elasticsearch 2014-01-07 11:21:51 +01:00
more-like-this.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
multi-search.asciidoc [DOCS] Documented rest.action.multi.allow_explicit_index 2013-11-27 17:33:09 +01:00
percolate.asciidoc Enable percolation for nested documents 2014-02-14 22:42:33 +01:00
request-body.asciidoc Add the ability to retrieve fields from field data 2014-01-21 09:13:32 -07:00
search.asciidoc [DOCS] Reorganised common API conventions 2013-10-13 16:46:56 +02:00
suggesters.asciidoc Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
uri-request.asciidoc Cleanup comments and class names s/ElasticSearch/Elasticsearch 2014-01-07 11:21:51 +01:00
validate.asciidoc [DOCS] fixed count and validate query docs, they now require a top-level query object, same as other apis 2014-02-13 11:42:04 +01:00