Elasticsearch significant terms aggregation: meaning of doc_count and bg_count
Very simply:
doc_count
is the number of documents in the result set with the given termbg_count
is the number of documents in the whole index with the given term
Very simply:
doc_count
is the number of documents in the result set with the given termbg_count
is the number of documents in the whole index with the given term