parent
d75aabc5aa
commit
8449128032
|
@ -36,8 +36,8 @@ only the title field is being included in the source.
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
{
|
{
|
||||||
"aggs": {
|
"aggs": {
|
||||||
"terms": {
|
"top-tags": {
|
||||||
"top-tags": {
|
"terms": {
|
||||||
"field": "tags",
|
"field": "tags",
|
||||||
"size": 3
|
"size": 3
|
||||||
},
|
},
|
||||||
|
@ -195,4 +195,4 @@ relevancy order of the most relevant document in a bucket.
|
||||||
|
|
||||||
At the moment the `max` (or `min`) aggregator is needed to make sure the buckets from the `terms` aggregator are
|
At the moment the `max` (or `min`) aggregator is needed to make sure the buckets from the `terms` aggregator are
|
||||||
ordered according to the score of the most relevant webpage per domain. The `top_hits` aggregator isn't a metric aggregator
|
ordered according to the score of the most relevant webpage per domain. The `top_hits` aggregator isn't a metric aggregator
|
||||||
and therefor can't be used in the `order` option of the `terms` aggregator.
|
and therefor can't be used in the `order` option of the `terms` aggregator.
|
||||||
|
|
Loading…
Reference in New Issue