Created
April 5, 2016 15:54
-
-
Save rsimon/f0a64fb4464de21df3bcd4fa556b5802 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"size" : 0, | |
"aggs" : { | |
"is_conflation_of" : { | |
"nested" : { | |
"path" : "is_conflation_of" | |
}, | |
"aggs" : { | |
"source_gazetteer" : { | |
"terms" : { "field" : "is_conflation_of.source_gazetteer" } | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Aggregation query that returns number of places, along with the distribution of gazetteer records over gazetteers