Updates from @uboness review: int counts changed to longs, asciidoc examples changed to lowercase, base class change to SignificantTerms, code formatting, parser parses “format” field.
I’ve added a “TODO” comment for the refactoring suggestion here: https://github.com/elasticsearch/elasticsearch/pull/5146#discussion_r10500246 - as this should be considered as part of future changes