Here is a link to an article on the basis for the search engine Govly employs. http://blog.comperiosearch.com/blog/2015/06/10/how-elasticsearch-calculates-significant-terms/