From 0dfaa2d5844c899c0469828bdea02b8fe7745146 Mon Sep 17 00:00:00 2001 From: Kent Marten Date: Tue, 26 Jan 2021 16:42:46 -0800 Subject: [PATCH 1/3] [maps] Top hits per entity--change to title to use recent, minor edits --- docs/maps/maps-aggregations.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/maps/maps-aggregations.asciidoc b/docs/maps/maps-aggregations.asciidoc index f09d99250c22d..ecde68ccb3240 100644 --- a/docs/maps/maps-aggregations.asciidoc +++ b/docs/maps/maps-aggregations.asciidoc @@ -68,9 +68,9 @@ To enable a blended layer that dynamically shows clusters or documents: [role="xpack"] [[maps-top-hits-aggregation]] -=== Top hits per entity +=== Display the most recent documents -You can display the most relevant documents per entity, for example, the most recent GPS tracks per flight. +Use *Top hits per entity* to display the most relevant documents per entity, for example, the most recent GPS tracks per flight route. To get this data, {es} first groups your data using a {ref}/search-aggregations-bucket-terms-aggregation.html[terms aggregation], then accumulates the most relevant documents based on sort order for each entry using a {ref}/search-aggregations-metrics-top-hits-aggregation.html[top hits metric aggregation]. From 020981d0f193d0472e6db4efc8db1904cf300eba Mon Sep 17 00:00:00 2001 From: Kent Marten Date: Wed, 27 Jan 2021 16:06:23 -0800 Subject: [PATCH 2/3] Updated TopHitsPerEntity title and description to use the term relevant --- docs/maps/maps-aggregations.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/maps/maps-aggregations.asciidoc b/docs/maps/maps-aggregations.asciidoc index ecde68ccb3240..1805917d3eee6 100644 --- a/docs/maps/maps-aggregations.asciidoc +++ b/docs/maps/maps-aggregations.asciidoc @@ -68,7 +68,7 @@ To enable a blended layer that dynamically shows clusters or documents: [role="xpack"] [[maps-top-hits-aggregation]] -=== Display the most recent documents +=== Display the most relevant entities Use *Top hits per entity* to display the most relevant documents per entity, for example, the most recent GPS tracks per flight route. To get this data, {es} first groups your data using a {ref}/search-aggregations-bucket-terms-aggregation.html[terms aggregation], From d71648e3d5311d44728ef112d52ea41f726f7ddd Mon Sep 17 00:00:00 2001 From: Kent Marten Date: Fri, 29 Jan 2021 11:04:21 -0800 Subject: [PATCH 3/3] updating top hits per entity topic to new title --- docs/maps/maps-aggregations.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/maps/maps-aggregations.asciidoc b/docs/maps/maps-aggregations.asciidoc index 1805917d3eee6..b9f1bb95f846f 100644 --- a/docs/maps/maps-aggregations.asciidoc +++ b/docs/maps/maps-aggregations.asciidoc @@ -68,7 +68,7 @@ To enable a blended layer that dynamically shows clusters or documents: [role="xpack"] [[maps-top-hits-aggregation]] -=== Display the most relevant entities +=== Display the most relevant documents per entity Use *Top hits per entity* to display the most relevant documents per entity, for example, the most recent GPS tracks per flight route. To get this data, {es} first groups your data using a {ref}/search-aggregations-bucket-terms-aggregation.html[terms aggregation],