Skip to content

Commit

Permalink
aggregate citation years
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Apr 20, 2021
1 parent 5b4e1b4 commit 400a970
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ def self.query_aggregations
},
min_doc_count: 1,
},
aggs: { bucket_truncate: { bucket_sort: { size: 10 } } },
},
registrants: {
terms: { field: "registrant_id", size: 10, min_doc_count: 1 },
Expand Down

0 comments on commit 400a970

Please sign in to comment.